1617a3babSopenharmony_cihlsl.attributeC11.frag
2617a3babSopenharmony_ciShader version: 500
3617a3babSopenharmony_cigl_FragCoord origin is upper left
4617a3babSopenharmony_ci0:? Sequence
5617a3babSopenharmony_ci0:20  Function Definition: @main(vf4; ( temp 4-component vector of float)
6617a3babSopenharmony_ci0:20    Function Parameters: 
7617a3babSopenharmony_ci0:20      'input' ( in 4-component vector of float)
8617a3babSopenharmony_ci0:?     Sequence
9617a3babSopenharmony_ci0:21      Branch: Return with expression
10617a3babSopenharmony_ci0:21        add ( temp 4-component vector of float)
11617a3babSopenharmony_ci0:21          'input' ( in 4-component vector of float)
12617a3babSopenharmony_ci0:21          textureFetch ( temp 4-component vector of float)
13617a3babSopenharmony_ci0:21            'attach' ( uniform texture2D)
14617a3babSopenharmony_ci0:21            vector swizzle ( temp int)
15617a3babSopenharmony_ci0:21              Constant:
16617a3babSopenharmony_ci0:21                0 (const int)
17617a3babSopenharmony_ci0:21                0 (const int)
18617a3babSopenharmony_ci0:21              Sequence
19617a3babSopenharmony_ci0:21                Constant:
20617a3babSopenharmony_ci0:21                  0 (const int)
21617a3babSopenharmony_ci0:21            direct index ( temp int)
22617a3babSopenharmony_ci0:21              Constant:
23617a3babSopenharmony_ci0:21                0 (const int)
24617a3babSopenharmony_ci0:21                0 (const int)
25617a3babSopenharmony_ci0:21              Constant:
26617a3babSopenharmony_ci0:21                1 (const int)
27617a3babSopenharmony_ci0:20  Function Definition: main( ( temp void)
28617a3babSopenharmony_ci0:20    Function Parameters: 
29617a3babSopenharmony_ci0:?     Sequence
30617a3babSopenharmony_ci0:20      move second child to first child ( temp 4-component vector of float)
31617a3babSopenharmony_ci0:?         'input' ( temp 4-component vector of float)
32617a3babSopenharmony_ci0:?         'input' (layout( location=8) in 4-component vector of float)
33617a3babSopenharmony_ci0:20      move second child to first child ( temp 4-component vector of float)
34617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=7) out 4-component vector of float)
35617a3babSopenharmony_ci0:20        Function Call: @main(vf4; ( temp 4-component vector of float)
36617a3babSopenharmony_ci0:?           'input' ( temp 4-component vector of float)
37617a3babSopenharmony_ci0:?   Linker Objects
38617a3babSopenharmony_ci0:?     'buffer1' (layout( set=0 binding=1 row_major std430) readonly buffer block{layout( row_major std430) buffer unsized 1-element array of structure{ temp 2-component vector of float f} @data})
39617a3babSopenharmony_ci0:?     'buffer3' (layout( set=2 binding=3 row_major std430) readonly buffer block{layout( row_major std430) buffer unsized 1-element array of structure{ temp 2-component vector of float f} @data})
40617a3babSopenharmony_ci0:?     'attach' ( uniform texture2D)
41617a3babSopenharmony_ci0:?     'ci' ( specialization-constant const int)
42617a3babSopenharmony_ci0:?       11 (const int)
43617a3babSopenharmony_ci0:?     'anon@0' (layout( row_major std430 push_constant) uniform block{layout( row_major std430 offset=0) uniform int a})
44617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=7) out 4-component vector of float)
45617a3babSopenharmony_ci0:?     'input' (layout( location=8) 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:20  Function Definition: @main(vf4; ( temp 4-component vector of float)
55617a3babSopenharmony_ci0:20    Function Parameters: 
56617a3babSopenharmony_ci0:20      'input' ( in 4-component vector of float)
57617a3babSopenharmony_ci0:?     Sequence
58617a3babSopenharmony_ci0:21      Branch: Return with expression
59617a3babSopenharmony_ci0:21        add ( temp 4-component vector of float)
60617a3babSopenharmony_ci0:21          'input' ( in 4-component vector of float)
61617a3babSopenharmony_ci0:21          textureFetch ( temp 4-component vector of float)
62617a3babSopenharmony_ci0:21            'attach' ( uniform texture2D)
63617a3babSopenharmony_ci0:21            vector swizzle ( temp int)
64617a3babSopenharmony_ci0:21              Constant:
65617a3babSopenharmony_ci0:21                0 (const int)
66617a3babSopenharmony_ci0:21                0 (const int)
67617a3babSopenharmony_ci0:21              Sequence
68617a3babSopenharmony_ci0:21                Constant:
69617a3babSopenharmony_ci0:21                  0 (const int)
70617a3babSopenharmony_ci0:21            direct index ( temp int)
71617a3babSopenharmony_ci0:21              Constant:
72617a3babSopenharmony_ci0:21                0 (const int)
73617a3babSopenharmony_ci0:21                0 (const int)
74617a3babSopenharmony_ci0:21              Constant:
75617a3babSopenharmony_ci0:21                1 (const int)
76617a3babSopenharmony_ci0:20  Function Definition: main( ( temp void)
77617a3babSopenharmony_ci0:20    Function Parameters: 
78617a3babSopenharmony_ci0:?     Sequence
79617a3babSopenharmony_ci0:20      move second child to first child ( temp 4-component vector of float)
80617a3babSopenharmony_ci0:?         'input' ( temp 4-component vector of float)
81617a3babSopenharmony_ci0:?         'input' (layout( location=8) in 4-component vector of float)
82617a3babSopenharmony_ci0:20      move second child to first child ( temp 4-component vector of float)
83617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=7) out 4-component vector of float)
84617a3babSopenharmony_ci0:20        Function Call: @main(vf4; ( temp 4-component vector of float)
85617a3babSopenharmony_ci0:?           'input' ( temp 4-component vector of float)
86617a3babSopenharmony_ci0:?   Linker Objects
87617a3babSopenharmony_ci0:?     'buffer1' (layout( set=0 binding=1 row_major std430) readonly buffer block{layout( row_major std430) buffer unsized 1-element array of structure{ temp 2-component vector of float f} @data})
88617a3babSopenharmony_ci0:?     'buffer3' (layout( set=2 binding=3 row_major std430) readonly buffer block{layout( row_major std430) buffer unsized 1-element array of structure{ temp 2-component vector of float f} @data})
89617a3babSopenharmony_ci0:?     'attach' ( uniform texture2D)
90617a3babSopenharmony_ci0:?     'ci' ( specialization-constant const int)
91617a3babSopenharmony_ci0:?       11 (const int)
92617a3babSopenharmony_ci0:?     'anon@0' (layout( row_major std430 push_constant) uniform block{layout( row_major std430 offset=0) uniform int a})
93617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=7) out 4-component vector of float)
94617a3babSopenharmony_ci0:?     'input' (layout( location=8) in 4-component vector of float)
95617a3babSopenharmony_ci
96617a3babSopenharmony_ciValidation failed
97617a3babSopenharmony_ci// Module Version 10000
98617a3babSopenharmony_ci// Generated by (magic number): 8000b
99617a3babSopenharmony_ci// Id's are bound by 51
100617a3babSopenharmony_ci
101617a3babSopenharmony_ci                              Capability Shader
102617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
103617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
104617a3babSopenharmony_ci                              EntryPoint Fragment 4  "main" 33 36
105617a3babSopenharmony_ci                              ExecutionMode 4 OriginUpperLeft
106617a3babSopenharmony_ci                              Source HLSL 500
107617a3babSopenharmony_ci                              Name 4  "main"
108617a3babSopenharmony_ci                              Name 11  "@main(vf4;"
109617a3babSopenharmony_ci                              Name 10  "input"
110617a3babSopenharmony_ci                              Name 16  "attach"
111617a3babSopenharmony_ci                              Name 31  "input"
112617a3babSopenharmony_ci                              Name 33  "input"
113617a3babSopenharmony_ci                              Name 36  "@entryPointOutput"
114617a3babSopenharmony_ci                              Name 37  "param"
115617a3babSopenharmony_ci                              Name 41  "S"
116617a3babSopenharmony_ci                              MemberName 41(S) 0  "f"
117617a3babSopenharmony_ci                              Name 43  "buffer1"
118617a3babSopenharmony_ci                              MemberName 43(buffer1) 0  "@data"
119617a3babSopenharmony_ci                              Name 45  "buffer1"
120617a3babSopenharmony_ci                              Name 46  "buffer3"
121617a3babSopenharmony_ci                              Name 47  "ci"
122617a3babSopenharmony_ci                              Name 48  "pcBuf"
123617a3babSopenharmony_ci                              MemberName 48(pcBuf) 0  "a"
124617a3babSopenharmony_ci                              Name 50  ""
125617a3babSopenharmony_ci                              Decorate 16(attach) DescriptorSet 0
126617a3babSopenharmony_ci                              Decorate 16(attach) Binding 0
127617a3babSopenharmony_ci                              Decorate 16(attach) InputAttachmentIndex 4
128617a3babSopenharmony_ci                              Decorate 33(input) Location 8
129617a3babSopenharmony_ci                              Decorate 36(@entryPointOutput) Location 7
130617a3babSopenharmony_ci                              MemberDecorate 41(S) 0 Offset 0
131617a3babSopenharmony_ci                              Decorate 42 ArrayStride 8
132617a3babSopenharmony_ci                              MemberDecorate 43(buffer1) 0 NonWritable
133617a3babSopenharmony_ci                              MemberDecorate 43(buffer1) 0 Offset 0
134617a3babSopenharmony_ci                              Decorate 43(buffer1) BufferBlock
135617a3babSopenharmony_ci                              Decorate 45(buffer1) DescriptorSet 0
136617a3babSopenharmony_ci                              Decorate 45(buffer1) Binding 1
137617a3babSopenharmony_ci                              Decorate 46(buffer3) DescriptorSet 2
138617a3babSopenharmony_ci                              Decorate 46(buffer3) Binding 3
139617a3babSopenharmony_ci                              Decorate 47(ci) SpecId 13
140617a3babSopenharmony_ci                              MemberDecorate 48(pcBuf) 0 Offset 0
141617a3babSopenharmony_ci                              Decorate 48(pcBuf) Block
142617a3babSopenharmony_ci               2:             TypeVoid
143617a3babSopenharmony_ci               3:             TypeFunction 2
144617a3babSopenharmony_ci               6:             TypeFloat 32
145617a3babSopenharmony_ci               7:             TypeVector 6(float) 4
146617a3babSopenharmony_ci               8:             TypePointer Function 7(fvec4)
147617a3babSopenharmony_ci               9:             TypeFunction 7(fvec4) 8(ptr)
148617a3babSopenharmony_ci              14:             TypeImage 6(float) 2D sampled format:Unknown
149617a3babSopenharmony_ci              15:             TypePointer UniformConstant 14
150617a3babSopenharmony_ci      16(attach):     15(ptr) Variable UniformConstant
151617a3babSopenharmony_ci              18:             TypeInt 32 1
152617a3babSopenharmony_ci              19:             TypeVector 18(int) 2
153617a3babSopenharmony_ci              20:     18(int) Constant 0
154617a3babSopenharmony_ci              21:   19(ivec2) ConstantComposite 20 20
155617a3babSopenharmony_ci              22:             TypeInt 32 0
156617a3babSopenharmony_ci              23:     22(int) Constant 0
157617a3babSopenharmony_ci              25:     22(int) Constant 1
158617a3babSopenharmony_ci              32:             TypePointer Input 7(fvec4)
159617a3babSopenharmony_ci       33(input):     32(ptr) Variable Input
160617a3babSopenharmony_ci              35:             TypePointer Output 7(fvec4)
161617a3babSopenharmony_ci36(@entryPointOutput):     35(ptr) Variable Output
162617a3babSopenharmony_ci              40:             TypeVector 6(float) 2
163617a3babSopenharmony_ci           41(S):             TypeStruct 40(fvec2)
164617a3babSopenharmony_ci              42:             TypeRuntimeArray 41(S)
165617a3babSopenharmony_ci     43(buffer1):             TypeStruct 42
166617a3babSopenharmony_ci              44:             TypePointer Uniform 43(buffer1)
167617a3babSopenharmony_ci     45(buffer1):     44(ptr) Variable Uniform
168617a3babSopenharmony_ci     46(buffer3):     44(ptr) Variable Uniform
169617a3babSopenharmony_ci          47(ci):     18(int) SpecConstant 11
170617a3babSopenharmony_ci       48(pcBuf):             TypeStruct 18(int)
171617a3babSopenharmony_ci              49:             TypePointer PushConstant 48(pcBuf)
172617a3babSopenharmony_ci              50:     49(ptr) Variable PushConstant
173617a3babSopenharmony_ci         4(main):           2 Function None 3
174617a3babSopenharmony_ci               5:             Label
175617a3babSopenharmony_ci       31(input):      8(ptr) Variable Function
176617a3babSopenharmony_ci       37(param):      8(ptr) Variable Function
177617a3babSopenharmony_ci              34:    7(fvec4) Load 33(input)
178617a3babSopenharmony_ci                              Store 31(input) 34
179617a3babSopenharmony_ci              38:    7(fvec4) Load 31(input)
180617a3babSopenharmony_ci                              Store 37(param) 38
181617a3babSopenharmony_ci              39:    7(fvec4) FunctionCall 11(@main(vf4;) 37(param)
182617a3babSopenharmony_ci                              Store 36(@entryPointOutput) 39
183617a3babSopenharmony_ci                              Return
184617a3babSopenharmony_ci                              FunctionEnd
185617a3babSopenharmony_ci  11(@main(vf4;):    7(fvec4) Function None 9
186617a3babSopenharmony_ci       10(input):      8(ptr) FunctionParameter
187617a3babSopenharmony_ci              12:             Label
188617a3babSopenharmony_ci              13:    7(fvec4) Load 10(input)
189617a3babSopenharmony_ci              17:          14 Load 16(attach)
190617a3babSopenharmony_ci              24:     18(int) CompositeExtract 21 0
191617a3babSopenharmony_ci              26:     18(int) CompositeExtract 21 1
192617a3babSopenharmony_ci              27:    7(fvec4) ImageFetch 17 24 Lod 26
193617a3babSopenharmony_ci              28:    7(fvec4) FAdd 13 27
194617a3babSopenharmony_ci                              ReturnValue 28
195617a3babSopenharmony_ci                              FunctionEnd
196