1617a3babSopenharmony_cihlsl.structbuffer.append.frag
2617a3babSopenharmony_ciShader version: 500
3617a3babSopenharmony_cigl_FragCoord origin is upper left
4617a3babSopenharmony_ci0:? Sequence
5617a3babSopenharmony_ci0:7  Function Definition: @main(u1; ( temp 4-component vector of float)
6617a3babSopenharmony_ci0:7    Function Parameters: 
7617a3babSopenharmony_ci0:7      'pos' ( in uint)
8617a3babSopenharmony_ci0:?     Sequence
9617a3babSopenharmony_ci0:8      move second child to first child ( temp 4-component vector of float)
10617a3babSopenharmony_ci0:8        indirect index (layout( row_major std430) buffer 4-component vector of float)
11617a3babSopenharmony_ci0:8          @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of 4-component vector of float)
12617a3babSopenharmony_ci0:8            'sbuf_a' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of 4-component vector of float @data})
13617a3babSopenharmony_ci0:8            Constant:
14617a3babSopenharmony_ci0:8              0 (const uint)
15617a3babSopenharmony_ci0:8          AtomicAdd ( temp uint)
16617a3babSopenharmony_ci0:8            @count: direct index for structure ( temp uint)
17617a3babSopenharmony_ci0:8              'sbuf_a@count' (layout( row_major std430) buffer block{layout( row_major std430) buffer uint @count})
18617a3babSopenharmony_ci0:8              Constant:
19617a3babSopenharmony_ci0:8                0 (const int)
20617a3babSopenharmony_ci0:8            Constant:
21617a3babSopenharmony_ci0:8              1 (const uint)
22617a3babSopenharmony_ci0:8        Constant:
23617a3babSopenharmony_ci0:8          1.000000
24617a3babSopenharmony_ci0:8          2.000000
25617a3babSopenharmony_ci0:8          3.000000
26617a3babSopenharmony_ci0:8          4.000000
27617a3babSopenharmony_ci0:10      Branch: Return with expression
28617a3babSopenharmony_ci0:10        indirect index (layout( row_major std430) buffer 4-component vector of float)
29617a3babSopenharmony_ci0:10          @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of 4-component vector of float)
30617a3babSopenharmony_ci0:10            'sbuf_c' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of 4-component vector of float @data})
31617a3babSopenharmony_ci0:10            Constant:
32617a3babSopenharmony_ci0:10              0 (const uint)
33617a3babSopenharmony_ci0:10          add ( temp uint)
34617a3babSopenharmony_ci0:10            AtomicAdd ( temp uint)
35617a3babSopenharmony_ci0:10              @count: direct index for structure ( temp uint)
36617a3babSopenharmony_ci0:10                'sbuf_c@count' (layout( row_major std430) buffer block{layout( row_major std430) buffer uint @count})
37617a3babSopenharmony_ci0:10                Constant:
38617a3babSopenharmony_ci0:10                  0 (const int)
39617a3babSopenharmony_ci0:10              Constant:
40617a3babSopenharmony_ci0:10                4294967295 (const uint)
41617a3babSopenharmony_ci0:10            Constant:
42617a3babSopenharmony_ci0:10              -1 (const int)
43617a3babSopenharmony_ci0:7  Function Definition: main( ( temp void)
44617a3babSopenharmony_ci0:7    Function Parameters: 
45617a3babSopenharmony_ci0:?     Sequence
46617a3babSopenharmony_ci0:7      move second child to first child ( temp uint)
47617a3babSopenharmony_ci0:?         'pos' ( temp uint)
48617a3babSopenharmony_ci0:?         'pos' (layout( location=0) flat in uint)
49617a3babSopenharmony_ci0:7      move second child to first child ( temp 4-component vector of float)
50617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
51617a3babSopenharmony_ci0:7        Function Call: @main(u1; ( temp 4-component vector of float)
52617a3babSopenharmony_ci0:?           'pos' ( temp uint)
53617a3babSopenharmony_ci0:?   Linker Objects
54617a3babSopenharmony_ci0:?     'sbuf_a' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of 4-component vector of float @data})
55617a3babSopenharmony_ci0:?     'sbuf_a@count' (layout( row_major std430) buffer block{layout( row_major std430) buffer uint @count})
56617a3babSopenharmony_ci0:?     'sbuf_c' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of 4-component vector of float @data})
57617a3babSopenharmony_ci0:?     'sbuf_c@count' (layout( row_major std430) buffer block{layout( row_major std430) buffer uint @count})
58617a3babSopenharmony_ci0:?     'sbuf_unused' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of 4-component vector of float @data})
59617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
60617a3babSopenharmony_ci0:?     'pos' (layout( location=0) flat in uint)
61617a3babSopenharmony_ci
62617a3babSopenharmony_ci
63617a3babSopenharmony_ciLinked fragment stage:
64617a3babSopenharmony_ci
65617a3babSopenharmony_ci
66617a3babSopenharmony_ciShader version: 500
67617a3babSopenharmony_cigl_FragCoord origin is upper left
68617a3babSopenharmony_ci0:? Sequence
69617a3babSopenharmony_ci0:7  Function Definition: @main(u1; ( temp 4-component vector of float)
70617a3babSopenharmony_ci0:7    Function Parameters: 
71617a3babSopenharmony_ci0:7      'pos' ( in uint)
72617a3babSopenharmony_ci0:?     Sequence
73617a3babSopenharmony_ci0:8      move second child to first child ( temp 4-component vector of float)
74617a3babSopenharmony_ci0:8        indirect index (layout( row_major std430) buffer 4-component vector of float)
75617a3babSopenharmony_ci0:8          @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of 4-component vector of float)
76617a3babSopenharmony_ci0:8            'sbuf_a' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of 4-component vector of float @data})
77617a3babSopenharmony_ci0:8            Constant:
78617a3babSopenharmony_ci0:8              0 (const uint)
79617a3babSopenharmony_ci0:8          AtomicAdd ( temp uint)
80617a3babSopenharmony_ci0:8            @count: direct index for structure ( temp uint)
81617a3babSopenharmony_ci0:8              'sbuf_a@count' (layout( row_major std430) buffer block{layout( row_major std430) buffer uint @count})
82617a3babSopenharmony_ci0:8              Constant:
83617a3babSopenharmony_ci0:8                0 (const int)
84617a3babSopenharmony_ci0:8            Constant:
85617a3babSopenharmony_ci0:8              1 (const uint)
86617a3babSopenharmony_ci0:8        Constant:
87617a3babSopenharmony_ci0:8          1.000000
88617a3babSopenharmony_ci0:8          2.000000
89617a3babSopenharmony_ci0:8          3.000000
90617a3babSopenharmony_ci0:8          4.000000
91617a3babSopenharmony_ci0:10      Branch: Return with expression
92617a3babSopenharmony_ci0:10        indirect index (layout( row_major std430) buffer 4-component vector of float)
93617a3babSopenharmony_ci0:10          @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of 4-component vector of float)
94617a3babSopenharmony_ci0:10            'sbuf_c' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of 4-component vector of float @data})
95617a3babSopenharmony_ci0:10            Constant:
96617a3babSopenharmony_ci0:10              0 (const uint)
97617a3babSopenharmony_ci0:10          add ( temp uint)
98617a3babSopenharmony_ci0:10            AtomicAdd ( temp uint)
99617a3babSopenharmony_ci0:10              @count: direct index for structure ( temp uint)
100617a3babSopenharmony_ci0:10                'sbuf_c@count' (layout( row_major std430) buffer block{layout( row_major std430) buffer uint @count})
101617a3babSopenharmony_ci0:10                Constant:
102617a3babSopenharmony_ci0:10                  0 (const int)
103617a3babSopenharmony_ci0:10              Constant:
104617a3babSopenharmony_ci0:10                4294967295 (const uint)
105617a3babSopenharmony_ci0:10            Constant:
106617a3babSopenharmony_ci0:10              -1 (const int)
107617a3babSopenharmony_ci0:7  Function Definition: main( ( temp void)
108617a3babSopenharmony_ci0:7    Function Parameters: 
109617a3babSopenharmony_ci0:?     Sequence
110617a3babSopenharmony_ci0:7      move second child to first child ( temp uint)
111617a3babSopenharmony_ci0:?         'pos' ( temp uint)
112617a3babSopenharmony_ci0:?         'pos' (layout( location=0) flat in uint)
113617a3babSopenharmony_ci0:7      move second child to first child ( temp 4-component vector of float)
114617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
115617a3babSopenharmony_ci0:7        Function Call: @main(u1; ( temp 4-component vector of float)
116617a3babSopenharmony_ci0:?           'pos' ( temp uint)
117617a3babSopenharmony_ci0:?   Linker Objects
118617a3babSopenharmony_ci0:?     'sbuf_a' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of 4-component vector of float @data})
119617a3babSopenharmony_ci0:?     'sbuf_a@count' (layout( row_major std430) buffer block{layout( row_major std430) buffer uint @count})
120617a3babSopenharmony_ci0:?     'sbuf_c' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of 4-component vector of float @data})
121617a3babSopenharmony_ci0:?     'sbuf_c@count' (layout( row_major std430) buffer block{layout( row_major std430) buffer uint @count})
122617a3babSopenharmony_ci0:?     'sbuf_unused' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of 4-component vector of float @data})
123617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
124617a3babSopenharmony_ci0:?     'pos' (layout( location=0) flat in uint)
125617a3babSopenharmony_ci
126617a3babSopenharmony_ci// Module Version 10000
127617a3babSopenharmony_ci// Generated by (magic number): 8000b
128617a3babSopenharmony_ci// Id's are bound by 56
129617a3babSopenharmony_ci
130617a3babSopenharmony_ci                              Capability Shader
131617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
132617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
133617a3babSopenharmony_ci                              EntryPoint Fragment 4  "main" 48 51
134617a3babSopenharmony_ci                              ExecutionMode 4 OriginUpperLeft
135617a3babSopenharmony_ci                              Source HLSL 500
136617a3babSopenharmony_ci                              Name 4  "main"
137617a3babSopenharmony_ci                              Name 12  "@main(u1;"
138617a3babSopenharmony_ci                              Name 11  "pos"
139617a3babSopenharmony_ci                              Name 15  "sbuf_a"
140617a3babSopenharmony_ci                              MemberName 15(sbuf_a) 0  "@data"
141617a3babSopenharmony_ci                              Name 17  "sbuf_a"
142617a3babSopenharmony_ci                              Name 20  "sbuf_a@count"
143617a3babSopenharmony_ci                              MemberName 20(sbuf_a@count) 0  "@count"
144617a3babSopenharmony_ci                              Name 22  "sbuf_a@count"
145617a3babSopenharmony_ci                              Name 35  "sbuf_c"
146617a3babSopenharmony_ci                              Name 36  "sbuf_c@count"
147617a3babSopenharmony_ci                              Name 46  "pos"
148617a3babSopenharmony_ci                              Name 48  "pos"
149617a3babSopenharmony_ci                              Name 51  "@entryPointOutput"
150617a3babSopenharmony_ci                              Name 52  "param"
151617a3babSopenharmony_ci                              Name 55  "sbuf_unused"
152617a3babSopenharmony_ci                              Decorate 14 ArrayStride 16
153617a3babSopenharmony_ci                              MemberDecorate 15(sbuf_a) 0 Offset 0
154617a3babSopenharmony_ci                              Decorate 15(sbuf_a) BufferBlock
155617a3babSopenharmony_ci                              Decorate 17(sbuf_a) DescriptorSet 0
156617a3babSopenharmony_ci                              Decorate 17(sbuf_a) Binding 0
157617a3babSopenharmony_ci                              MemberDecorate 20(sbuf_a@count) 0 Offset 0
158617a3babSopenharmony_ci                              Decorate 20(sbuf_a@count) BufferBlock
159617a3babSopenharmony_ci                              Decorate 22(sbuf_a@count) DescriptorSet 0
160617a3babSopenharmony_ci                              Decorate 22(sbuf_a@count) Binding 1
161617a3babSopenharmony_ci                              Decorate 35(sbuf_c) DescriptorSet 0
162617a3babSopenharmony_ci                              Decorate 35(sbuf_c) Binding 2
163617a3babSopenharmony_ci                              Decorate 36(sbuf_c@count) DescriptorSet 0
164617a3babSopenharmony_ci                              Decorate 36(sbuf_c@count) Binding 3
165617a3babSopenharmony_ci                              Decorate 48(pos) Flat
166617a3babSopenharmony_ci                              Decorate 48(pos) Location 0
167617a3babSopenharmony_ci                              Decorate 51(@entryPointOutput) Location 0
168617a3babSopenharmony_ci                              Decorate 55(sbuf_unused) DescriptorSet 0
169617a3babSopenharmony_ci                              Decorate 55(sbuf_unused) Binding 0
170617a3babSopenharmony_ci               2:             TypeVoid
171617a3babSopenharmony_ci               3:             TypeFunction 2
172617a3babSopenharmony_ci               6:             TypeInt 32 0
173617a3babSopenharmony_ci               7:             TypePointer Function 6(int)
174617a3babSopenharmony_ci               8:             TypeFloat 32
175617a3babSopenharmony_ci               9:             TypeVector 8(float) 4
176617a3babSopenharmony_ci              10:             TypeFunction 9(fvec4) 7(ptr)
177617a3babSopenharmony_ci              14:             TypeRuntimeArray 9(fvec4)
178617a3babSopenharmony_ci      15(sbuf_a):             TypeStruct 14
179617a3babSopenharmony_ci              16:             TypePointer Uniform 15(sbuf_a)
180617a3babSopenharmony_ci      17(sbuf_a):     16(ptr) Variable Uniform
181617a3babSopenharmony_ci              18:             TypeInt 32 1
182617a3babSopenharmony_ci              19:     18(int) Constant 0
183617a3babSopenharmony_ci20(sbuf_a@count):             TypeStruct 6(int)
184617a3babSopenharmony_ci              21:             TypePointer Uniform 20(sbuf_a@count)
185617a3babSopenharmony_ci22(sbuf_a@count):     21(ptr) Variable Uniform
186617a3babSopenharmony_ci              23:             TypePointer Uniform 6(int)
187617a3babSopenharmony_ci              25:      6(int) Constant 1
188617a3babSopenharmony_ci              26:      6(int) Constant 0
189617a3babSopenharmony_ci              28:    8(float) Constant 1065353216
190617a3babSopenharmony_ci              29:    8(float) Constant 1073741824
191617a3babSopenharmony_ci              30:    8(float) Constant 1077936128
192617a3babSopenharmony_ci              31:    8(float) Constant 1082130432
193617a3babSopenharmony_ci              32:    9(fvec4) ConstantComposite 28 29 30 31
194617a3babSopenharmony_ci              33:             TypePointer Uniform 9(fvec4)
195617a3babSopenharmony_ci      35(sbuf_c):     16(ptr) Variable Uniform
196617a3babSopenharmony_ci36(sbuf_c@count):     21(ptr) Variable Uniform
197617a3babSopenharmony_ci              38:      6(int) Constant 4294967295
198617a3babSopenharmony_ci              40:     18(int) Constant 4294967295
199617a3babSopenharmony_ci              47:             TypePointer Input 6(int)
200617a3babSopenharmony_ci         48(pos):     47(ptr) Variable Input
201617a3babSopenharmony_ci              50:             TypePointer Output 9(fvec4)
202617a3babSopenharmony_ci51(@entryPointOutput):     50(ptr) Variable Output
203617a3babSopenharmony_ci 55(sbuf_unused):     16(ptr) Variable Uniform
204617a3babSopenharmony_ci         4(main):           2 Function None 3
205617a3babSopenharmony_ci               5:             Label
206617a3babSopenharmony_ci         46(pos):      7(ptr) Variable Function
207617a3babSopenharmony_ci       52(param):      7(ptr) Variable Function
208617a3babSopenharmony_ci              49:      6(int) Load 48(pos)
209617a3babSopenharmony_ci                              Store 46(pos) 49
210617a3babSopenharmony_ci              53:      6(int) Load 46(pos)
211617a3babSopenharmony_ci                              Store 52(param) 53
212617a3babSopenharmony_ci              54:    9(fvec4) FunctionCall 12(@main(u1;) 52(param)
213617a3babSopenharmony_ci                              Store 51(@entryPointOutput) 54
214617a3babSopenharmony_ci                              Return
215617a3babSopenharmony_ci                              FunctionEnd
216617a3babSopenharmony_ci   12(@main(u1;):    9(fvec4) Function None 10
217617a3babSopenharmony_ci         11(pos):      7(ptr) FunctionParameter
218617a3babSopenharmony_ci              13:             Label
219617a3babSopenharmony_ci              24:     23(ptr) AccessChain 22(sbuf_a@count) 19
220617a3babSopenharmony_ci              27:      6(int) AtomicIAdd 24 25 26 25
221617a3babSopenharmony_ci              34:     33(ptr) AccessChain 17(sbuf_a) 19 27
222617a3babSopenharmony_ci                              Store 34 32
223617a3babSopenharmony_ci              37:     23(ptr) AccessChain 36(sbuf_c@count) 19
224617a3babSopenharmony_ci              39:      6(int) AtomicIAdd 37 25 26 38
225617a3babSopenharmony_ci              41:      6(int) IAdd 39 40
226617a3babSopenharmony_ci              42:     33(ptr) AccessChain 35(sbuf_c) 19 41
227617a3babSopenharmony_ci              43:    9(fvec4) Load 42
228617a3babSopenharmony_ci                              ReturnValue 43
229617a3babSopenharmony_ci                              FunctionEnd
230