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