1617a3babSopenharmony_cihlsl.aliasOpaque.frag
2617a3babSopenharmony_ciWARNING: AST will form illegal SPIR-V; need to transform to legalize
3617a3babSopenharmony_ciShader version: 500
4617a3babSopenharmony_cigl_FragCoord origin is upper left
5617a3babSopenharmony_ci0:? Sequence
6617a3babSopenharmony_ci0:12  Function Definition: osCall(struct-OS-p1-f1-t211; ( temp 4-component vector of float)
7617a3babSopenharmony_ci0:12    Function Parameters: 
8617a3babSopenharmony_ci0:12      's' ( in structure{ temp sampler ss,  temp float a,  temp texture2D tex})
9617a3babSopenharmony_ci0:?     Sequence
10617a3babSopenharmony_ci0:13      Branch: Return with expression
11617a3babSopenharmony_ci0:13        vector-scale ( temp 4-component vector of float)
12617a3babSopenharmony_ci0:13          a: direct index for structure ( temp float)
13617a3babSopenharmony_ci0:13            's' ( in structure{ temp sampler ss,  temp float a,  temp texture2D tex})
14617a3babSopenharmony_ci0:13            Constant:
15617a3babSopenharmony_ci0:13              1 (const int)
16617a3babSopenharmony_ci0:13          texture ( temp 4-component vector of float)
17617a3babSopenharmony_ci0:13            Construct combined texture-sampler ( temp sampler2D)
18617a3babSopenharmony_ci0:13              tex: direct index for structure ( temp texture2D)
19617a3babSopenharmony_ci0:13                's' ( in structure{ temp sampler ss,  temp float a,  temp texture2D tex})
20617a3babSopenharmony_ci0:13                Constant:
21617a3babSopenharmony_ci0:13                  2 (const int)
22617a3babSopenharmony_ci0:13              ss: direct index for structure ( temp sampler)
23617a3babSopenharmony_ci0:13                's' ( in structure{ temp sampler ss,  temp float a,  temp texture2D tex})
24617a3babSopenharmony_ci0:13                Constant:
25617a3babSopenharmony_ci0:13                  0 (const int)
26617a3babSopenharmony_ci0:13            Constant:
27617a3babSopenharmony_ci0:13              0.200000
28617a3babSopenharmony_ci0:13              0.300000
29617a3babSopenharmony_ci0:17  Function Definition: @main( ( temp 4-component vector of float)
30617a3babSopenharmony_ci0:17    Function Parameters: 
31617a3babSopenharmony_ci0:?     Sequence
32617a3babSopenharmony_ci0:19      move second child to first child ( temp sampler)
33617a3babSopenharmony_ci0:19        ss: direct index for structure ( temp sampler)
34617a3babSopenharmony_ci0:19          'os' ( temp structure{ temp sampler ss,  temp float a,  temp texture2D tex})
35617a3babSopenharmony_ci0:19          Constant:
36617a3babSopenharmony_ci0:19            0 (const int)
37617a3babSopenharmony_ci0:19        'gss2' ( uniform sampler)
38617a3babSopenharmony_ci0:20      move second child to first child ( temp sampler)
39617a3babSopenharmony_ci0:20        ss: direct index for structure ( temp sampler)
40617a3babSopenharmony_ci0:20          'os' ( temp structure{ temp sampler ss,  temp float a,  temp texture2D tex})
41617a3babSopenharmony_ci0:20          Constant:
42617a3babSopenharmony_ci0:20            0 (const int)
43617a3babSopenharmony_ci0:20        'gss' ( uniform sampler)
44617a3babSopenharmony_ci0:21      move second child to first child ( temp texture2D)
45617a3babSopenharmony_ci0:21        tex: direct index for structure ( temp texture2D)
46617a3babSopenharmony_ci0:21          'os' ( temp structure{ temp sampler ss,  temp float a,  temp texture2D tex})
47617a3babSopenharmony_ci0:21          Constant:
48617a3babSopenharmony_ci0:21            2 (const int)
49617a3babSopenharmony_ci0:21        'gtex' ( uniform texture2D)
50617a3babSopenharmony_ci0:22      move second child to first child ( temp float)
51617a3babSopenharmony_ci0:22        a: direct index for structure ( temp float)
52617a3babSopenharmony_ci0:22          'os' ( temp structure{ temp sampler ss,  temp float a,  temp texture2D tex})
53617a3babSopenharmony_ci0:22          Constant:
54617a3babSopenharmony_ci0:22            1 (const int)
55617a3babSopenharmony_ci0:22        Constant:
56617a3babSopenharmony_ci0:22          3.000000
57617a3babSopenharmony_ci0:28      Branch: Return with expression
58617a3babSopenharmony_ci0:28        Function Call: osCall(struct-OS-p1-f1-t211; ( temp 4-component vector of float)
59617a3babSopenharmony_ci0:28          'os' ( temp structure{ temp sampler ss,  temp float a,  temp texture2D tex})
60617a3babSopenharmony_ci0:17  Function Definition: main( ( temp void)
61617a3babSopenharmony_ci0:17    Function Parameters: 
62617a3babSopenharmony_ci0:?     Sequence
63617a3babSopenharmony_ci0:17      move second child to first child ( temp 4-component vector of float)
64617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
65617a3babSopenharmony_ci0:17        Function Call: @main( ( temp 4-component vector of float)
66617a3babSopenharmony_ci0:?   Linker Objects
67617a3babSopenharmony_ci0:?     'gss' ( uniform sampler)
68617a3babSopenharmony_ci0:?     'gss2' ( uniform sampler)
69617a3babSopenharmony_ci0:?     'gtex' ( uniform texture2D)
70617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
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:12  Function Definition: osCall(struct-OS-p1-f1-t211; ( temp 4-component vector of float)
80617a3babSopenharmony_ci0:12    Function Parameters: 
81617a3babSopenharmony_ci0:12      's' ( in structure{ temp sampler ss,  temp float a,  temp texture2D tex})
82617a3babSopenharmony_ci0:?     Sequence
83617a3babSopenharmony_ci0:13      Branch: Return with expression
84617a3babSopenharmony_ci0:13        vector-scale ( temp 4-component vector of float)
85617a3babSopenharmony_ci0:13          a: direct index for structure ( temp float)
86617a3babSopenharmony_ci0:13            's' ( in structure{ temp sampler ss,  temp float a,  temp texture2D tex})
87617a3babSopenharmony_ci0:13            Constant:
88617a3babSopenharmony_ci0:13              1 (const int)
89617a3babSopenharmony_ci0:13          texture ( temp 4-component vector of float)
90617a3babSopenharmony_ci0:13            Construct combined texture-sampler ( temp sampler2D)
91617a3babSopenharmony_ci0:13              tex: direct index for structure ( temp texture2D)
92617a3babSopenharmony_ci0:13                's' ( in structure{ temp sampler ss,  temp float a,  temp texture2D tex})
93617a3babSopenharmony_ci0:13                Constant:
94617a3babSopenharmony_ci0:13                  2 (const int)
95617a3babSopenharmony_ci0:13              ss: direct index for structure ( temp sampler)
96617a3babSopenharmony_ci0:13                's' ( in structure{ temp sampler ss,  temp float a,  temp texture2D tex})
97617a3babSopenharmony_ci0:13                Constant:
98617a3babSopenharmony_ci0:13                  0 (const int)
99617a3babSopenharmony_ci0:13            Constant:
100617a3babSopenharmony_ci0:13              0.200000
101617a3babSopenharmony_ci0:13              0.300000
102617a3babSopenharmony_ci0:17  Function Definition: @main( ( temp 4-component vector of float)
103617a3babSopenharmony_ci0:17    Function Parameters: 
104617a3babSopenharmony_ci0:?     Sequence
105617a3babSopenharmony_ci0:19      move second child to first child ( temp sampler)
106617a3babSopenharmony_ci0:19        ss: direct index for structure ( temp sampler)
107617a3babSopenharmony_ci0:19          'os' ( temp structure{ temp sampler ss,  temp float a,  temp texture2D tex})
108617a3babSopenharmony_ci0:19          Constant:
109617a3babSopenharmony_ci0:19            0 (const int)
110617a3babSopenharmony_ci0:19        'gss2' ( uniform sampler)
111617a3babSopenharmony_ci0:20      move second child to first child ( temp sampler)
112617a3babSopenharmony_ci0:20        ss: direct index for structure ( temp sampler)
113617a3babSopenharmony_ci0:20          'os' ( temp structure{ temp sampler ss,  temp float a,  temp texture2D tex})
114617a3babSopenharmony_ci0:20          Constant:
115617a3babSopenharmony_ci0:20            0 (const int)
116617a3babSopenharmony_ci0:20        'gss' ( uniform sampler)
117617a3babSopenharmony_ci0:21      move second child to first child ( temp texture2D)
118617a3babSopenharmony_ci0:21        tex: direct index for structure ( temp texture2D)
119617a3babSopenharmony_ci0:21          'os' ( temp structure{ temp sampler ss,  temp float a,  temp texture2D tex})
120617a3babSopenharmony_ci0:21          Constant:
121617a3babSopenharmony_ci0:21            2 (const int)
122617a3babSopenharmony_ci0:21        'gtex' ( uniform texture2D)
123617a3babSopenharmony_ci0:22      move second child to first child ( temp float)
124617a3babSopenharmony_ci0:22        a: direct index for structure ( temp float)
125617a3babSopenharmony_ci0:22          'os' ( temp structure{ temp sampler ss,  temp float a,  temp texture2D tex})
126617a3babSopenharmony_ci0:22          Constant:
127617a3babSopenharmony_ci0:22            1 (const int)
128617a3babSopenharmony_ci0:22        Constant:
129617a3babSopenharmony_ci0:22          3.000000
130617a3babSopenharmony_ci0:28      Branch: Return with expression
131617a3babSopenharmony_ci0:28        Function Call: osCall(struct-OS-p1-f1-t211; ( temp 4-component vector of float)
132617a3babSopenharmony_ci0:28          'os' ( temp structure{ temp sampler ss,  temp float a,  temp texture2D tex})
133617a3babSopenharmony_ci0:17  Function Definition: main( ( temp void)
134617a3babSopenharmony_ci0:17    Function Parameters: 
135617a3babSopenharmony_ci0:?     Sequence
136617a3babSopenharmony_ci0:17      move second child to first child ( temp 4-component vector of float)
137617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
138617a3babSopenharmony_ci0:17        Function Call: @main( ( temp 4-component vector of float)
139617a3babSopenharmony_ci0:?   Linker Objects
140617a3babSopenharmony_ci0:?     'gss' ( uniform sampler)
141617a3babSopenharmony_ci0:?     'gss2' ( uniform sampler)
142617a3babSopenharmony_ci0:?     'gtex' ( uniform texture2D)
143617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
144617a3babSopenharmony_ci
145617a3babSopenharmony_ci// Module Version 10000
146617a3babSopenharmony_ci// Generated by (magic number): 8000b
147617a3babSopenharmony_ci// Id's are bound by 64
148617a3babSopenharmony_ci
149617a3babSopenharmony_ci                              Capability Shader
150617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
151617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
152617a3babSopenharmony_ci                              EntryPoint Fragment 4  "main" 62
153617a3babSopenharmony_ci                              ExecutionMode 4 OriginUpperLeft
154617a3babSopenharmony_ci                              Source HLSL 500
155617a3babSopenharmony_ci                              Name 4  "main"
156617a3babSopenharmony_ci                              Name 9  "OS"
157617a3babSopenharmony_ci                              MemberName 9(OS) 0  "ss"
158617a3babSopenharmony_ci                              MemberName 9(OS) 1  "a"
159617a3babSopenharmony_ci                              MemberName 9(OS) 2  "tex"
160617a3babSopenharmony_ci                              Name 14  "osCall(struct-OS-p1-f1-t211;"
161617a3babSopenharmony_ci                              Name 13  "s"
162617a3babSopenharmony_ci                              Name 17  "@main("
163617a3babSopenharmony_ci                              Name 42  "os"
164617a3babSopenharmony_ci                              Name 44  "gss2"
165617a3babSopenharmony_ci                              Name 47  "gss"
166617a3babSopenharmony_ci                              Name 51  "gtex"
167617a3babSopenharmony_ci                              Name 56  "param"
168617a3babSopenharmony_ci                              Name 62  "@entryPointOutput"
169617a3babSopenharmony_ci                              Decorate 44(gss2) DescriptorSet 0
170617a3babSopenharmony_ci                              Decorate 44(gss2) Binding 1
171617a3babSopenharmony_ci                              Decorate 47(gss) DescriptorSet 0
172617a3babSopenharmony_ci                              Decorate 47(gss) Binding 0
173617a3babSopenharmony_ci                              Decorate 51(gtex) DescriptorSet 0
174617a3babSopenharmony_ci                              Decorate 51(gtex) Binding 2
175617a3babSopenharmony_ci                              Decorate 62(@entryPointOutput) Location 0
176617a3babSopenharmony_ci               2:             TypeVoid
177617a3babSopenharmony_ci               3:             TypeFunction 2
178617a3babSopenharmony_ci               6:             TypeSampler
179617a3babSopenharmony_ci               7:             TypeFloat 32
180617a3babSopenharmony_ci               8:             TypeImage 7(float) 2D sampled format:Unknown
181617a3babSopenharmony_ci           9(OS):             TypeStruct 6 7(float) 8
182617a3babSopenharmony_ci              10:             TypePointer Function 9(OS)
183617a3babSopenharmony_ci              11:             TypeVector 7(float) 4
184617a3babSopenharmony_ci              12:             TypeFunction 11(fvec4) 10(ptr)
185617a3babSopenharmony_ci              16:             TypeFunction 11(fvec4)
186617a3babSopenharmony_ci              19:             TypeInt 32 1
187617a3babSopenharmony_ci              20:     19(int) Constant 1
188617a3babSopenharmony_ci              21:             TypePointer Function 7(float)
189617a3babSopenharmony_ci              24:     19(int) Constant 2
190617a3babSopenharmony_ci              25:             TypePointer Function 8
191617a3babSopenharmony_ci              28:     19(int) Constant 0
192617a3babSopenharmony_ci              29:             TypePointer Function 6
193617a3babSopenharmony_ci              32:             TypeSampledImage 8
194617a3babSopenharmony_ci              34:             TypeVector 7(float) 2
195617a3babSopenharmony_ci              35:    7(float) Constant 1045220557
196617a3babSopenharmony_ci              36:    7(float) Constant 1050253722
197617a3babSopenharmony_ci              37:   34(fvec2) ConstantComposite 35 36
198617a3babSopenharmony_ci              43:             TypePointer UniformConstant 6
199617a3babSopenharmony_ci        44(gss2):     43(ptr) Variable UniformConstant
200617a3babSopenharmony_ci         47(gss):     43(ptr) Variable UniformConstant
201617a3babSopenharmony_ci              50:             TypePointer UniformConstant 8
202617a3babSopenharmony_ci        51(gtex):     50(ptr) Variable UniformConstant
203617a3babSopenharmony_ci              54:    7(float) Constant 1077936128
204617a3babSopenharmony_ci              61:             TypePointer Output 11(fvec4)
205617a3babSopenharmony_ci62(@entryPointOutput):     61(ptr) Variable Output
206617a3babSopenharmony_ci         4(main):           2 Function None 3
207617a3babSopenharmony_ci               5:             Label
208617a3babSopenharmony_ci              63:   11(fvec4) FunctionCall 17(@main()
209617a3babSopenharmony_ci                              Store 62(@entryPointOutput) 63
210617a3babSopenharmony_ci                              Return
211617a3babSopenharmony_ci                              FunctionEnd
212617a3babSopenharmony_ci14(osCall(struct-OS-p1-f1-t211;):   11(fvec4) Function None 12
213617a3babSopenharmony_ci           13(s):     10(ptr) FunctionParameter
214617a3babSopenharmony_ci              15:             Label
215617a3babSopenharmony_ci              22:     21(ptr) AccessChain 13(s) 20
216617a3babSopenharmony_ci              23:    7(float) Load 22
217617a3babSopenharmony_ci              26:     25(ptr) AccessChain 13(s) 24
218617a3babSopenharmony_ci              27:           8 Load 26
219617a3babSopenharmony_ci              30:     29(ptr) AccessChain 13(s) 28
220617a3babSopenharmony_ci              31:           6 Load 30
221617a3babSopenharmony_ci              33:          32 SampledImage 27 31
222617a3babSopenharmony_ci              38:   11(fvec4) ImageSampleImplicitLod 33 37
223617a3babSopenharmony_ci              39:   11(fvec4) VectorTimesScalar 38 23
224617a3babSopenharmony_ci                              ReturnValue 39
225617a3babSopenharmony_ci                              FunctionEnd
226617a3babSopenharmony_ci      17(@main():   11(fvec4) Function None 16
227617a3babSopenharmony_ci              18:             Label
228617a3babSopenharmony_ci          42(os):     10(ptr) Variable Function
229617a3babSopenharmony_ci       56(param):     10(ptr) Variable Function
230617a3babSopenharmony_ci              45:           6 Load 44(gss2)
231617a3babSopenharmony_ci              46:     29(ptr) AccessChain 42(os) 28
232617a3babSopenharmony_ci                              Store 46 45
233617a3babSopenharmony_ci              48:           6 Load 47(gss)
234617a3babSopenharmony_ci              49:     29(ptr) AccessChain 42(os) 28
235617a3babSopenharmony_ci                              Store 49 48
236617a3babSopenharmony_ci              52:           8 Load 51(gtex)
237617a3babSopenharmony_ci              53:     25(ptr) AccessChain 42(os) 24
238617a3babSopenharmony_ci                              Store 53 52
239617a3babSopenharmony_ci              55:     21(ptr) AccessChain 42(os) 20
240617a3babSopenharmony_ci                              Store 55 54
241617a3babSopenharmony_ci              57:       9(OS) Load 42(os)
242617a3babSopenharmony_ci                              Store 56(param) 57
243617a3babSopenharmony_ci              58:   11(fvec4) FunctionCall 14(osCall(struct-OS-p1-f1-t211;) 56(param)
244617a3babSopenharmony_ci                              ReturnValue 58
245617a3babSopenharmony_ci                              FunctionEnd
246