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:
@@ -153,15 +153,20 @@ gl_FragCoord origin is upper left
|
||||
MemberDecorate 15(sbuf_a) 0 Offset 0
|
||||
Decorate 15(sbuf_a) BufferBlock
|
||||
Decorate 17(sbuf_a) DescriptorSet 0
|
||||
Decorate 17(sbuf_a) Binding 0
|
||||
MemberDecorate 20(sbuf_a@count) 0 Offset 0
|
||||
Decorate 20(sbuf_a@count) BufferBlock
|
||||
Decorate 22(sbuf_a@count) DescriptorSet 0
|
||||
Decorate 22(sbuf_a@count) Binding 0
|
||||
Decorate 35(sbuf_c) DescriptorSet 0
|
||||
Decorate 35(sbuf_c) Binding 0
|
||||
Decorate 36(sbuf_c@count) DescriptorSet 0
|
||||
Decorate 36(sbuf_c@count) Binding 0
|
||||
Decorate 48(pos) Flat
|
||||
Decorate 48(pos) Location 0
|
||||
Decorate 51(@entryPointOutput) Location 0
|
||||
Decorate 55(sbuf_unused) DescriptorSet 0
|
||||
Decorate 55(sbuf_unused) Binding 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 32 0
|
||||
|
||||
Reference in New Issue
Block a user