1617a3babSopenharmony_cihlsl.promote.atomic.frag
2617a3babSopenharmony_ciShader version: 500
3617a3babSopenharmony_cigl_FragCoord origin is upper left
4617a3babSopenharmony_ci0:? Sequence
5617a3babSopenharmony_ci0:5  Function Definition: @main( ( temp 4-component vector of float)
6617a3babSopenharmony_ci0:5    Function Parameters: 
7617a3babSopenharmony_ci0:?     Sequence
8617a3babSopenharmony_ci0:13      move second child to first child ( temp int)
9617a3babSopenharmony_ci0:13        'Orig' ( temp int)
10617a3babSopenharmony_ci0:13        Convert uint to int ( temp int)
11617a3babSopenharmony_ci0:13          imageAtomicAdd ( temp uint)
12617a3babSopenharmony_ci0:13            's_uintbuff' (layout( r32ui) uniform uimageBuffer)
13617a3babSopenharmony_ci0:13            'Loc' ( temp int)
14617a3babSopenharmony_ci0:13            Convert int to uint ( temp uint)
15617a3babSopenharmony_ci0:13              'Inc' ( temp int)
16617a3babSopenharmony_ci0:15      Branch: Return with expression
17617a3babSopenharmony_ci0:15        Constant:
18617a3babSopenharmony_ci0:15          0.000000
19617a3babSopenharmony_ci0:15          0.000000
20617a3babSopenharmony_ci0:15          0.000000
21617a3babSopenharmony_ci0:15          0.000000
22617a3babSopenharmony_ci0:5  Function Definition: main( ( temp void)
23617a3babSopenharmony_ci0:5    Function Parameters: 
24617a3babSopenharmony_ci0:?     Sequence
25617a3babSopenharmony_ci0:5      move second child to first child ( temp 4-component vector of float)
26617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
27617a3babSopenharmony_ci0:5        Function Call: @main( ( temp 4-component vector of float)
28617a3babSopenharmony_ci0:?   Linker Objects
29617a3babSopenharmony_ci0:?     's_uintbuff' (layout( r32ui) uniform uimageBuffer)
30617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
31617a3babSopenharmony_ci
32617a3babSopenharmony_ci
33617a3babSopenharmony_ciLinked fragment stage:
34617a3babSopenharmony_ci
35617a3babSopenharmony_ci
36617a3babSopenharmony_ciShader version: 500
37617a3babSopenharmony_cigl_FragCoord origin is upper left
38617a3babSopenharmony_ci0:? Sequence
39617a3babSopenharmony_ci0:5  Function Definition: @main( ( temp 4-component vector of float)
40617a3babSopenharmony_ci0:5    Function Parameters: 
41617a3babSopenharmony_ci0:?     Sequence
42617a3babSopenharmony_ci0:13      move second child to first child ( temp int)
43617a3babSopenharmony_ci0:13        'Orig' ( temp int)
44617a3babSopenharmony_ci0:13        Convert uint to int ( temp int)
45617a3babSopenharmony_ci0:13          imageAtomicAdd ( temp uint)
46617a3babSopenharmony_ci0:13            's_uintbuff' (layout( r32ui) uniform uimageBuffer)
47617a3babSopenharmony_ci0:13            'Loc' ( temp int)
48617a3babSopenharmony_ci0:13            Convert int to uint ( temp uint)
49617a3babSopenharmony_ci0:13              'Inc' ( temp int)
50617a3babSopenharmony_ci0:15      Branch: Return with expression
51617a3babSopenharmony_ci0:15        Constant:
52617a3babSopenharmony_ci0:15          0.000000
53617a3babSopenharmony_ci0:15          0.000000
54617a3babSopenharmony_ci0:15          0.000000
55617a3babSopenharmony_ci0:15          0.000000
56617a3babSopenharmony_ci0:5  Function Definition: main( ( temp void)
57617a3babSopenharmony_ci0:5    Function Parameters: 
58617a3babSopenharmony_ci0:?     Sequence
59617a3babSopenharmony_ci0:5      move second child to first child ( temp 4-component vector of float)
60617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
61617a3babSopenharmony_ci0:5        Function Call: @main( ( temp 4-component vector of float)
62617a3babSopenharmony_ci0:?   Linker Objects
63617a3babSopenharmony_ci0:?     's_uintbuff' (layout( r32ui) uniform uimageBuffer)
64617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
65617a3babSopenharmony_ci
66617a3babSopenharmony_ci// Module Version 10000
67617a3babSopenharmony_ci// Generated by (magic number): 8000b
68617a3babSopenharmony_ci// Id's are bound by 36
69617a3babSopenharmony_ci
70617a3babSopenharmony_ci                              Capability Shader
71617a3babSopenharmony_ci                              Capability ImageBuffer
72617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
73617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
74617a3babSopenharmony_ci                              EntryPoint Fragment 4  "main" 34
75617a3babSopenharmony_ci                              ExecutionMode 4 OriginUpperLeft
76617a3babSopenharmony_ci                              Source HLSL 500
77617a3babSopenharmony_ci                              Name 4  "main"
78617a3babSopenharmony_ci                              Name 9  "@main("
79617a3babSopenharmony_ci                              Name 13  "Orig"
80617a3babSopenharmony_ci                              Name 17  "s_uintbuff"
81617a3babSopenharmony_ci                              Name 18  "Loc"
82617a3babSopenharmony_ci                              Name 20  "Inc"
83617a3babSopenharmony_ci                              Name 34  "@entryPointOutput"
84617a3babSopenharmony_ci                              Decorate 17(s_uintbuff) DescriptorSet 0
85617a3babSopenharmony_ci                              Decorate 17(s_uintbuff) Binding 0
86617a3babSopenharmony_ci                              Decorate 34(@entryPointOutput) Location 0
87617a3babSopenharmony_ci               2:             TypeVoid
88617a3babSopenharmony_ci               3:             TypeFunction 2
89617a3babSopenharmony_ci               6:             TypeFloat 32
90617a3babSopenharmony_ci               7:             TypeVector 6(float) 4
91617a3babSopenharmony_ci               8:             TypeFunction 7(fvec4)
92617a3babSopenharmony_ci              11:             TypeInt 32 1
93617a3babSopenharmony_ci              12:             TypePointer Function 11(int)
94617a3babSopenharmony_ci              14:             TypeInt 32 0
95617a3babSopenharmony_ci              15:             TypeImage 14(int) Buffer nonsampled format:R32ui
96617a3babSopenharmony_ci              16:             TypePointer UniformConstant 15
97617a3babSopenharmony_ci  17(s_uintbuff):     16(ptr) Variable UniformConstant
98617a3babSopenharmony_ci              23:     14(int) Constant 0
99617a3babSopenharmony_ci              24:             TypePointer Image 14(int)
100617a3babSopenharmony_ci              26:     14(int) Constant 1
101617a3babSopenharmony_ci              29:    6(float) Constant 0
102617a3babSopenharmony_ci              30:    7(fvec4) ConstantComposite 29 29 29 29
103617a3babSopenharmony_ci              33:             TypePointer Output 7(fvec4)
104617a3babSopenharmony_ci34(@entryPointOutput):     33(ptr) Variable Output
105617a3babSopenharmony_ci         4(main):           2 Function None 3
106617a3babSopenharmony_ci               5:             Label
107617a3babSopenharmony_ci              35:    7(fvec4) FunctionCall 9(@main()
108617a3babSopenharmony_ci                              Store 34(@entryPointOutput) 35
109617a3babSopenharmony_ci                              Return
110617a3babSopenharmony_ci                              FunctionEnd
111617a3babSopenharmony_ci       9(@main():    7(fvec4) Function None 8
112617a3babSopenharmony_ci              10:             Label
113617a3babSopenharmony_ci        13(Orig):     12(ptr) Variable Function
114617a3babSopenharmony_ci         18(Loc):     12(ptr) Variable Function
115617a3babSopenharmony_ci         20(Inc):     12(ptr) Variable Function
116617a3babSopenharmony_ci              19:     11(int) Load 18(Loc)
117617a3babSopenharmony_ci              21:     11(int) Load 20(Inc)
118617a3babSopenharmony_ci              22:     14(int) Bitcast 21
119617a3babSopenharmony_ci              25:     24(ptr) ImageTexelPointer 17(s_uintbuff) 19 23
120617a3babSopenharmony_ci              27:     14(int) AtomicIAdd 25 26 23 22
121617a3babSopenharmony_ci              28:     11(int) Bitcast 27
122617a3babSopenharmony_ci                              Store 13(Orig) 28
123617a3babSopenharmony_ci                              ReturnValue 30
124617a3babSopenharmony_ci                              FunctionEnd
125