1617a3babSopenharmony_cihlsl.partialFlattenMixed.vert
2617a3babSopenharmony_ciWARNING: AST will form illegal SPIR-V; need to transform to legalize
3617a3babSopenharmony_ciShader version: 500
4617a3babSopenharmony_ci0:? Sequence
5617a3babSopenharmony_ci0:10  Function Definition: @main(vf4; ( temp 4-component vector of float)
6617a3babSopenharmony_ci0:10    Function Parameters: 
7617a3babSopenharmony_ci0:10      'pos' ( in 4-component vector of float)
8617a3babSopenharmony_ci0:?     Sequence
9617a3babSopenharmony_ci0:13      Sequence
10617a3babSopenharmony_ci0:13        move second child to first child ( temp texture2D)
11617a3babSopenharmony_ci0:13          direct index ( temp texture2D)
12617a3babSopenharmony_ci0:13            membTex: direct index for structure ( temp 2-element array of texture2D)
13617a3babSopenharmony_ci0:13              'packed' ( temp structure{ temp int a,  temp 2-element array of texture2D membTex,  temp int b})
14617a3babSopenharmony_ci0:13              Constant:
15617a3babSopenharmony_ci0:13                1 (const int)
16617a3babSopenharmony_ci0:13            Constant:
17617a3babSopenharmony_ci0:13              0 (const int)
18617a3babSopenharmony_ci0:?           'tex[0]' ( uniform texture2D)
19617a3babSopenharmony_ci0:13        move second child to first child ( temp texture2D)
20617a3babSopenharmony_ci0:13          direct index ( temp texture2D)
21617a3babSopenharmony_ci0:13            membTex: direct index for structure ( temp 2-element array of texture2D)
22617a3babSopenharmony_ci0:13              'packed' ( temp structure{ temp int a,  temp 2-element array of texture2D membTex,  temp int b})
23617a3babSopenharmony_ci0:13              Constant:
24617a3babSopenharmony_ci0:13                1 (const int)
25617a3babSopenharmony_ci0:13            Constant:
26617a3babSopenharmony_ci0:13              1 (const int)
27617a3babSopenharmony_ci0:?           'tex[1]' ( uniform texture2D)
28617a3babSopenharmony_ci0:15      Branch: Return with expression
29617a3babSopenharmony_ci0:15        'pos' ( in 4-component vector of float)
30617a3babSopenharmony_ci0:10  Function Definition: main( ( temp void)
31617a3babSopenharmony_ci0:10    Function Parameters: 
32617a3babSopenharmony_ci0:?     Sequence
33617a3babSopenharmony_ci0:10      move second child to first child ( temp 4-component vector of float)
34617a3babSopenharmony_ci0:?         'pos' ( temp 4-component vector of float)
35617a3babSopenharmony_ci0:?         'pos' (layout( location=0) in 4-component vector of float)
36617a3babSopenharmony_ci0:10      move second child to first child ( temp 4-component vector of float)
37617a3babSopenharmony_ci0:?         '@entryPointOutput' ( out 4-component vector of float Position)
38617a3babSopenharmony_ci0:10        Function Call: @main(vf4; ( temp 4-component vector of float)
39617a3babSopenharmony_ci0:?           'pos' ( temp 4-component vector of float)
40617a3babSopenharmony_ci0:?   Linker Objects
41617a3babSopenharmony_ci0:?     'tex[0]' ( uniform texture2D)
42617a3babSopenharmony_ci0:?     'tex[1]' ( uniform texture2D)
43617a3babSopenharmony_ci0:?     '@entryPointOutput' ( out 4-component vector of float Position)
44617a3babSopenharmony_ci0:?     'pos' (layout( location=0) in 4-component vector of float)
45617a3babSopenharmony_ci
46617a3babSopenharmony_ci
47617a3babSopenharmony_ciLinked vertex stage:
48617a3babSopenharmony_ci
49617a3babSopenharmony_ci
50617a3babSopenharmony_ciShader version: 500
51617a3babSopenharmony_ci0:? Sequence
52617a3babSopenharmony_ci0:10  Function Definition: @main(vf4; ( temp 4-component vector of float)
53617a3babSopenharmony_ci0:10    Function Parameters: 
54617a3babSopenharmony_ci0:10      'pos' ( in 4-component vector of float)
55617a3babSopenharmony_ci0:?     Sequence
56617a3babSopenharmony_ci0:13      Sequence
57617a3babSopenharmony_ci0:13        move second child to first child ( temp texture2D)
58617a3babSopenharmony_ci0:13          direct index ( temp texture2D)
59617a3babSopenharmony_ci0:13            membTex: direct index for structure ( temp 2-element array of texture2D)
60617a3babSopenharmony_ci0:13              'packed' ( temp structure{ temp int a,  temp 2-element array of texture2D membTex,  temp int b})
61617a3babSopenharmony_ci0:13              Constant:
62617a3babSopenharmony_ci0:13                1 (const int)
63617a3babSopenharmony_ci0:13            Constant:
64617a3babSopenharmony_ci0:13              0 (const int)
65617a3babSopenharmony_ci0:?           'tex[0]' ( uniform texture2D)
66617a3babSopenharmony_ci0:13        move second child to first child ( temp texture2D)
67617a3babSopenharmony_ci0:13          direct index ( temp texture2D)
68617a3babSopenharmony_ci0:13            membTex: direct index for structure ( temp 2-element array of texture2D)
69617a3babSopenharmony_ci0:13              'packed' ( temp structure{ temp int a,  temp 2-element array of texture2D membTex,  temp int b})
70617a3babSopenharmony_ci0:13              Constant:
71617a3babSopenharmony_ci0:13                1 (const int)
72617a3babSopenharmony_ci0:13            Constant:
73617a3babSopenharmony_ci0:13              1 (const int)
74617a3babSopenharmony_ci0:?           'tex[1]' ( uniform texture2D)
75617a3babSopenharmony_ci0:15      Branch: Return with expression
76617a3babSopenharmony_ci0:15        'pos' ( in 4-component vector of float)
77617a3babSopenharmony_ci0:10  Function Definition: main( ( temp void)
78617a3babSopenharmony_ci0:10    Function Parameters: 
79617a3babSopenharmony_ci0:?     Sequence
80617a3babSopenharmony_ci0:10      move second child to first child ( temp 4-component vector of float)
81617a3babSopenharmony_ci0:?         'pos' ( temp 4-component vector of float)
82617a3babSopenharmony_ci0:?         'pos' (layout( location=0) in 4-component vector of float)
83617a3babSopenharmony_ci0:10      move second child to first child ( temp 4-component vector of float)
84617a3babSopenharmony_ci0:?         '@entryPointOutput' ( out 4-component vector of float Position)
85617a3babSopenharmony_ci0:10        Function Call: @main(vf4; ( temp 4-component vector of float)
86617a3babSopenharmony_ci0:?           'pos' ( temp 4-component vector of float)
87617a3babSopenharmony_ci0:?   Linker Objects
88617a3babSopenharmony_ci0:?     'tex[0]' ( uniform texture2D)
89617a3babSopenharmony_ci0:?     'tex[1]' ( uniform texture2D)
90617a3babSopenharmony_ci0:?     '@entryPointOutput' ( out 4-component vector of float Position)
91617a3babSopenharmony_ci0:?     'pos' (layout( location=0) in 4-component vector of float)
92617a3babSopenharmony_ci
93617a3babSopenharmony_ci// Module Version 10000
94617a3babSopenharmony_ci// Generated by (magic number): 8000b
95617a3babSopenharmony_ci// Id's are bound by 43
96617a3babSopenharmony_ci
97617a3babSopenharmony_ci                              Capability Shader
98617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
99617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
100617a3babSopenharmony_ci                              EntryPoint Vertex 4  "main" 36 39
101617a3babSopenharmony_ci                              Source HLSL 500
102617a3babSopenharmony_ci                              Name 4  "main"
103617a3babSopenharmony_ci                              Name 11  "@main(vf4;"
104617a3babSopenharmony_ci                              Name 10  "pos"
105617a3babSopenharmony_ci                              Name 18  "Packed"
106617a3babSopenharmony_ci                              MemberName 18(Packed) 0  "a"
107617a3babSopenharmony_ci                              MemberName 18(Packed) 1  "membTex"
108617a3babSopenharmony_ci                              MemberName 18(Packed) 2  "b"
109617a3babSopenharmony_ci                              Name 20  "packed"
110617a3babSopenharmony_ci                              Name 24  "tex[0]"
111617a3babSopenharmony_ci                              Name 28  "tex[1]"
112617a3babSopenharmony_ci                              Name 34  "pos"
113617a3babSopenharmony_ci                              Name 36  "pos"
114617a3babSopenharmony_ci                              Name 39  "@entryPointOutput"
115617a3babSopenharmony_ci                              Name 40  "param"
116617a3babSopenharmony_ci                              Decorate 24(tex[0]) DescriptorSet 0
117617a3babSopenharmony_ci                              Decorate 24(tex[0]) Binding 0
118617a3babSopenharmony_ci                              Decorate 28(tex[1]) DescriptorSet 0
119617a3babSopenharmony_ci                              Decorate 28(tex[1]) Binding 1
120617a3babSopenharmony_ci                              Decorate 36(pos) Location 0
121617a3babSopenharmony_ci                              Decorate 39(@entryPointOutput) BuiltIn Position
122617a3babSopenharmony_ci               2:             TypeVoid
123617a3babSopenharmony_ci               3:             TypeFunction 2
124617a3babSopenharmony_ci               6:             TypeFloat 32
125617a3babSopenharmony_ci               7:             TypeVector 6(float) 4
126617a3babSopenharmony_ci               8:             TypePointer Function 7(fvec4)
127617a3babSopenharmony_ci               9:             TypeFunction 7(fvec4) 8(ptr)
128617a3babSopenharmony_ci              13:             TypeInt 32 1
129617a3babSopenharmony_ci              14:             TypeImage 6(float) 2D sampled format:Unknown
130617a3babSopenharmony_ci              15:             TypeInt 32 0
131617a3babSopenharmony_ci              16:     15(int) Constant 2
132617a3babSopenharmony_ci              17:             TypeArray 14 16
133617a3babSopenharmony_ci      18(Packed):             TypeStruct 13(int) 17 13(int)
134617a3babSopenharmony_ci              19:             TypePointer Function 18(Packed)
135617a3babSopenharmony_ci              21:     13(int) Constant 1
136617a3babSopenharmony_ci              22:     13(int) Constant 0
137617a3babSopenharmony_ci              23:             TypePointer UniformConstant 14
138617a3babSopenharmony_ci      24(tex[0]):     23(ptr) Variable UniformConstant
139617a3babSopenharmony_ci              26:             TypePointer Function 14
140617a3babSopenharmony_ci      28(tex[1]):     23(ptr) Variable UniformConstant
141617a3babSopenharmony_ci              35:             TypePointer Input 7(fvec4)
142617a3babSopenharmony_ci         36(pos):     35(ptr) Variable Input
143617a3babSopenharmony_ci              38:             TypePointer Output 7(fvec4)
144617a3babSopenharmony_ci39(@entryPointOutput):     38(ptr) Variable Output
145617a3babSopenharmony_ci         4(main):           2 Function None 3
146617a3babSopenharmony_ci               5:             Label
147617a3babSopenharmony_ci         34(pos):      8(ptr) Variable Function
148617a3babSopenharmony_ci       40(param):      8(ptr) Variable Function
149617a3babSopenharmony_ci              37:    7(fvec4) Load 36(pos)
150617a3babSopenharmony_ci                              Store 34(pos) 37
151617a3babSopenharmony_ci              41:    7(fvec4) Load 34(pos)
152617a3babSopenharmony_ci                              Store 40(param) 41
153617a3babSopenharmony_ci              42:    7(fvec4) FunctionCall 11(@main(vf4;) 40(param)
154617a3babSopenharmony_ci                              Store 39(@entryPointOutput) 42
155617a3babSopenharmony_ci                              Return
156617a3babSopenharmony_ci                              FunctionEnd
157617a3babSopenharmony_ci  11(@main(vf4;):    7(fvec4) Function None 9
158617a3babSopenharmony_ci         10(pos):      8(ptr) FunctionParameter
159617a3babSopenharmony_ci              12:             Label
160617a3babSopenharmony_ci      20(packed):     19(ptr) Variable Function
161617a3babSopenharmony_ci              25:          14 Load 24(tex[0])
162617a3babSopenharmony_ci              27:     26(ptr) AccessChain 20(packed) 21 22
163617a3babSopenharmony_ci                              Store 27 25
164617a3babSopenharmony_ci              29:          14 Load 28(tex[1])
165617a3babSopenharmony_ci              30:     26(ptr) AccessChain 20(packed) 21 21
166617a3babSopenharmony_ci                              Store 30 29
167617a3babSopenharmony_ci              31:    7(fvec4) Load 10(pos)
168617a3babSopenharmony_ci                              ReturnValue 31
169617a3babSopenharmony_ci                              FunctionEnd
170