From 3b9801fbfd1606b2db1c5c0ad60d80ce16855d29 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Tue, 24 Nov 2015 11:13:05 +1300 Subject: layers/SC: fix a bogus leftover comment in descriptor validation --- layers/shader_checker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layers/shader_checker.cpp') diff --git a/layers/shader_checker.cpp b/layers/shader_checker.cpp index ef28f76e..af26b75f 100644 --- a/layers/shader_checker.cpp +++ b/layers/shader_checker.cpp @@ -564,8 +564,8 @@ collect_interface_by_descriptor_slot(layer_data *my_data, VkDevice dev, unsigned opcode = code[word] & 0x0ffffu; unsigned oplen = (code[word] & 0xffff0000u) >> 16; - /* We consider two interface models: SSO rendezvous-by-location, and - * builtins. Complain about anything that fits neither model. + /* All variables in the Uniform or UniformConstant storage classes are required to be decorated with both + * DecorationDescriptorSet and DecorationBinding. */ if (opcode == spv::OpDecorate) { if (code[word+2] == spv::DecorationDescriptorSet) { -- cgit v1.2.3