Fix test spv.1.4.OpEntryPoint.frag
authorGreg Fischer <greg@lunarg.com>
Tue, 9 Nov 2021 22:46:08 +0000 (15:46 -0700)
committerGreg Fischer <greg@lunarg.com>
Tue, 9 Nov 2021 22:46:08 +0000 (15:46 -0700)
Cannot apply binding qualifier to push_constant

Test/baseResults/spv.1.4.OpEntryPoint.frag.out
Test/spv.1.4.OpEntryPoint.frag

index 2c6e6dc..e43e954 100644 (file)
@@ -1,5 +1,4 @@
 spv.1.4.OpEntryPoint.frag
-Validation failed
 // Module Version 10400
 // Generated by (magic number): 8000a
 // Id's are bound by 64
@@ -32,7 +31,6 @@ Validation failed
                               Decorate 25(uniformv) Binding 0
                               MemberDecorate 31(pushB) 0 Offset 0
                               Decorate 31(pushB) Block
-                              Decorate 33(pushv) Binding 2
                               MemberDecorate 39(bbt) 0 Offset 0
                               Decorate 39(bbt) Block
                               Decorate 41(bufferv) DescriptorSet 0
index ef1235a..a12b1b3 100644 (file)
@@ -13,7 +13,7 @@ layout(binding = 1) buffer bbt {
     float f;
 } bufferv;
 
-layout(binding = 2, push_constant) uniform pushB {
+layout(push_constant) uniform pushB {
     int a;
 } pushv;