From 9600b97c6af4c90b0837be0c22bb3268fa0624c3 Mon Sep 17 00:00:00 2001 From: Greg Fischer Date: Tue, 9 Nov 2021 15:46:08 -0700 Subject: [PATCH] Fix test spv.1.4.OpEntryPoint.frag Cannot apply binding qualifier to push_constant --- Test/baseResults/spv.1.4.OpEntryPoint.frag.out | 2 -- Test/spv.1.4.OpEntryPoint.frag | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Test/baseResults/spv.1.4.OpEntryPoint.frag.out b/Test/baseResults/spv.1.4.OpEntryPoint.frag.out index 2c6e6dcc..e43e954e 100644 --- a/Test/baseResults/spv.1.4.OpEntryPoint.frag.out +++ b/Test/baseResults/spv.1.4.OpEntryPoint.frag.out @@ -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 diff --git a/Test/spv.1.4.OpEntryPoint.frag b/Test/spv.1.4.OpEntryPoint.frag index ef1235a4..a12b1b37 100644 --- a/Test/spv.1.4.OpEntryPoint.frag +++ b/Test/spv.1.4.OpEntryPoint.frag @@ -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;