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

@@ -42,25 +42,45 @@ Validation failed
Name 219 "sampBuf"
Name 223 "sampRect"
Decorate 13(samp1D) DescriptorSet 0
Decorate 13(samp1D) Binding 0
Decorate 23(isamp2D) DescriptorSet 0
Decorate 23(isamp2D) Binding 0
Decorate 34(usamp3D) DescriptorSet 0
Decorate 34(usamp3D) Binding 0
Decorate 46(sampCube) DescriptorSet 0
Decorate 46(sampCube) Binding 0
Decorate 55(isamp1DA) DescriptorSet 0
Decorate 55(isamp1DA) Binding 0
Decorate 64(usamp2DA) DescriptorSet 0
Decorate 64(usamp2DA) Binding 0
Decorate 73(isampCubeA) DescriptorSet 0
Decorate 73(isampCubeA) Binding 0
Decorate 82(samp1Ds) DescriptorSet 0
Decorate 82(samp1Ds) Binding 0
Decorate 91(samp2Ds) DescriptorSet 0
Decorate 91(samp2Ds) Binding 0
Decorate 100(sampCubes) DescriptorSet 0
Decorate 100(sampCubes) Binding 0
Decorate 109(samp1DAs) DescriptorSet 0
Decorate 109(samp1DAs) Binding 0
Decorate 118(samp2DAs) DescriptorSet 0
Decorate 118(samp2DAs) Binding 0
Decorate 127(sampCubeAs) DescriptorSet 0
Decorate 127(sampCubeAs) Binding 0
Decorate 141(usamp2D) DescriptorSet 0
Decorate 141(usamp2D) Binding 0
Decorate 150(isamp3D) DescriptorSet 0
Decorate 150(isamp3D) Binding 0
Decorate 159(isampCube) DescriptorSet 0
Decorate 159(isampCube) Binding 0
Decorate 173(samp2DA) DescriptorSet 0
Decorate 173(samp2DA) Binding 0
Decorate 182(usampCubeA) DescriptorSet 0
Decorate 182(usampCubeA) Binding 0
Decorate 219(sampBuf) DescriptorSet 0
Decorate 219(sampBuf) Binding 0
Decorate 223(sampRect) DescriptorSet 0
Decorate 223(sampRect) Binding 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32