aboutsummaryrefslogtreecommitdiff
path: root/layers/shader_checker.cpp
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2015-11-24 11:13:05 +1300
committerMark Lobodzinski <mark@lunarg.com>2015-11-26 13:56:19 -0700
commit3b9801fbfd1606b2db1c5c0ad60d80ce16855d29 (patch)
tree146faf4cc6e29403953d00ae64aa7cae2f83081f /layers/shader_checker.cpp
parent5c19f430b47d73f2cccf24c9c9d6b6de1ef6fcaa (diff)
downloadusermoji-3b9801fbfd1606b2db1c5c0ad60d80ce16855d29.tar.xz
layers/SC: fix a bogus leftover comment in descriptor validation
Diffstat (limited to 'layers/shader_checker.cpp')
-rw-r--r--layers/shader_checker.cpp4
1 files changed, 2 insertions, 2 deletions
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) {