1617a3babSopenharmony_cihlsl.pp.line.frag
2617a3babSopenharmony_ciShader version: 500
3617a3babSopenharmony_cigl_FragCoord origin is upper left
4617a3babSopenharmony_ciusing depth_any
5617a3babSopenharmony_ci0:? Sequence
6617a3babSopenharmony_ci0:4  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
7617a3babSopenharmony_ci0:4    Function Parameters: 
8617a3babSopenharmony_ci0:?     Sequence
9617a3babSopenharmony_ci0:124      Sequence
10617a3babSopenharmony_ci0:124        move second child to first child ( temp int)
11617a3babSopenharmony_ci0:124          'thisLineIs' ( temp int)
12617a3babSopenharmony_ci0:124          Constant:
13617a3babSopenharmony_ci0:124            124 (const int)
14617a3babSopenharmony_ci0:126      move second child to first child ( temp 4-component vector of float)
15617a3babSopenharmony_ci0:126        Color: direct index for structure ( temp 4-component vector of float)
16617a3babSopenharmony_ci0:126          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
17617a3babSopenharmony_ci0:126          Constant:
18617a3babSopenharmony_ci0:126            0 (const int)
19617a3babSopenharmony_ci0:126        Construct vec4 ( temp 4-component vector of float)
20617a3babSopenharmony_ci0:126          Convert int to float ( temp float)
21617a3babSopenharmony_ci0:126            'thisLineIs' ( temp int)
22617a3babSopenharmony_ci0:126          Constant:
23617a3babSopenharmony_ci0:126            0.000000
24617a3babSopenharmony_ci0:126          Constant:
25617a3babSopenharmony_ci0:126            0.000000
26617a3babSopenharmony_ci0:126          Constant:
27617a3babSopenharmony_ci0:126            1.000000
28617a3babSopenharmony_ci0:127      move second child to first child ( temp float)
29617a3babSopenharmony_ci0:127        Depth: direct index for structure ( temp float)
30617a3babSopenharmony_ci0:127          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
31617a3babSopenharmony_ci0:127          Constant:
32617a3babSopenharmony_ci0:127            1 (const int)
33617a3babSopenharmony_ci0:127        Constant:
34617a3babSopenharmony_ci0:127          1.000000
35617a3babSopenharmony_ci0:129      Branch: Return with expression
36617a3babSopenharmony_ci0:129        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
37617a3babSopenharmony_ci0:4  Function Definition: main( ( temp void)
38617a3babSopenharmony_ci0:4    Function Parameters: 
39617a3babSopenharmony_ci0:?     Sequence
40617a3babSopenharmony_ci0:4      Sequence
41617a3babSopenharmony_ci0:4        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
42617a3babSopenharmony_ci0:4          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
43617a3babSopenharmony_ci0:4          Function Call: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
44617a3babSopenharmony_ci0:4        move second child to first child ( temp 4-component vector of float)
45617a3babSopenharmony_ci0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
46617a3babSopenharmony_ci0:4          Color: direct index for structure ( temp 4-component vector of float)
47617a3babSopenharmony_ci0:4            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
48617a3babSopenharmony_ci0:4            Constant:
49617a3babSopenharmony_ci0:4              0 (const int)
50617a3babSopenharmony_ci0:4        move second child to first child ( temp float)
51617a3babSopenharmony_ci0:?           '@entryPointOutput.Depth' ( out float FragDepth)
52617a3babSopenharmony_ci0:4          Depth: direct index for structure ( temp float)
53617a3babSopenharmony_ci0:4            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
54617a3babSopenharmony_ci0:4            Constant:
55617a3babSopenharmony_ci0:4              1 (const int)
56617a3babSopenharmony_ci0:?   Linker Objects
57617a3babSopenharmony_ci0:?     '@entryPointOutput.Depth' ( out float FragDepth)
58617a3babSopenharmony_ci0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
59617a3babSopenharmony_ci
60617a3babSopenharmony_ci
61617a3babSopenharmony_ciLinked fragment stage:
62617a3babSopenharmony_ci
63617a3babSopenharmony_ci
64617a3babSopenharmony_ciShader version: 500
65617a3babSopenharmony_cigl_FragCoord origin is upper left
66617a3babSopenharmony_ciusing depth_any
67617a3babSopenharmony_ci0:? Sequence
68617a3babSopenharmony_ci0:4  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
69617a3babSopenharmony_ci0:4    Function Parameters: 
70617a3babSopenharmony_ci0:?     Sequence
71617a3babSopenharmony_ci0:124      Sequence
72617a3babSopenharmony_ci0:124        move second child to first child ( temp int)
73617a3babSopenharmony_ci0:124          'thisLineIs' ( temp int)
74617a3babSopenharmony_ci0:124          Constant:
75617a3babSopenharmony_ci0:124            124 (const int)
76617a3babSopenharmony_ci0:126      move second child to first child ( temp 4-component vector of float)
77617a3babSopenharmony_ci0:126        Color: direct index for structure ( temp 4-component vector of float)
78617a3babSopenharmony_ci0:126          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
79617a3babSopenharmony_ci0:126          Constant:
80617a3babSopenharmony_ci0:126            0 (const int)
81617a3babSopenharmony_ci0:126        Construct vec4 ( temp 4-component vector of float)
82617a3babSopenharmony_ci0:126          Convert int to float ( temp float)
83617a3babSopenharmony_ci0:126            'thisLineIs' ( temp int)
84617a3babSopenharmony_ci0:126          Constant:
85617a3babSopenharmony_ci0:126            0.000000
86617a3babSopenharmony_ci0:126          Constant:
87617a3babSopenharmony_ci0:126            0.000000
88617a3babSopenharmony_ci0:126          Constant:
89617a3babSopenharmony_ci0:126            1.000000
90617a3babSopenharmony_ci0:127      move second child to first child ( temp float)
91617a3babSopenharmony_ci0:127        Depth: direct index for structure ( temp float)
92617a3babSopenharmony_ci0:127          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
93617a3babSopenharmony_ci0:127          Constant:
94617a3babSopenharmony_ci0:127            1 (const int)
95617a3babSopenharmony_ci0:127        Constant:
96617a3babSopenharmony_ci0:127          1.000000
97617a3babSopenharmony_ci0:129      Branch: Return with expression
98617a3babSopenharmony_ci0:129        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
99617a3babSopenharmony_ci0:4  Function Definition: main( ( temp void)
100617a3babSopenharmony_ci0:4    Function Parameters: 
101617a3babSopenharmony_ci0:?     Sequence
102617a3babSopenharmony_ci0:4      Sequence
103617a3babSopenharmony_ci0:4        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
104617a3babSopenharmony_ci0:4          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
105617a3babSopenharmony_ci0:4          Function Call: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
106617a3babSopenharmony_ci0:4        move second child to first child ( temp 4-component vector of float)
107617a3babSopenharmony_ci0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
108617a3babSopenharmony_ci0:4          Color: direct index for structure ( temp 4-component vector of float)
109617a3babSopenharmony_ci0:4            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
110617a3babSopenharmony_ci0:4            Constant:
111617a3babSopenharmony_ci0:4              0 (const int)
112617a3babSopenharmony_ci0:4        move second child to first child ( temp float)
113617a3babSopenharmony_ci0:?           '@entryPointOutput.Depth' ( out float FragDepth)
114617a3babSopenharmony_ci0:4          Depth: direct index for structure ( temp float)
115617a3babSopenharmony_ci0:4            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
116617a3babSopenharmony_ci0:4            Constant:
117617a3babSopenharmony_ci0:4              1 (const int)
118617a3babSopenharmony_ci0:?   Linker Objects
119617a3babSopenharmony_ci0:?     '@entryPointOutput.Depth' ( out float FragDepth)
120617a3babSopenharmony_ci0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
121617a3babSopenharmony_ci
122617a3babSopenharmony_ci// Module Version 10000
123617a3babSopenharmony_ci// Generated by (magic number): 8000b
124617a3babSopenharmony_ci// Id's are bound by 42
125617a3babSopenharmony_ci
126617a3babSopenharmony_ci                              Capability Shader
127617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
128617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
129617a3babSopenharmony_ci                              EntryPoint Fragment 4  "main" 35 39
130617a3babSopenharmony_ci                              ExecutionMode 4 OriginUpperLeft
131617a3babSopenharmony_ci                              ExecutionMode 4 DepthReplacing
132617a3babSopenharmony_ci                              Source HLSL 500
133617a3babSopenharmony_ci                              Name 4  "main"
134617a3babSopenharmony_ci                              Name 8  "PS_OUTPUT"
135617a3babSopenharmony_ci                              MemberName 8(PS_OUTPUT) 0  "Color"
136617a3babSopenharmony_ci                              MemberName 8(PS_OUTPUT) 1  "Depth"
137617a3babSopenharmony_ci                              Name 10  "@main("
138617a3babSopenharmony_ci                              Name 14  "thisLineIs"
139617a3babSopenharmony_ci                              Name 17  "psout"
140617a3babSopenharmony_ci                              Name 32  "flattenTemp"
141617a3babSopenharmony_ci                              Name 35  "@entryPointOutput.Color"
142617a3babSopenharmony_ci                              Name 39  "@entryPointOutput.Depth"
143617a3babSopenharmony_ci                              Decorate 35(@entryPointOutput.Color) Location 0
144617a3babSopenharmony_ci                              Decorate 39(@entryPointOutput.Depth) BuiltIn FragDepth
145617a3babSopenharmony_ci               2:             TypeVoid
146617a3babSopenharmony_ci               3:             TypeFunction 2
147617a3babSopenharmony_ci               6:             TypeFloat 32
148617a3babSopenharmony_ci               7:             TypeVector 6(float) 4
149617a3babSopenharmony_ci    8(PS_OUTPUT):             TypeStruct 7(fvec4) 6(float)
150617a3babSopenharmony_ci               9:             TypeFunction 8(PS_OUTPUT)
151617a3babSopenharmony_ci              12:             TypeInt 32 1
152617a3babSopenharmony_ci              13:             TypePointer Function 12(int)
153617a3babSopenharmony_ci              15:     12(int) Constant 124
154617a3babSopenharmony_ci              16:             TypePointer Function 8(PS_OUTPUT)
155617a3babSopenharmony_ci              18:     12(int) Constant 0
156617a3babSopenharmony_ci              21:    6(float) Constant 0
157617a3babSopenharmony_ci              22:    6(float) Constant 1065353216
158617a3babSopenharmony_ci              24:             TypePointer Function 7(fvec4)
159617a3babSopenharmony_ci              26:     12(int) Constant 1
160617a3babSopenharmony_ci              27:             TypePointer Function 6(float)
161617a3babSopenharmony_ci              34:             TypePointer Output 7(fvec4)
162617a3babSopenharmony_ci35(@entryPointOutput.Color):     34(ptr) Variable Output
163617a3babSopenharmony_ci              38:             TypePointer Output 6(float)
164617a3babSopenharmony_ci39(@entryPointOutput.Depth):     38(ptr) Variable Output
165617a3babSopenharmony_ci         4(main):           2 Function None 3
166617a3babSopenharmony_ci               5:             Label
167617a3babSopenharmony_ci 32(flattenTemp):     16(ptr) Variable Function
168617a3babSopenharmony_ci              33:8(PS_OUTPUT) FunctionCall 10(@main()
169617a3babSopenharmony_ci                              Store 32(flattenTemp) 33
170617a3babSopenharmony_ci              36:     24(ptr) AccessChain 32(flattenTemp) 18
171617a3babSopenharmony_ci              37:    7(fvec4) Load 36
172617a3babSopenharmony_ci                              Store 35(@entryPointOutput.Color) 37
173617a3babSopenharmony_ci              40:     27(ptr) AccessChain 32(flattenTemp) 26
174617a3babSopenharmony_ci              41:    6(float) Load 40
175617a3babSopenharmony_ci                              Store 39(@entryPointOutput.Depth) 41
176617a3babSopenharmony_ci                              Return
177617a3babSopenharmony_ci                              FunctionEnd
178617a3babSopenharmony_ci      10(@main():8(PS_OUTPUT) Function None 9
179617a3babSopenharmony_ci              11:             Label
180617a3babSopenharmony_ci  14(thisLineIs):     13(ptr) Variable Function
181617a3babSopenharmony_ci       17(psout):     16(ptr) Variable Function
182617a3babSopenharmony_ci                              Store 14(thisLineIs) 15
183617a3babSopenharmony_ci              19:     12(int) Load 14(thisLineIs)
184617a3babSopenharmony_ci              20:    6(float) ConvertSToF 19
185617a3babSopenharmony_ci              23:    7(fvec4) CompositeConstruct 20 21 21 22
186617a3babSopenharmony_ci              25:     24(ptr) AccessChain 17(psout) 18
187617a3babSopenharmony_ci                              Store 25 23
188617a3babSopenharmony_ci              28:     27(ptr) AccessChain 17(psout) 26
189617a3babSopenharmony_ci                              Store 28 22
190617a3babSopenharmony_ci              29:8(PS_OUTPUT) Load 17(psout)
191617a3babSopenharmony_ci                              ReturnValue 29
192617a3babSopenharmony_ci                              FunctionEnd
193