1617a3babSopenharmony_cihlsl.w-recip.frag
2617a3babSopenharmony_ciShader version: 500
3617a3babSopenharmony_cigl_FragCoord origin is upper left
4617a3babSopenharmony_ci0:? Sequence
5617a3babSopenharmony_ci0:5  Function Definition: @main(vf4; ( temp 4-component vector of float)
6617a3babSopenharmony_ci0:5    Function Parameters: 
7617a3babSopenharmony_ci0:5      'vpos' ( in 4-component vector of float)
8617a3babSopenharmony_ci0:?     Sequence
9617a3babSopenharmony_ci0:6      Sequence
10617a3babSopenharmony_ci0:6        move second child to first child ( temp 4-component vector of float)
11617a3babSopenharmony_ci0:6          'vpos_t' ( temp 4-component vector of float)
12617a3babSopenharmony_ci0:6          Construct vec4 ( temp 4-component vector of float)
13617a3babSopenharmony_ci0:6            vector swizzle ( temp 3-component vector of float)
14617a3babSopenharmony_ci0:6              'vpos' ( in 4-component vector of float)
15617a3babSopenharmony_ci0:6              Sequence
16617a3babSopenharmony_ci0:6                Constant:
17617a3babSopenharmony_ci0:6                  0 (const int)
18617a3babSopenharmony_ci0:6                Constant:
19617a3babSopenharmony_ci0:6                  1 (const int)
20617a3babSopenharmony_ci0:6                Constant:
21617a3babSopenharmony_ci0:6                  2 (const int)
22617a3babSopenharmony_ci0:6            divide ( temp float)
23617a3babSopenharmony_ci0:6              Constant:
24617a3babSopenharmony_ci0:6                1.000000
25617a3babSopenharmony_ci0:6              direct index ( temp float)
26617a3babSopenharmony_ci0:6                'vpos' ( in 4-component vector of float)
27617a3babSopenharmony_ci0:6                Constant:
28617a3babSopenharmony_ci0:6                  3 (const int)
29617a3babSopenharmony_ci0:7      Test condition and select ( temp void)
30617a3babSopenharmony_ci0:7        Condition
31617a3babSopenharmony_ci0:7        Compare Less Than ( temp bool)
32617a3babSopenharmony_ci0:7          direct index ( temp float)
33617a3babSopenharmony_ci0:7            'vpos_t' ( temp 4-component vector of float)
34617a3babSopenharmony_ci0:7            Constant:
35617a3babSopenharmony_ci0:7              0 (const int)
36617a3babSopenharmony_ci0:7          Constant:
37617a3babSopenharmony_ci0:7            400.000000
38617a3babSopenharmony_ci0:7        true case
39617a3babSopenharmony_ci0:8        Branch: Return with expression
40617a3babSopenharmony_ci0:8          AmbientColor: direct index for structure ( uniform 4-component vector of float)
41617a3babSopenharmony_ci0:8            'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float AmbientColor,  uniform 4-component vector of float AmbientColor2})
42617a3babSopenharmony_ci0:8            Constant:
43617a3babSopenharmony_ci0:8              0 (const uint)
44617a3babSopenharmony_ci0:7        false case
45617a3babSopenharmony_ci0:10        Branch: Return with expression
46617a3babSopenharmony_ci0:10          AmbientColor2: direct index for structure ( uniform 4-component vector of float)
47617a3babSopenharmony_ci0:10            'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float AmbientColor,  uniform 4-component vector of float AmbientColor2})
48617a3babSopenharmony_ci0:10            Constant:
49617a3babSopenharmony_ci0:10              1 (const uint)
50617a3babSopenharmony_ci0:5  Function Definition: main( ( temp void)
51617a3babSopenharmony_ci0:5    Function Parameters: 
52617a3babSopenharmony_ci0:?     Sequence
53617a3babSopenharmony_ci0:5      move second child to first child ( temp 4-component vector of float)
54617a3babSopenharmony_ci0:?         'vpos' ( temp 4-component vector of float)
55617a3babSopenharmony_ci0:5        Construct vec4 ( temp 4-component vector of float)
56617a3babSopenharmony_ci0:5          vector swizzle ( temp 3-component vector of float)
57617a3babSopenharmony_ci0:?             'vpos' ( in 4-component vector of float FragCoord)
58617a3babSopenharmony_ci0:5            Sequence
59617a3babSopenharmony_ci0:5              Constant:
60617a3babSopenharmony_ci0:5                0 (const int)
61617a3babSopenharmony_ci0:5              Constant:
62617a3babSopenharmony_ci0:5                1 (const int)
63617a3babSopenharmony_ci0:5              Constant:
64617a3babSopenharmony_ci0:5                2 (const int)
65617a3babSopenharmony_ci0:5          divide ( temp float)
66617a3babSopenharmony_ci0:5            Constant:
67617a3babSopenharmony_ci0:5              1.000000
68617a3babSopenharmony_ci0:5            direct index ( temp float)
69617a3babSopenharmony_ci0:?               'vpos' ( in 4-component vector of float FragCoord)
70617a3babSopenharmony_ci0:5              Constant:
71617a3babSopenharmony_ci0:5                3 (const int)
72617a3babSopenharmony_ci0:5      move second child to first child ( temp 4-component vector of float)
73617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
74617a3babSopenharmony_ci0:5        Function Call: @main(vf4; ( temp 4-component vector of float)
75617a3babSopenharmony_ci0:?           'vpos' ( temp 4-component vector of float)
76617a3babSopenharmony_ci0:?   Linker Objects
77617a3babSopenharmony_ci0:?     'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float AmbientColor,  uniform 4-component vector of float AmbientColor2})
78617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
79617a3babSopenharmony_ci0:?     'vpos' ( in 4-component vector of float FragCoord)
80617a3babSopenharmony_ci
81617a3babSopenharmony_ci
82617a3babSopenharmony_ciLinked fragment stage:
83617a3babSopenharmony_ci
84617a3babSopenharmony_ci
85617a3babSopenharmony_ciShader version: 500
86617a3babSopenharmony_cigl_FragCoord origin is upper left
87617a3babSopenharmony_ci0:? Sequence
88617a3babSopenharmony_ci0:5  Function Definition: @main(vf4; ( temp 4-component vector of float)
89617a3babSopenharmony_ci0:5    Function Parameters: 
90617a3babSopenharmony_ci0:5      'vpos' ( in 4-component vector of float)
91617a3babSopenharmony_ci0:?     Sequence
92617a3babSopenharmony_ci0:6      Sequence
93617a3babSopenharmony_ci0:6        move second child to first child ( temp 4-component vector of float)
94617a3babSopenharmony_ci0:6          'vpos_t' ( temp 4-component vector of float)
95617a3babSopenharmony_ci0:6          Construct vec4 ( temp 4-component vector of float)
96617a3babSopenharmony_ci0:6            vector swizzle ( temp 3-component vector of float)
97617a3babSopenharmony_ci0:6              'vpos' ( in 4-component vector of float)
98617a3babSopenharmony_ci0:6              Sequence
99617a3babSopenharmony_ci0:6                Constant:
100617a3babSopenharmony_ci0:6                  0 (const int)
101617a3babSopenharmony_ci0:6                Constant:
102617a3babSopenharmony_ci0:6                  1 (const int)
103617a3babSopenharmony_ci0:6                Constant:
104617a3babSopenharmony_ci0:6                  2 (const int)
105617a3babSopenharmony_ci0:6            divide ( temp float)
106617a3babSopenharmony_ci0:6              Constant:
107617a3babSopenharmony_ci0:6                1.000000
108617a3babSopenharmony_ci0:6              direct index ( temp float)
109617a3babSopenharmony_ci0:6                'vpos' ( in 4-component vector of float)
110617a3babSopenharmony_ci0:6                Constant:
111617a3babSopenharmony_ci0:6                  3 (const int)
112617a3babSopenharmony_ci0:7      Test condition and select ( temp void)
113617a3babSopenharmony_ci0:7        Condition
114617a3babSopenharmony_ci0:7        Compare Less Than ( temp bool)
115617a3babSopenharmony_ci0:7          direct index ( temp float)
116617a3babSopenharmony_ci0:7            'vpos_t' ( temp 4-component vector of float)
117617a3babSopenharmony_ci0:7            Constant:
118617a3babSopenharmony_ci0:7              0 (const int)
119617a3babSopenharmony_ci0:7          Constant:
120617a3babSopenharmony_ci0:7            400.000000
121617a3babSopenharmony_ci0:7        true case
122617a3babSopenharmony_ci0:8        Branch: Return with expression
123617a3babSopenharmony_ci0:8          AmbientColor: direct index for structure ( uniform 4-component vector of float)
124617a3babSopenharmony_ci0:8            'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float AmbientColor,  uniform 4-component vector of float AmbientColor2})
125617a3babSopenharmony_ci0:8            Constant:
126617a3babSopenharmony_ci0:8              0 (const uint)
127617a3babSopenharmony_ci0:7        false case
128617a3babSopenharmony_ci0:10        Branch: Return with expression
129617a3babSopenharmony_ci0:10          AmbientColor2: direct index for structure ( uniform 4-component vector of float)
130617a3babSopenharmony_ci0:10            'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float AmbientColor,  uniform 4-component vector of float AmbientColor2})
131617a3babSopenharmony_ci0:10            Constant:
132617a3babSopenharmony_ci0:10              1 (const uint)
133617a3babSopenharmony_ci0:5  Function Definition: main( ( temp void)
134617a3babSopenharmony_ci0:5    Function Parameters: 
135617a3babSopenharmony_ci0:?     Sequence
136617a3babSopenharmony_ci0:5      move second child to first child ( temp 4-component vector of float)
137617a3babSopenharmony_ci0:?         'vpos' ( temp 4-component vector of float)
138617a3babSopenharmony_ci0:5        Construct vec4 ( temp 4-component vector of float)
139617a3babSopenharmony_ci0:5          vector swizzle ( temp 3-component vector of float)
140617a3babSopenharmony_ci0:?             'vpos' ( in 4-component vector of float FragCoord)
141617a3babSopenharmony_ci0:5            Sequence
142617a3babSopenharmony_ci0:5              Constant:
143617a3babSopenharmony_ci0:5                0 (const int)
144617a3babSopenharmony_ci0:5              Constant:
145617a3babSopenharmony_ci0:5                1 (const int)
146617a3babSopenharmony_ci0:5              Constant:
147617a3babSopenharmony_ci0:5                2 (const int)
148617a3babSopenharmony_ci0:5          divide ( temp float)
149617a3babSopenharmony_ci0:5            Constant:
150617a3babSopenharmony_ci0:5              1.000000
151617a3babSopenharmony_ci0:5            direct index ( temp float)
152617a3babSopenharmony_ci0:?               'vpos' ( in 4-component vector of float FragCoord)
153617a3babSopenharmony_ci0:5              Constant:
154617a3babSopenharmony_ci0:5                3 (const int)
155617a3babSopenharmony_ci0:5      move second child to first child ( temp 4-component vector of float)
156617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
157617a3babSopenharmony_ci0:5        Function Call: @main(vf4; ( temp 4-component vector of float)
158617a3babSopenharmony_ci0:?           'vpos' ( temp 4-component vector of float)
159617a3babSopenharmony_ci0:?   Linker Objects
160617a3babSopenharmony_ci0:?     'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float AmbientColor,  uniform 4-component vector of float AmbientColor2})
161617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
162617a3babSopenharmony_ci0:?     'vpos' ( in 4-component vector of float FragCoord)
163617a3babSopenharmony_ci
164617a3babSopenharmony_ci// Module Version 10000
165617a3babSopenharmony_ci// Generated by (magic number): 8000b
166617a3babSopenharmony_ci// Id's are bound by 69
167617a3babSopenharmony_ci
168617a3babSopenharmony_ci                              Capability Shader
169617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
170617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
171617a3babSopenharmony_ci                              EntryPoint Fragment 4  "main" 53 65
172617a3babSopenharmony_ci                              ExecutionMode 4 OriginUpperLeft
173617a3babSopenharmony_ci                              Source HLSL 500
174617a3babSopenharmony_ci                              Name 4  "main"
175617a3babSopenharmony_ci                              Name 11  "@main(vf4;"
176617a3babSopenharmony_ci                              Name 10  "vpos"
177617a3babSopenharmony_ci                              Name 13  "vpos_t"
178617a3babSopenharmony_ci                              Name 36  "$Global"
179617a3babSopenharmony_ci                              MemberName 36($Global) 0  "AmbientColor"
180617a3babSopenharmony_ci                              MemberName 36($Global) 1  "AmbientColor2"
181617a3babSopenharmony_ci                              Name 38  ""
182617a3babSopenharmony_ci                              Name 51  "vpos"
183617a3babSopenharmony_ci                              Name 53  "vpos"
184617a3babSopenharmony_ci                              Name 65  "@entryPointOutput"
185617a3babSopenharmony_ci                              Name 66  "param"
186617a3babSopenharmony_ci                              MemberDecorate 36($Global) 0 Offset 0
187617a3babSopenharmony_ci                              MemberDecorate 36($Global) 1 Offset 16
188617a3babSopenharmony_ci                              Decorate 36($Global) Block
189617a3babSopenharmony_ci                              Decorate 38 DescriptorSet 0
190617a3babSopenharmony_ci                              Decorate 38 Binding 0
191617a3babSopenharmony_ci                              Decorate 53(vpos) BuiltIn FragCoord
192617a3babSopenharmony_ci                              Decorate 65(@entryPointOutput) Location 0
193617a3babSopenharmony_ci               2:             TypeVoid
194617a3babSopenharmony_ci               3:             TypeFunction 2
195617a3babSopenharmony_ci               6:             TypeFloat 32
196617a3babSopenharmony_ci               7:             TypeVector 6(float) 4
197617a3babSopenharmony_ci               8:             TypePointer Function 7(fvec4)
198617a3babSopenharmony_ci               9:             TypeFunction 7(fvec4) 8(ptr)
199617a3babSopenharmony_ci              14:             TypeVector 6(float) 3
200617a3babSopenharmony_ci              17:    6(float) Constant 1065353216
201617a3babSopenharmony_ci              18:             TypeInt 32 0
202617a3babSopenharmony_ci              19:     18(int) Constant 3
203617a3babSopenharmony_ci              20:             TypePointer Function 6(float)
204617a3babSopenharmony_ci              28:     18(int) Constant 0
205617a3babSopenharmony_ci              31:    6(float) Constant 1137180672
206617a3babSopenharmony_ci              32:             TypeBool
207617a3babSopenharmony_ci     36($Global):             TypeStruct 7(fvec4) 7(fvec4)
208617a3babSopenharmony_ci              37:             TypePointer Uniform 36($Global)
209617a3babSopenharmony_ci              38:     37(ptr) Variable Uniform
210617a3babSopenharmony_ci              39:             TypeInt 32 1
211617a3babSopenharmony_ci              40:     39(int) Constant 0
212617a3babSopenharmony_ci              41:             TypePointer Uniform 7(fvec4)
213617a3babSopenharmony_ci              46:     39(int) Constant 1
214617a3babSopenharmony_ci              52:             TypePointer Input 7(fvec4)
215617a3babSopenharmony_ci        53(vpos):     52(ptr) Variable Input
216617a3babSopenharmony_ci              56:             TypePointer Input 6(float)
217617a3babSopenharmony_ci              64:             TypePointer Output 7(fvec4)
218617a3babSopenharmony_ci65(@entryPointOutput):     64(ptr) Variable Output
219617a3babSopenharmony_ci         4(main):           2 Function None 3
220617a3babSopenharmony_ci               5:             Label
221617a3babSopenharmony_ci        51(vpos):      8(ptr) Variable Function
222617a3babSopenharmony_ci       66(param):      8(ptr) Variable Function
223617a3babSopenharmony_ci              54:    7(fvec4) Load 53(vpos)
224617a3babSopenharmony_ci              55:   14(fvec3) VectorShuffle 54 54 0 1 2
225617a3babSopenharmony_ci              57:     56(ptr) AccessChain 53(vpos) 19
226617a3babSopenharmony_ci              58:    6(float) Load 57
227617a3babSopenharmony_ci              59:    6(float) FDiv 17 58
228617a3babSopenharmony_ci              60:    6(float) CompositeExtract 55 0
229617a3babSopenharmony_ci              61:    6(float) CompositeExtract 55 1
230617a3babSopenharmony_ci              62:    6(float) CompositeExtract 55 2
231617a3babSopenharmony_ci              63:    7(fvec4) CompositeConstruct 60 61 62 59
232617a3babSopenharmony_ci                              Store 51(vpos) 63
233617a3babSopenharmony_ci              67:    7(fvec4) Load 51(vpos)
234617a3babSopenharmony_ci                              Store 66(param) 67
235617a3babSopenharmony_ci              68:    7(fvec4) FunctionCall 11(@main(vf4;) 66(param)
236617a3babSopenharmony_ci                              Store 65(@entryPointOutput) 68
237617a3babSopenharmony_ci                              Return
238617a3babSopenharmony_ci                              FunctionEnd
239617a3babSopenharmony_ci  11(@main(vf4;):    7(fvec4) Function None 9
240617a3babSopenharmony_ci        10(vpos):      8(ptr) FunctionParameter
241617a3babSopenharmony_ci              12:             Label
242617a3babSopenharmony_ci      13(vpos_t):      8(ptr) Variable Function
243617a3babSopenharmony_ci              15:    7(fvec4) Load 10(vpos)
244617a3babSopenharmony_ci              16:   14(fvec3) VectorShuffle 15 15 0 1 2
245617a3babSopenharmony_ci              21:     20(ptr) AccessChain 10(vpos) 19
246617a3babSopenharmony_ci              22:    6(float) Load 21
247617a3babSopenharmony_ci              23:    6(float) FDiv 17 22
248617a3babSopenharmony_ci              24:    6(float) CompositeExtract 16 0
249617a3babSopenharmony_ci              25:    6(float) CompositeExtract 16 1
250617a3babSopenharmony_ci              26:    6(float) CompositeExtract 16 2
251617a3babSopenharmony_ci              27:    7(fvec4) CompositeConstruct 24 25 26 23
252617a3babSopenharmony_ci                              Store 13(vpos_t) 27
253617a3babSopenharmony_ci              29:     20(ptr) AccessChain 13(vpos_t) 28
254617a3babSopenharmony_ci              30:    6(float) Load 29
255617a3babSopenharmony_ci              33:    32(bool) FOrdLessThan 30 31
256617a3babSopenharmony_ci                              SelectionMerge 35 None
257617a3babSopenharmony_ci                              BranchConditional 33 34 45
258617a3babSopenharmony_ci              34:               Label
259617a3babSopenharmony_ci              42:     41(ptr)   AccessChain 38 40
260617a3babSopenharmony_ci              43:    7(fvec4)   Load 42
261617a3babSopenharmony_ci                                ReturnValue 43
262617a3babSopenharmony_ci              45:               Label
263617a3babSopenharmony_ci              47:     41(ptr)   AccessChain 38 46
264617a3babSopenharmony_ci              48:    7(fvec4)   Load 47
265617a3babSopenharmony_ci                                ReturnValue 48
266617a3babSopenharmony_ci              35:             Label
267617a3babSopenharmony_ci                              Unreachable
268617a3babSopenharmony_ci                              FunctionEnd
269