1617a3babSopenharmony_cihlsl.preprocessor.frag
2617a3babSopenharmony_ciShader version: 500
3617a3babSopenharmony_cigl_FragCoord origin is upper left
4617a3babSopenharmony_ci0:? Sequence
5617a3babSopenharmony_ci0:9  Function Definition: @main(vf4; ( temp 4-component vector of float)
6617a3babSopenharmony_ci0:9    Function Parameters: 
7617a3babSopenharmony_ci0:9      'input' ( in 4-component vector of float)
8617a3babSopenharmony_ci0:?     Sequence
9617a3babSopenharmony_ci0:10      Sequence
10617a3babSopenharmony_ci0:10        move second child to first child ( temp 4-component vector of float)
11617a3babSopenharmony_ci0:10          'tex' ( temp 4-component vector of float)
12617a3babSopenharmony_ci0:10          texture ( temp 4-component vector of float)
13617a3babSopenharmony_ci0:10            Construct combined texture-sampler ( temp sampler2D)
14617a3babSopenharmony_ci0:10              'test_texture' ( uniform texture2D)
15617a3babSopenharmony_ci0:10              'test_texture_ss' ( uniform sampler)
16617a3babSopenharmony_ci0:10            vector swizzle ( temp 2-component vector of float)
17617a3babSopenharmony_ci0:10              vector swizzle ( temp 2-component vector of float)
18617a3babSopenharmony_ci0:10                'input' ( in 4-component vector of float)
19617a3babSopenharmony_ci0:10                Sequence
20617a3babSopenharmony_ci0:10                  Constant:
21617a3babSopenharmony_ci0:10                    0 (const int)
22617a3babSopenharmony_ci0:10                  Constant:
23617a3babSopenharmony_ci0:10                    1 (const int)
24617a3babSopenharmony_ci0:10              Sequence
25617a3babSopenharmony_ci0:10                Constant:
26617a3babSopenharmony_ci0:10                  0 (const int)
27617a3babSopenharmony_ci0:10                Constant:
28617a3babSopenharmony_ci0:10                  1 (const int)
29617a3babSopenharmony_ci0:11      Branch: Return with expression
30617a3babSopenharmony_ci0:11        'tex' ( temp 4-component vector of float)
31617a3babSopenharmony_ci0:9  Function Definition: main( ( temp void)
32617a3babSopenharmony_ci0:9    Function Parameters: 
33617a3babSopenharmony_ci0:?     Sequence
34617a3babSopenharmony_ci0:9      move second child to first child ( temp 4-component vector of float)
35617a3babSopenharmony_ci0:?         'input' ( temp 4-component vector of float)
36617a3babSopenharmony_ci0:?         'input' (layout( location=0) in 4-component vector of float)
37617a3babSopenharmony_ci0:9      move second child to first child ( temp 4-component vector of float)
38617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
39617a3babSopenharmony_ci0:9        Function Call: @main(vf4; ( temp 4-component vector of float)
40617a3babSopenharmony_ci0:?           'input' ( temp 4-component vector of float)
41617a3babSopenharmony_ci0:?   Linker Objects
42617a3babSopenharmony_ci0:?     'test_texture' ( uniform texture2D)
43617a3babSopenharmony_ci0:?     'test_texture_ss' ( uniform sampler)
44617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
45617a3babSopenharmony_ci0:?     'input' (layout( location=0) in 4-component vector of float)
46617a3babSopenharmony_ci
47617a3babSopenharmony_ci
48617a3babSopenharmony_ciLinked fragment stage:
49617a3babSopenharmony_ci
50617a3babSopenharmony_ci
51617a3babSopenharmony_ciShader version: 500
52617a3babSopenharmony_cigl_FragCoord origin is upper left
53617a3babSopenharmony_ci0:? Sequence
54617a3babSopenharmony_ci0:9  Function Definition: @main(vf4; ( temp 4-component vector of float)
55617a3babSopenharmony_ci0:9    Function Parameters: 
56617a3babSopenharmony_ci0:9      'input' ( in 4-component vector of float)
57617a3babSopenharmony_ci0:?     Sequence
58617a3babSopenharmony_ci0:10      Sequence
59617a3babSopenharmony_ci0:10        move second child to first child ( temp 4-component vector of float)
60617a3babSopenharmony_ci0:10          'tex' ( temp 4-component vector of float)
61617a3babSopenharmony_ci0:10          texture ( temp 4-component vector of float)
62617a3babSopenharmony_ci0:10            Construct combined texture-sampler ( temp sampler2D)
63617a3babSopenharmony_ci0:10              'test_texture' ( uniform texture2D)
64617a3babSopenharmony_ci0:10              'test_texture_ss' ( uniform sampler)
65617a3babSopenharmony_ci0:10            vector swizzle ( temp 2-component vector of float)
66617a3babSopenharmony_ci0:10              vector swizzle ( temp 2-component vector of float)
67617a3babSopenharmony_ci0:10                'input' ( in 4-component vector of float)
68617a3babSopenharmony_ci0:10                Sequence
69617a3babSopenharmony_ci0:10                  Constant:
70617a3babSopenharmony_ci0:10                    0 (const int)
71617a3babSopenharmony_ci0:10                  Constant:
72617a3babSopenharmony_ci0:10                    1 (const int)
73617a3babSopenharmony_ci0:10              Sequence
74617a3babSopenharmony_ci0:10                Constant:
75617a3babSopenharmony_ci0:10                  0 (const int)
76617a3babSopenharmony_ci0:10                Constant:
77617a3babSopenharmony_ci0:10                  1 (const int)
78617a3babSopenharmony_ci0:11      Branch: Return with expression
79617a3babSopenharmony_ci0:11        'tex' ( temp 4-component vector of float)
80617a3babSopenharmony_ci0:9  Function Definition: main( ( temp void)
81617a3babSopenharmony_ci0:9    Function Parameters: 
82617a3babSopenharmony_ci0:?     Sequence
83617a3babSopenharmony_ci0:9      move second child to first child ( temp 4-component vector of float)
84617a3babSopenharmony_ci0:?         'input' ( temp 4-component vector of float)
85617a3babSopenharmony_ci0:?         'input' (layout( location=0) in 4-component vector of float)
86617a3babSopenharmony_ci0:9      move second child to first child ( temp 4-component vector of float)
87617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
88617a3babSopenharmony_ci0:9        Function Call: @main(vf4; ( temp 4-component vector of float)
89617a3babSopenharmony_ci0:?           'input' ( temp 4-component vector of float)
90617a3babSopenharmony_ci0:?   Linker Objects
91617a3babSopenharmony_ci0:?     'test_texture' ( uniform texture2D)
92617a3babSopenharmony_ci0:?     'test_texture_ss' ( uniform sampler)
93617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
94617a3babSopenharmony_ci0:?     'input' (layout( location=0) in 4-component vector of float)
95617a3babSopenharmony_ci
96617a3babSopenharmony_ci// Module Version 10000
97617a3babSopenharmony_ci// Generated by (magic number): 8000b
98617a3babSopenharmony_ci// Id's are bound by 40
99617a3babSopenharmony_ci
100617a3babSopenharmony_ci                              Capability Shader
101617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
102617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
103617a3babSopenharmony_ci                              EntryPoint Fragment 4  "main" 33 36
104617a3babSopenharmony_ci                              ExecutionMode 4 OriginUpperLeft
105617a3babSopenharmony_ci                              Source HLSL 500
106617a3babSopenharmony_ci                              Name 4  "main"
107617a3babSopenharmony_ci                              Name 11  "@main(vf4;"
108617a3babSopenharmony_ci                              Name 10  "input"
109617a3babSopenharmony_ci                              Name 13  "tex"
110617a3babSopenharmony_ci                              Name 16  "test_texture"
111617a3babSopenharmony_ci                              Name 20  "test_texture_ss"
112617a3babSopenharmony_ci                              Name 31  "input"
113617a3babSopenharmony_ci                              Name 33  "input"
114617a3babSopenharmony_ci                              Name 36  "@entryPointOutput"
115617a3babSopenharmony_ci                              Name 37  "param"
116617a3babSopenharmony_ci                              Decorate 16(test_texture) DescriptorSet 0
117617a3babSopenharmony_ci                              Decorate 16(test_texture) Binding 0
118617a3babSopenharmony_ci                              Decorate 20(test_texture_ss) DescriptorSet 0
119617a3babSopenharmony_ci                              Decorate 20(test_texture_ss) Binding 1
120617a3babSopenharmony_ci                              Decorate 33(input) Location 0
121617a3babSopenharmony_ci                              Decorate 36(@entryPointOutput) Location 0
122617a3babSopenharmony_ci               2:             TypeVoid
123617a3babSopenharmony_ci               3:             TypeFunction 2
124617a3babSopenharmony_ci               6:             TypeFloat 32
125617a3babSopenharmony_ci               7:             TypeVector 6(float) 4
126617a3babSopenharmony_ci               8:             TypePointer Function 7(fvec4)
127617a3babSopenharmony_ci               9:             TypeFunction 7(fvec4) 8(ptr)
128617a3babSopenharmony_ci              14:             TypeImage 6(float) 2D sampled format:Unknown
129617a3babSopenharmony_ci              15:             TypePointer UniformConstant 14
130617a3babSopenharmony_ci16(test_texture):     15(ptr) Variable UniformConstant
131617a3babSopenharmony_ci              18:             TypeSampler
132617a3babSopenharmony_ci              19:             TypePointer UniformConstant 18
133617a3babSopenharmony_ci20(test_texture_ss):     19(ptr) Variable UniformConstant
134617a3babSopenharmony_ci              22:             TypeSampledImage 14
135617a3babSopenharmony_ci              24:             TypeVector 6(float) 2
136617a3babSopenharmony_ci              32:             TypePointer Input 7(fvec4)
137617a3babSopenharmony_ci       33(input):     32(ptr) Variable Input
138617a3babSopenharmony_ci              35:             TypePointer Output 7(fvec4)
139617a3babSopenharmony_ci36(@entryPointOutput):     35(ptr) Variable Output
140617a3babSopenharmony_ci         4(main):           2 Function None 3
141617a3babSopenharmony_ci               5:             Label
142617a3babSopenharmony_ci       31(input):      8(ptr) Variable Function
143617a3babSopenharmony_ci       37(param):      8(ptr) Variable Function
144617a3babSopenharmony_ci              34:    7(fvec4) Load 33(input)
145617a3babSopenharmony_ci                              Store 31(input) 34
146617a3babSopenharmony_ci              38:    7(fvec4) Load 31(input)
147617a3babSopenharmony_ci                              Store 37(param) 38
148617a3babSopenharmony_ci              39:    7(fvec4) FunctionCall 11(@main(vf4;) 37(param)
149617a3babSopenharmony_ci                              Store 36(@entryPointOutput) 39
150617a3babSopenharmony_ci                              Return
151617a3babSopenharmony_ci                              FunctionEnd
152617a3babSopenharmony_ci  11(@main(vf4;):    7(fvec4) Function None 9
153617a3babSopenharmony_ci       10(input):      8(ptr) FunctionParameter
154617a3babSopenharmony_ci              12:             Label
155617a3babSopenharmony_ci         13(tex):      8(ptr) Variable Function
156617a3babSopenharmony_ci              17:          14 Load 16(test_texture)
157617a3babSopenharmony_ci              21:          18 Load 20(test_texture_ss)
158617a3babSopenharmony_ci              23:          22 SampledImage 17 21
159617a3babSopenharmony_ci              25:    7(fvec4) Load 10(input)
160617a3babSopenharmony_ci              26:   24(fvec2) VectorShuffle 25 25 0 1
161617a3babSopenharmony_ci              27:    7(fvec4) ImageSampleImplicitLod 23 26
162617a3babSopenharmony_ci                              Store 13(tex) 27
163617a3babSopenharmony_ci              28:    7(fvec4) Load 13(tex)
164617a3babSopenharmony_ci                              ReturnValue 28
165617a3babSopenharmony_ci                              FunctionEnd
166