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:
@@ -52,6 +52,7 @@ WARNING: 0:4: '' : all default precisions are highp; use precision statements to
|
||||
MemberDecorate 57(ub1) 0 Offset 0
|
||||
Decorate 57(ub1) Block
|
||||
Decorate 59(uName1) DescriptorSet 0
|
||||
Decorate 59(uName1) Binding 0
|
||||
MemberDecorate 64(s1) 0 Offset 0
|
||||
MemberDecorate 64(s1) 1 Offset 4
|
||||
MemberDecorate 65(s2) 0 Offset 0
|
||||
@@ -60,7 +61,9 @@ WARNING: 0:4: '' : all default precisions are highp; use precision statements to
|
||||
MemberDecorate 66(ub2) 0 Offset 0
|
||||
Decorate 66(ub2) BufferBlock
|
||||
Decorate 68(uName2) DescriptorSet 0
|
||||
Decorate 68(uName2) Binding 0
|
||||
Decorate 97(samp2D) DescriptorSet 0
|
||||
Decorate 97(samp2D) Binding 0
|
||||
Decorate 101(coord) RelaxedPrecision
|
||||
Decorate 102 RelaxedPrecision
|
||||
Decorate 107 RelaxedPrecision
|
||||
|
||||
Reference in New Issue
Block a user