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

@@ -824,6 +824,7 @@ using depth_any
Name 261 "g_tTex3di4"
Name 264 "g_tTex3du4"
Decorate 16(g_tTex2df4) DescriptorSet 0
Decorate 16(g_tTex2df4) Binding 0
Decorate 20(g_sSamp) DescriptorSet 0
Decorate 20(g_sSamp) Binding 0
MemberDecorate 26($Global) 0 Offset 0
@@ -832,23 +833,35 @@ using depth_any
MemberDecorate 26($Global) 3 Offset 32
Decorate 26($Global) Block
Decorate 28 DescriptorSet 0
Decorate 28 Binding 0
Decorate 41(g_tTex2di4) DescriptorSet 0
Decorate 41(g_tTex2di4) Binding 0
Decorate 55(g_tTex2du4) DescriptorSet 0
Decorate 55(g_tTex2du4) Binding 0
Decorate 131(g_tTexcdf4) DescriptorSet 0
Decorate 131(g_tTexcdf4) Binding 0
Decorate 143(g_tTexcdi4) DescriptorSet 0
Decorate 143(g_tTexcdi4) Binding 0
Decorate 154(g_tTexcdu4) DescriptorSet 0
Decorate 154(g_tTexcdu4) Binding 0
Decorate 238(@entryPointOutput.Color) Location 0
Decorate 242(@entryPointOutput.Depth) BuiltIn FragDepth
Decorate 245(g_sSamp2d) DescriptorSet 0
Decorate 245(g_sSamp2d) Binding 0
Decorate 248(g_tTex1df4a) DescriptorSet 0
Decorate 248(g_tTex1df4a) Binding 1
Decorate 249(g_tTex1df4) DescriptorSet 0
Decorate 249(g_tTex1df4) Binding 0
Decorate 252(g_tTex1di4) DescriptorSet 0
Decorate 252(g_tTex1di4) Binding 0
Decorate 255(g_tTex1du4) DescriptorSet 0
Decorate 255(g_tTex1du4) Binding 0
Decorate 258(g_tTex3df4) DescriptorSet 0
Decorate 258(g_tTex3df4) Binding 0
Decorate 261(g_tTex3di4) DescriptorSet 0
Decorate 261(g_tTex3di4) Binding 0
Decorate 264(g_tTex3du4) DescriptorSet 0
Decorate 264(g_tTex3du4) Binding 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32