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

@@ -59,24 +59,38 @@ Validation failed
Name 203 "s1D"
Name 204 "s2DS"
Decorate 21(samp2D) DescriptorSet 0
Decorate 21(samp2D) Binding 0
Decorate 37(samp2DA) DescriptorSet 0
Decorate 37(samp2DA) Binding 0
Decorate 47(samp2DR) DescriptorSet 0
Decorate 47(samp2DR) Binding 0
Decorate 55(samp2DS) DescriptorSet 0
Decorate 55(samp2DS) Binding 0
Decorate 72(Sca) DescriptorSet 0
Decorate 72(Sca) Binding 0
Decorate 87(Isca) DescriptorSet 0
Decorate 87(Isca) Binding 0
Decorate 103(Usca) DescriptorSet 0
Decorate 103(Usca) Binding 0
Decorate 118(Scas) DescriptorSet 0
Decorate 118(Scas) Binding 0
Decorate 167(sampC) DescriptorSet 0
Decorate 167(sampC) Binding 0
Decorate 173(gl_ClipDistance) BuiltIn ClipDistance
Decorate 184(fflat) Flat
Decorate 186(fnop) NoPerspective
Decorate 193(bounds) DescriptorSet 0
Decorate 193(bounds) Binding 0
Decorate 194(s2D) DescriptorSet 0
Decorate 194(s2D) Binding 0
Decorate 195(s2DR) DescriptorSet 0
Decorate 195(s2DR) Binding 0
Decorate 199(s2DRS) DescriptorSet 0
Decorate 199(s2DRS) Binding 0
Decorate 203(s1D) DescriptorSet 0
Decorate 203(s1D) Binding 0
Decorate 204(s2DS) DescriptorSet 0
Decorate 204(s2DS) Binding 0
2: TypeVoid
3: TypeFunction 2
14: TypeFloat 32