Tests: More broadly use automapping binding/location.

This adds or changes binding/location decorations in 100s of shaders.
It also allows more output (spv.register.autoassign.rangetest.frag)
due to allowing ioMap() to fail.
This commit is contained in:
John Kessenich
2020-07-01 06:30:16 -06:00
parent b112fac003
commit f6facfa189
247 changed files with 1333 additions and 721 deletions

View File

@@ -16,7 +16,7 @@ hlsl.aliasOpaque.frag
Decorate 47(gss) DescriptorSet 0
Decorate 47(gss) Binding 0
Decorate 51(gtex) DescriptorSet 0
Decorate 51(gtex) Binding 0
Decorate 51(gtex) Binding 2
Decorate 62(@entryPointOutput) Location 0
2: TypeVoid
3: TypeFunction 2

View File

@@ -18,11 +18,11 @@ hlsl.flattenOpaque.frag
Decorate 38(tex) DescriptorSet 0
Decorate 38(tex) Binding 0
Decorate 82(s.s2D) DescriptorSet 0
Decorate 82(s.s2D) Binding 0
Decorate 82(s.s2D) Binding 1
Decorate 97(s2.s2D) DescriptorSet 0
Decorate 97(s2.s2D) Binding 0
Decorate 97(s2.s2D) Binding 2
Decorate 100(s2.tex) DescriptorSet 0
Decorate 100(s2.tex) Binding 0
Decorate 100(s2.tex) Binding 3
Decorate 120(@entryPointOutput) Location 0
2: TypeVoid
3: TypeFunction 2

View File

@@ -15,7 +15,7 @@ hlsl.flattenOpaqueInit.vert
Decorate 43(g_tInputTexture_sampler) DescriptorSet 0
Decorate 43(g_tInputTexture_sampler) Binding 0
Decorate 47(g_tInputTexture) DescriptorSet 0
Decorate 47(g_tInputTexture) Binding 0
Decorate 47(g_tInputTexture) Binding 1
Decorate 80(@entryPointOutput) Location 0
2: TypeVoid
3: TypeFunction 2

View File

@@ -15,7 +15,7 @@ hlsl.flattenOpaqueInitMix.vert
Decorate 44(g_tInputTexture_sampler) DescriptorSet 0
Decorate 44(g_tInputTexture_sampler) Binding 0
Decorate 47(g_tInputTexture) DescriptorSet 0
Decorate 47(g_tInputTexture) Binding 0
Decorate 47(g_tInputTexture) Binding 1
Decorate 57(@entryPointOutput) Location 0
2: TypeVoid
3: TypeFunction 2

View File

@@ -17,7 +17,7 @@ hlsl.flattenSubset.frag
Decorate 21(samp) DescriptorSet 0
Decorate 21(samp) Binding 0
Decorate 33(tex) DescriptorSet 0
Decorate 33(tex) Binding 0
Decorate 33(tex) Binding 1
Decorate 47(vpos) Location 0
Decorate 50(@entryPointOutput) Location 0
2: TypeVoid