Update to newest SPIRV-Tools. It checks the Vulkan rule that all resources must have a set and binding decoration, which many tests fail. So add code to set a default value of zero. Also disable PCH for Ninja builds.
This commit is contained in:
@@ -33,12 +33,17 @@ hlsl.structbuffer.incdec.frag
|
||||
MemberDecorate 20(sbuf_rw_i) 0 Offset 0
|
||||
Decorate 20(sbuf_rw_i) BufferBlock
|
||||
Decorate 22(sbuf_rw_i) DescriptorSet 0
|
||||
Decorate 22(sbuf_rw_i) Binding 0
|
||||
Decorate 26(sbuf_rw_d) DescriptorSet 0
|
||||
Decorate 26(sbuf_rw_d) Binding 0
|
||||
Decorate 27(sbuf_rw_nocounter) DescriptorSet 0
|
||||
Decorate 27(sbuf_rw_nocounter) Binding 0
|
||||
MemberDecorate 34(sbuf_rw_i@count) 0 Offset 0
|
||||
Decorate 34(sbuf_rw_i@count) BufferBlock
|
||||
Decorate 36(sbuf_rw_i@count) DescriptorSet 0
|
||||
Decorate 36(sbuf_rw_i@count) Binding 0
|
||||
Decorate 42(sbuf_rw_d@count) DescriptorSet 0
|
||||
Decorate 42(sbuf_rw_d@count) Binding 0
|
||||
Decorate 63(pos) Flat
|
||||
Decorate 63(pos) Location 0
|
||||
DecorateStringGOOGLE 63(pos) DecorationHlslSemanticGOOGLE "FOO"
|
||||
|
||||
Reference in New Issue
Block a user