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