blob: c9fcc6f4c9c06f8fdd3b2cbc5ea37aa1955b7a0e [file] [log] [blame]
John Kessenich41aa1992017-10-11 14:03:45 -06001hlsl.partialFlattenMixed.vert
2WARNING: AST will form illegal SPIR-V; need to transform to legalize
3Shader version: 500
40:? Sequence
50:10 Function Definition: @main(vf4; ( temp 4-component vector of float)
60:10 Function Parameters:
70:10 'pos' ( in 4-component vector of float)
80:? Sequence
90:13 Sequence
100:13 move second child to first child ( temp texture2D)
110:13 direct index ( temp texture2D)
John Kessenichdc005fb2017-11-16 16:03:18 -0700120:13 membTex: direct index for structure ( temp 2-element array of texture2D)
130:13 'packed' ( temp structure{ temp int a, temp 2-element array of texture2D membTex, temp int b})
140:13 Constant:
150:13 1 (const int)
John Kessenich41aa1992017-10-11 14:03:45 -0600160:13 Constant:
170:13 0 (const int)
180:? 'tex[0]' ( uniform texture2D)
190:13 move second child to first child ( temp texture2D)
200:13 direct index ( temp texture2D)
John Kessenichdc005fb2017-11-16 16:03:18 -0700210:13 membTex: direct index for structure ( temp 2-element array of texture2D)
220:13 'packed' ( temp structure{ temp int a, temp 2-element array of texture2D membTex, temp int b})
230:13 Constant:
240:13 1 (const int)
John Kessenich41aa1992017-10-11 14:03:45 -0600250:13 Constant:
260:13 1 (const int)
270:? 'tex[1]' ( uniform texture2D)
280:15 Branch: Return with expression
290:15 'pos' ( in 4-component vector of float)
300:10 Function Definition: main( ( temp void)
310:10 Function Parameters:
320:? Sequence
330:10 move second child to first child ( temp 4-component vector of float)
340:? 'pos' ( temp 4-component vector of float)
350:? 'pos' (layout( location=0) in 4-component vector of float)
360:10 move second child to first child ( temp 4-component vector of float)
370:? '@entryPointOutput' ( out 4-component vector of float Position)
380:10 Function Call: @main(vf4; ( temp 4-component vector of float)
390:? 'pos' ( temp 4-component vector of float)
400:? Linker Objects
410:? 'tex[0]' ( uniform texture2D)
420:? 'tex[1]' ( uniform texture2D)
430:? '@entryPointOutput' ( out 4-component vector of float Position)
440:? 'pos' (layout( location=0) in 4-component vector of float)
45
46
47Linked vertex stage:
48
49
50Shader version: 500
510:? Sequence
520:10 Function Definition: @main(vf4; ( temp 4-component vector of float)
530:10 Function Parameters:
540:10 'pos' ( in 4-component vector of float)
550:? Sequence
560:13 Sequence
570:13 move second child to first child ( temp texture2D)
580:13 direct index ( temp texture2D)
John Kessenichdc005fb2017-11-16 16:03:18 -0700590:13 membTex: direct index for structure ( temp 2-element array of texture2D)
600:13 'packed' ( temp structure{ temp int a, temp 2-element array of texture2D membTex, temp int b})
610:13 Constant:
620:13 1 (const int)
John Kessenich41aa1992017-10-11 14:03:45 -0600630:13 Constant:
640:13 0 (const int)
650:? 'tex[0]' ( uniform texture2D)
660:13 move second child to first child ( temp texture2D)
670:13 direct index ( temp texture2D)
John Kessenichdc005fb2017-11-16 16:03:18 -0700680:13 membTex: direct index for structure ( temp 2-element array of texture2D)
690:13 'packed' ( temp structure{ temp int a, temp 2-element array of texture2D membTex, temp int b})
700:13 Constant:
710:13 1 (const int)
John Kessenich41aa1992017-10-11 14:03:45 -0600720:13 Constant:
730:13 1 (const int)
740:? 'tex[1]' ( uniform texture2D)
750:15 Branch: Return with expression
760:15 'pos' ( in 4-component vector of float)
770:10 Function Definition: main( ( temp void)
780:10 Function Parameters:
790:? Sequence
800:10 move second child to first child ( temp 4-component vector of float)
810:? 'pos' ( temp 4-component vector of float)
820:? 'pos' (layout( location=0) in 4-component vector of float)
830:10 move second child to first child ( temp 4-component vector of float)
840:? '@entryPointOutput' ( out 4-component vector of float Position)
850:10 Function Call: @main(vf4; ( temp 4-component vector of float)
860:? 'pos' ( temp 4-component vector of float)
870:? Linker Objects
880:? 'tex[0]' ( uniform texture2D)
890:? 'tex[1]' ( uniform texture2D)
900:? '@entryPointOutput' ( out 4-component vector of float Position)
910:? 'pos' (layout( location=0) in 4-component vector of float)
92
John Kessenich2b5ea9f2018-01-31 18:35:56 -070093// Module Version 10000
Graeme Leese182ab462020-06-22 11:49:38 +010094// Generated by (magic number): 8000a
John Kessenichdc005fb2017-11-16 16:03:18 -070095// Id's are bound by 43
John Kessenich41aa1992017-10-11 14:03:45 -060096
97 Capability Shader
98 1: ExtInstImport "GLSL.std.450"
99 MemoryModel Logical GLSL450
John Kessenichdc005fb2017-11-16 16:03:18 -0700100 EntryPoint Vertex 4 "main" 36 39
John Kessenich41aa1992017-10-11 14:03:45 -0600101 Source HLSL 500
102 Name 4 "main"
103 Name 11 "@main(vf4;"
104 Name 10 "pos"
John Kessenichdc005fb2017-11-16 16:03:18 -0700105 Name 18 "Packed"
106 MemberName 18(Packed) 0 "a"
107 MemberName 18(Packed) 1 "membTex"
108 MemberName 18(Packed) 2 "b"
109 Name 20 "packed"
110 Name 24 "tex[0]"
111 Name 28 "tex[1]"
112 Name 34 "pos"
113 Name 36 "pos"
114 Name 39 "@entryPointOutput"
115 Name 40 "param"
116 Decorate 24(tex[0]) DescriptorSet 0
Jeff Bolz0a93cfb2018-12-11 20:53:59 -0600117 Decorate 24(tex[0]) Binding 0
John Kessenichdc005fb2017-11-16 16:03:18 -0700118 Decorate 28(tex[1]) DescriptorSet 0
John Kessenichf6facfa2020-07-01 06:30:16 -0600119 Decorate 28(tex[1]) Binding 1
John Kessenichdc005fb2017-11-16 16:03:18 -0700120 Decorate 36(pos) Location 0
121 Decorate 39(@entryPointOutput) BuiltIn Position
John Kessenich41aa1992017-10-11 14:03:45 -0600122 2: TypeVoid
123 3: TypeFunction 2
124 6: TypeFloat 32
125 7: TypeVector 6(float) 4
126 8: TypePointer Function 7(fvec4)
127 9: TypeFunction 7(fvec4) 8(ptr)
John Kessenichdc005fb2017-11-16 16:03:18 -0700128 13: TypeInt 32 1
129 14: TypeImage 6(float) 2D sampled format:Unknown
130 15: TypeInt 32 0
131 16: 15(int) Constant 2
132 17: TypeArray 14 16
133 18(Packed): TypeStruct 13(int) 17 13(int)
134 19: TypePointer Function 18(Packed)
135 21: 13(int) Constant 1
136 22: 13(int) Constant 0
137 23: TypePointer UniformConstant 14
138 24(tex[0]): 23(ptr) Variable UniformConstant
139 26: TypePointer Function 14
140 28(tex[1]): 23(ptr) Variable UniformConstant
141 35: TypePointer Input 7(fvec4)
142 36(pos): 35(ptr) Variable Input
143 38: TypePointer Output 7(fvec4)
14439(@entryPointOutput): 38(ptr) Variable Output
John Kessenich41aa1992017-10-11 14:03:45 -0600145 4(main): 2 Function None 3
146 5: Label
John Kessenichdc005fb2017-11-16 16:03:18 -0700147 34(pos): 8(ptr) Variable Function
148 40(param): 8(ptr) Variable Function
149 37: 7(fvec4) Load 36(pos)
150 Store 34(pos) 37
151 41: 7(fvec4) Load 34(pos)
152 Store 40(param) 41
153 42: 7(fvec4) FunctionCall 11(@main(vf4;) 40(param)
154 Store 39(@entryPointOutput) 42
John Kessenich41aa1992017-10-11 14:03:45 -0600155 Return
156 FunctionEnd
157 11(@main(vf4;): 7(fvec4) Function None 9
158 10(pos): 8(ptr) FunctionParameter
159 12: Label
John Kessenichdc005fb2017-11-16 16:03:18 -0700160 20(packed): 19(ptr) Variable Function
161 25: 14 Load 24(tex[0])
162 27: 26(ptr) AccessChain 20(packed) 21 22
163 Store 27 25
164 29: 14 Load 28(tex[1])
165 30: 26(ptr) AccessChain 20(packed) 21 21
166 Store 30 29
167 31: 7(fvec4) Load 10(pos)
168 ReturnValue 31
John Kessenich41aa1992017-10-11 14:03:45 -0600169 FunctionEnd