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:
Jeff Bolz
2018-12-11 20:53:59 -06:00
parent 00054da5e6
commit 0a93cfbb79
234 changed files with 1259 additions and 15 deletions

View File

@@ -190,17 +190,24 @@ Validation failed
Decorate 9 BufferBlock
Decorate 12 BufferBlock
Decorate 49(sbuf_a) DescriptorSet 0
Decorate 49(sbuf_a) Binding 0
Decorate 50(sbuf_a@count) DescriptorSet 0
Decorate 50(sbuf_a@count) Binding 0
Decorate 51(sbuf_c) DescriptorSet 0
Decorate 51(sbuf_c) Binding 0
Decorate 52(sbuf_c@count) DescriptorSet 0
Decorate 52(sbuf_c@count) Binding 0
Decorate 58(pos) Flat
Decorate 58(pos) Location 0
Decorate 61(@entryPointOutput) Location 0
MemberDecorate 65(sbuf_a@count) 0 Offset 0
Decorate 65(sbuf_a@count) BufferBlock
Decorate 67(sbuf_a@count) DescriptorSet 0
Decorate 67(sbuf_a@count) Binding 0
Decorate 68(sbuf_c@count) DescriptorSet 0
Decorate 68(sbuf_c@count) Binding 0
Decorate 69(sbuf_unused) DescriptorSet 0
Decorate 69(sbuf_unused) Binding 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32