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

@@ -44,6 +44,8 @@ WARNING: 0:4: '' : all default precisions are highp; use precision statements to
Name 97 "samp2D"
Name 101 "coord"
Name 213 "color"
Decorate 16(u) Location 1
Decorate 41(w) Location 2
MemberDecorate 55(s1) 0 Offset 0
MemberDecorate 55(s1) 1 Offset 4
MemberDecorate 56(s2) 0 Offset 0
@@ -52,7 +54,7 @@ WARNING: 0:4: '' : all default precisions are highp; use precision statements to
MemberDecorate 57(ub1) 0 Offset 0
Decorate 57(ub1) Block
Decorate 59(uName1) DescriptorSet 0
Decorate 59(uName1) Binding 0
Decorate 59(uName1) Binding 1
MemberDecorate 64(s1) 0 Offset 0
MemberDecorate 64(s1) 1 Offset 4
MemberDecorate 65(s2) 0 Offset 0
@@ -61,14 +63,16 @@ WARNING: 0:4: '' : all default precisions are highp; use precision statements to
MemberDecorate 66(ub2) 0 Offset 0
Decorate 66(ub2) BufferBlock
Decorate 68(uName2) DescriptorSet 0
Decorate 68(uName2) Binding 0
Decorate 68(uName2) Binding 2
Decorate 97(samp2D) DescriptorSet 0
Decorate 97(samp2D) Binding 0
Decorate 101(coord) RelaxedPrecision
Decorate 101(coord) Location 0
Decorate 102 RelaxedPrecision
Decorate 107 RelaxedPrecision
Decorate 108 RelaxedPrecision
Decorate 129 RelaxedPrecision
Decorate 213(color) Location 0
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1