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

@@ -45,26 +45,44 @@ Validation failed
Name 281 "us2DArray"
Name 283 "ic4D"
Decorate 13(s2D) DescriptorSet 0
Decorate 13(s2D) Binding 0
Decorate 23(sCubeArrayShadow) DescriptorSet 0
Decorate 23(sCubeArrayShadow) Binding 0
Decorate 42(s3D) DescriptorSet 0
Decorate 42(s3D) Binding 0
Decorate 51(s2DArray) DescriptorSet 0
Decorate 51(s2DArray) Binding 0
Decorate 64(s2DShadow) DescriptorSet 0
Decorate 64(s2DShadow) Binding 0
Decorate 81(ic3D) Flat
Decorate 84(ic1D) Flat
Decorate 92(ic2D) Flat
Decorate 102(sr) DescriptorSet 0
Decorate 102(sr) Binding 0
Decorate 128(sCube) DescriptorSet 0
Decorate 128(sCube) Binding 0
Decorate 139(s2DArrayShadow) DescriptorSet 0
Decorate 139(s2DArrayShadow) Binding 0
Decorate 171(is2D) DescriptorSet 0
Decorate 171(is2D) Binding 0
Decorate 208(is3D) DescriptorSet 0
Decorate 208(is3D) Binding 0
Decorate 220(isCube) DescriptorSet 0
Decorate 220(isCube) Binding 0
Decorate 232(is2DArray) DescriptorSet 0
Decorate 232(is2DArray) Binding 0
Decorate 247(sCubeShadow) DescriptorSet 0
Decorate 247(sCubeShadow) Binding 0
Decorate 265(is2Dms) DescriptorSet 0
Decorate 265(is2Dms) Binding 0
Decorate 269(us2D) DescriptorSet 0
Decorate 269(us2D) Binding 0
Decorate 273(us3D) DescriptorSet 0
Decorate 273(us3D) Binding 0
Decorate 277(usCube) DescriptorSet 0
Decorate 277(usCube) Binding 0
Decorate 281(us2DArray) DescriptorSet 0
Decorate 281(us2DArray) Binding 0
Decorate 283(ic4D) Flat
2: TypeVoid
3: TypeFunction 2