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