1617a3babSopenharmony_cihlsl.flattenOpaqueInitMix.vert
2617a3babSopenharmony_ciWARNING: AST will form illegal SPIR-V; need to transform to legalize
3617a3babSopenharmony_ciShader version: 500
4617a3babSopenharmony_ci0:? Sequence
5617a3babSopenharmony_ci0:5  Function Definition: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float)
6617a3babSopenharmony_ci0:5    Function Parameters: 
7617a3babSopenharmony_ci0:5      'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
8617a3babSopenharmony_ci0:?     Sequence
9617a3babSopenharmony_ci0:6      Branch: Return with expression
10617a3babSopenharmony_ci0:6        texture ( temp 4-component vector of float)
11617a3babSopenharmony_ci0:6          Construct combined texture-sampler ( temp sampler2D)
12617a3babSopenharmony_ci0:6            tex: direct index for structure ( temp texture2D)
13617a3babSopenharmony_ci0:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
14617a3babSopenharmony_ci0:6              Constant:
15617a3babSopenharmony_ci0:6                1 (const int)
16617a3babSopenharmony_ci0:6            smpl: direct index for structure ( temp sampler)
17617a3babSopenharmony_ci0:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
18617a3babSopenharmony_ci0:6              Constant:
19617a3babSopenharmony_ci0:6                0 (const int)
20617a3babSopenharmony_ci0:6          Construct vec2 ( temp 2-component vector of float)
21617a3babSopenharmony_ci0:6            f: direct index for structure ( temp float)
22617a3babSopenharmony_ci0:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
23617a3babSopenharmony_ci0:6              Constant:
24617a3babSopenharmony_ci0:6                2 (const int)
25617a3babSopenharmony_ci0:6            f: direct index for structure ( temp float)
26617a3babSopenharmony_ci0:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
27617a3babSopenharmony_ci0:6              Constant:
28617a3babSopenharmony_ci0:6                2 (const int)
29617a3babSopenharmony_ci0:10  Function Definition: @main( ( temp 4-component vector of float)
30617a3babSopenharmony_ci0:10    Function Parameters: 
31617a3babSopenharmony_ci0:?     Sequence
32617a3babSopenharmony_ci0:11      Sequence
33617a3babSopenharmony_ci0:11        move second child to first child ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
34617a3babSopenharmony_ci0:11          'tex' ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
35617a3babSopenharmony_ci0:11          Construct structure ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
36617a3babSopenharmony_ci0:11            'g_tInputTexture_sampler' ( uniform sampler)
37617a3babSopenharmony_ci0:11            'g_tInputTexture' ( uniform texture2D)
38617a3babSopenharmony_ci0:11            Constant:
39617a3babSopenharmony_ci0:11              0.500000
40617a3babSopenharmony_ci0:12      Branch: Return with expression
41617a3babSopenharmony_ci0:12        Function Call: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float)
42617a3babSopenharmony_ci0:12          'tex' ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
43617a3babSopenharmony_ci0:10  Function Definition: main( ( temp void)
44617a3babSopenharmony_ci0:10    Function Parameters: 
45617a3babSopenharmony_ci0:?     Sequence
46617a3babSopenharmony_ci0:10      move second child to first child ( temp 4-component vector of float)
47617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
48617a3babSopenharmony_ci0:10        Function Call: @main( ( temp 4-component vector of float)
49617a3babSopenharmony_ci0:?   Linker Objects
50617a3babSopenharmony_ci0:?     'g_tInputTexture_sampler' ( uniform sampler)
51617a3babSopenharmony_ci0:?     'g_tInputTexture' ( uniform texture2D)
52617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
53617a3babSopenharmony_ci
54617a3babSopenharmony_ci
55617a3babSopenharmony_ciLinked vertex stage:
56617a3babSopenharmony_ci
57617a3babSopenharmony_ci
58617a3babSopenharmony_ciShader version: 500
59617a3babSopenharmony_ci0:? Sequence
60617a3babSopenharmony_ci0:5  Function Definition: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float)
61617a3babSopenharmony_ci0:5    Function Parameters: 
62617a3babSopenharmony_ci0:5      'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
63617a3babSopenharmony_ci0:?     Sequence
64617a3babSopenharmony_ci0:6      Branch: Return with expression
65617a3babSopenharmony_ci0:6        texture ( temp 4-component vector of float)
66617a3babSopenharmony_ci0:6          Construct combined texture-sampler ( temp sampler2D)
67617a3babSopenharmony_ci0:6            tex: direct index for structure ( temp texture2D)
68617a3babSopenharmony_ci0:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
69617a3babSopenharmony_ci0:6              Constant:
70617a3babSopenharmony_ci0:6                1 (const int)
71617a3babSopenharmony_ci0:6            smpl: direct index for structure ( temp sampler)
72617a3babSopenharmony_ci0:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
73617a3babSopenharmony_ci0:6              Constant:
74617a3babSopenharmony_ci0:6                0 (const int)
75617a3babSopenharmony_ci0:6          Construct vec2 ( temp 2-component vector of float)
76617a3babSopenharmony_ci0:6            f: direct index for structure ( temp float)
77617a3babSopenharmony_ci0:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
78617a3babSopenharmony_ci0:6              Constant:
79617a3babSopenharmony_ci0:6                2 (const int)
80617a3babSopenharmony_ci0:6            f: direct index for structure ( temp float)
81617a3babSopenharmony_ci0:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
82617a3babSopenharmony_ci0:6              Constant:
83617a3babSopenharmony_ci0:6                2 (const int)
84617a3babSopenharmony_ci0:10  Function Definition: @main( ( temp 4-component vector of float)
85617a3babSopenharmony_ci0:10    Function Parameters: 
86617a3babSopenharmony_ci0:?     Sequence
87617a3babSopenharmony_ci0:11      Sequence
88617a3babSopenharmony_ci0:11        move second child to first child ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
89617a3babSopenharmony_ci0:11          'tex' ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
90617a3babSopenharmony_ci0:11          Construct structure ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
91617a3babSopenharmony_ci0:11            'g_tInputTexture_sampler' ( uniform sampler)
92617a3babSopenharmony_ci0:11            'g_tInputTexture' ( uniform texture2D)
93617a3babSopenharmony_ci0:11            Constant:
94617a3babSopenharmony_ci0:11              0.500000
95617a3babSopenharmony_ci0:12      Branch: Return with expression
96617a3babSopenharmony_ci0:12        Function Call: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float)
97617a3babSopenharmony_ci0:12          'tex' ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
98617a3babSopenharmony_ci0:10  Function Definition: main( ( temp void)
99617a3babSopenharmony_ci0:10    Function Parameters: 
100617a3babSopenharmony_ci0:?     Sequence
101617a3babSopenharmony_ci0:10      move second child to first child ( temp 4-component vector of float)
102617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
103617a3babSopenharmony_ci0:10        Function Call: @main( ( temp 4-component vector of float)
104617a3babSopenharmony_ci0:?   Linker Objects
105617a3babSopenharmony_ci0:?     'g_tInputTexture_sampler' ( uniform sampler)
106617a3babSopenharmony_ci0:?     'g_tInputTexture' ( uniform texture2D)
107617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
108617a3babSopenharmony_ci
109617a3babSopenharmony_ci// Module Version 10000
110617a3babSopenharmony_ci// Generated by (magic number): 8000b
111617a3babSopenharmony_ci// Id's are bound by 59
112617a3babSopenharmony_ci
113617a3babSopenharmony_ci                              Capability Shader
114617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
115617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
116617a3babSopenharmony_ci                              EntryPoint Vertex 4  "main" 57
117617a3babSopenharmony_ci                              Source HLSL 500
118617a3babSopenharmony_ci                              Name 4  "main"
119617a3babSopenharmony_ci                              Name 9  "FxaaTex"
120617a3babSopenharmony_ci                              MemberName 9(FxaaTex) 0  "smpl"
121617a3babSopenharmony_ci                              MemberName 9(FxaaTex) 1  "tex"
122617a3babSopenharmony_ci                              MemberName 9(FxaaTex) 2  "f"
123617a3babSopenharmony_ci                              Name 14  "lookUp(struct-FxaaTex-p1-t21-f11;"
124617a3babSopenharmony_ci                              Name 13  "tex"
125617a3babSopenharmony_ci                              Name 17  "@main("
126617a3babSopenharmony_ci                              Name 42  "tex"
127617a3babSopenharmony_ci                              Name 44  "g_tInputTexture_sampler"
128617a3babSopenharmony_ci                              Name 47  "g_tInputTexture"
129617a3babSopenharmony_ci                              Name 51  "param"
130617a3babSopenharmony_ci                              Name 57  "@entryPointOutput"
131617a3babSopenharmony_ci                              Decorate 44(g_tInputTexture_sampler) DescriptorSet 0
132617a3babSopenharmony_ci                              Decorate 44(g_tInputTexture_sampler) Binding 0
133617a3babSopenharmony_ci                              Decorate 47(g_tInputTexture) DescriptorSet 0
134617a3babSopenharmony_ci                              Decorate 47(g_tInputTexture) Binding 1
135617a3babSopenharmony_ci                              Decorate 57(@entryPointOutput) Location 0
136617a3babSopenharmony_ci               2:             TypeVoid
137617a3babSopenharmony_ci               3:             TypeFunction 2
138617a3babSopenharmony_ci               6:             TypeSampler
139617a3babSopenharmony_ci               7:             TypeFloat 32
140617a3babSopenharmony_ci               8:             TypeImage 7(float) 2D sampled format:Unknown
141617a3babSopenharmony_ci      9(FxaaTex):             TypeStruct 6 8 7(float)
142617a3babSopenharmony_ci              10:             TypePointer Function 9(FxaaTex)
143617a3babSopenharmony_ci              11:             TypeVector 7(float) 4
144617a3babSopenharmony_ci              12:             TypeFunction 11(fvec4) 10(ptr)
145617a3babSopenharmony_ci              16:             TypeFunction 11(fvec4)
146617a3babSopenharmony_ci              19:             TypeInt 32 1
147617a3babSopenharmony_ci              20:     19(int) Constant 1
148617a3babSopenharmony_ci              21:             TypePointer Function 8
149617a3babSopenharmony_ci              24:     19(int) Constant 0
150617a3babSopenharmony_ci              25:             TypePointer Function 6
151617a3babSopenharmony_ci              28:             TypeSampledImage 8
152617a3babSopenharmony_ci              30:     19(int) Constant 2
153617a3babSopenharmony_ci              31:             TypePointer Function 7(float)
154617a3babSopenharmony_ci              36:             TypeVector 7(float) 2
155617a3babSopenharmony_ci              38:    7(float) Constant 0
156617a3babSopenharmony_ci              43:             TypePointer UniformConstant 6
157617a3babSopenharmony_ci44(g_tInputTexture_sampler):     43(ptr) Variable UniformConstant
158617a3babSopenharmony_ci              46:             TypePointer UniformConstant 8
159617a3babSopenharmony_ci47(g_tInputTexture):     46(ptr) Variable UniformConstant
160617a3babSopenharmony_ci              49:    7(float) Constant 1056964608
161617a3babSopenharmony_ci              56:             TypePointer Output 11(fvec4)
162617a3babSopenharmony_ci57(@entryPointOutput):     56(ptr) Variable Output
163617a3babSopenharmony_ci         4(main):           2 Function None 3
164617a3babSopenharmony_ci               5:             Label
165617a3babSopenharmony_ci              58:   11(fvec4) FunctionCall 17(@main()
166617a3babSopenharmony_ci                              Store 57(@entryPointOutput) 58
167617a3babSopenharmony_ci                              Return
168617a3babSopenharmony_ci                              FunctionEnd
169617a3babSopenharmony_ci14(lookUp(struct-FxaaTex-p1-t21-f11;):   11(fvec4) Function None 12
170617a3babSopenharmony_ci         13(tex):     10(ptr) FunctionParameter
171617a3babSopenharmony_ci              15:             Label
172617a3babSopenharmony_ci              22:     21(ptr) AccessChain 13(tex) 20
173617a3babSopenharmony_ci              23:           8 Load 22
174617a3babSopenharmony_ci              26:     25(ptr) AccessChain 13(tex) 24
175617a3babSopenharmony_ci              27:           6 Load 26
176617a3babSopenharmony_ci              29:          28 SampledImage 23 27
177617a3babSopenharmony_ci              32:     31(ptr) AccessChain 13(tex) 30
178617a3babSopenharmony_ci              33:    7(float) Load 32
179617a3babSopenharmony_ci              34:     31(ptr) AccessChain 13(tex) 30
180617a3babSopenharmony_ci              35:    7(float) Load 34
181617a3babSopenharmony_ci              37:   36(fvec2) CompositeConstruct 33 35
182617a3babSopenharmony_ci              39:   11(fvec4) ImageSampleExplicitLod 29 37 Lod 38
183617a3babSopenharmony_ci                              ReturnValue 39
184617a3babSopenharmony_ci                              FunctionEnd
185617a3babSopenharmony_ci      17(@main():   11(fvec4) Function None 16
186617a3babSopenharmony_ci              18:             Label
187617a3babSopenharmony_ci         42(tex):     10(ptr) Variable Function
188617a3babSopenharmony_ci       51(param):     10(ptr) Variable Function
189617a3babSopenharmony_ci              45:           6 Load 44(g_tInputTexture_sampler)
190617a3babSopenharmony_ci              48:           8 Load 47(g_tInputTexture)
191617a3babSopenharmony_ci              50:  9(FxaaTex) CompositeConstruct 45 48 49
192617a3babSopenharmony_ci                              Store 42(tex) 50
193617a3babSopenharmony_ci              52:  9(FxaaTex) Load 42(tex)
194617a3babSopenharmony_ci                              Store 51(param) 52
195617a3babSopenharmony_ci              53:   11(fvec4) FunctionCall 14(lookUp(struct-FxaaTex-p1-t21-f11;) 51(param)
196617a3babSopenharmony_ci                              ReturnValue 53
197617a3babSopenharmony_ci                              FunctionEnd
198