1617a3babSopenharmony_cihlsl.structbuffer.rwbyte2.comp
2617a3babSopenharmony_ciShader version: 500
3617a3babSopenharmony_cilocal_size = (1, 1, 1)
4617a3babSopenharmony_ci0:? Sequence
5617a3babSopenharmony_ci0:6  Function Definition: @main( ( temp void)
6617a3babSopenharmony_ci0:6    Function Parameters: 
7617a3babSopenharmony_ci0:?     Sequence
8617a3babSopenharmony_ci0:7      Sequence
9617a3babSopenharmony_ci0:7        move second child to first child ( temp uint)
10617a3babSopenharmony_ci0:7          'f' ( temp uint)
11617a3babSopenharmony_ci0:7          indirect index (layout( row_major std430) buffer uint)
12617a3babSopenharmony_ci0:7            @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint)
13617a3babSopenharmony_ci0:7              'g_bbuf' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint @data})
14617a3babSopenharmony_ci0:7              Constant:
15617a3babSopenharmony_ci0:7                0 (const uint)
16617a3babSopenharmony_ci0:7            right-shift ( temp int)
17617a3babSopenharmony_ci0:7              Constant:
18617a3babSopenharmony_ci0:7                16 (const int)
19617a3babSopenharmony_ci0:7              Constant:
20617a3babSopenharmony_ci0:7                2 (const int)
21617a3babSopenharmony_ci0:8      move second child to first child ( temp uint)
22617a3babSopenharmony_ci0:8        direct index (layout( row_major std430) buffer uint)
23617a3babSopenharmony_ci0:8          @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint)
24617a3babSopenharmony_ci0:8            'g_sbuf' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint @data})
25617a3babSopenharmony_ci0:8            Constant:
26617a3babSopenharmony_ci0:8              0 (const uint)
27617a3babSopenharmony_ci0:8          Constant:
28617a3babSopenharmony_ci0:8            0 (const int)
29617a3babSopenharmony_ci0:8        'f' ( temp uint)
30617a3babSopenharmony_ci0:6  Function Definition: main( ( temp void)
31617a3babSopenharmony_ci0:6    Function Parameters: 
32617a3babSopenharmony_ci0:?     Sequence
33617a3babSopenharmony_ci0:6      Function Call: @main( ( temp void)
34617a3babSopenharmony_ci0:?   Linker Objects
35617a3babSopenharmony_ci0:?     'g_sbuf' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint @data})
36617a3babSopenharmony_ci0:?     'g_bbuf' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint @data})
37617a3babSopenharmony_ci
38617a3babSopenharmony_ci
39617a3babSopenharmony_ciLinked compute stage:
40617a3babSopenharmony_ci
41617a3babSopenharmony_ci
42617a3babSopenharmony_ciShader version: 500
43617a3babSopenharmony_cilocal_size = (1, 1, 1)
44617a3babSopenharmony_ci0:? Sequence
45617a3babSopenharmony_ci0:6  Function Definition: @main( ( temp void)
46617a3babSopenharmony_ci0:6    Function Parameters: 
47617a3babSopenharmony_ci0:?     Sequence
48617a3babSopenharmony_ci0:7      Sequence
49617a3babSopenharmony_ci0:7        move second child to first child ( temp uint)
50617a3babSopenharmony_ci0:7          'f' ( temp uint)
51617a3babSopenharmony_ci0:7          indirect index (layout( row_major std430) buffer uint)
52617a3babSopenharmony_ci0:7            @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint)
53617a3babSopenharmony_ci0:7              'g_bbuf' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint @data})
54617a3babSopenharmony_ci0:7              Constant:
55617a3babSopenharmony_ci0:7                0 (const uint)
56617a3babSopenharmony_ci0:7            right-shift ( temp int)
57617a3babSopenharmony_ci0:7              Constant:
58617a3babSopenharmony_ci0:7                16 (const int)
59617a3babSopenharmony_ci0:7              Constant:
60617a3babSopenharmony_ci0:7                2 (const int)
61617a3babSopenharmony_ci0:8      move second child to first child ( temp uint)
62617a3babSopenharmony_ci0:8        direct index (layout( row_major std430) buffer uint)
63617a3babSopenharmony_ci0:8          @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint)
64617a3babSopenharmony_ci0:8            'g_sbuf' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint @data})
65617a3babSopenharmony_ci0:8            Constant:
66617a3babSopenharmony_ci0:8              0 (const uint)
67617a3babSopenharmony_ci0:8          Constant:
68617a3babSopenharmony_ci0:8            0 (const int)
69617a3babSopenharmony_ci0:8        'f' ( temp uint)
70617a3babSopenharmony_ci0:6  Function Definition: main( ( temp void)
71617a3babSopenharmony_ci0:6    Function Parameters: 
72617a3babSopenharmony_ci0:?     Sequence
73617a3babSopenharmony_ci0:6      Function Call: @main( ( temp void)
74617a3babSopenharmony_ci0:?   Linker Objects
75617a3babSopenharmony_ci0:?     'g_sbuf' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint @data})
76617a3babSopenharmony_ci0:?     'g_bbuf' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint @data})
77617a3babSopenharmony_ci
78617a3babSopenharmony_ci// Module Version 10000
79617a3babSopenharmony_ci// Generated by (magic number): 8000b
80617a3babSopenharmony_ci// Id's are bound by 30
81617a3babSopenharmony_ci
82617a3babSopenharmony_ci                              Capability Shader
83617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
84617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
85617a3babSopenharmony_ci                              EntryPoint GLCompute 4  "main"
86617a3babSopenharmony_ci                              ExecutionMode 4 LocalSize 1 1 1
87617a3babSopenharmony_ci                              Source HLSL 500
88617a3babSopenharmony_ci                              Name 4  "main"
89617a3babSopenharmony_ci                              Name 6  "@main("
90617a3babSopenharmony_ci                              Name 10  "f"
91617a3babSopenharmony_ci                              Name 12  "g_bbuf"
92617a3babSopenharmony_ci                              MemberName 12(g_bbuf) 0  "@data"
93617a3babSopenharmony_ci                              Name 14  "g_bbuf"
94617a3babSopenharmony_ci                              Name 24  "g_sbuf"
95617a3babSopenharmony_ci                              MemberName 24(g_sbuf) 0  "@data"
96617a3babSopenharmony_ci                              Name 26  "g_sbuf"
97617a3babSopenharmony_ci                              Decorate 11 ArrayStride 4
98617a3babSopenharmony_ci                              MemberDecorate 12(g_bbuf) 0 Offset 0
99617a3babSopenharmony_ci                              Decorate 12(g_bbuf) BufferBlock
100617a3babSopenharmony_ci                              Decorate 14(g_bbuf) DescriptorSet 0
101617a3babSopenharmony_ci                              Decorate 14(g_bbuf) Binding 1
102617a3babSopenharmony_ci                              Decorate 23 ArrayStride 4
103617a3babSopenharmony_ci                              MemberDecorate 24(g_sbuf) 0 Offset 0
104617a3babSopenharmony_ci                              Decorate 24(g_sbuf) BufferBlock
105617a3babSopenharmony_ci                              Decorate 26(g_sbuf) DescriptorSet 0
106617a3babSopenharmony_ci                              Decorate 26(g_sbuf) Binding 0
107617a3babSopenharmony_ci               2:             TypeVoid
108617a3babSopenharmony_ci               3:             TypeFunction 2
109617a3babSopenharmony_ci               8:             TypeInt 32 0
110617a3babSopenharmony_ci               9:             TypePointer Function 8(int)
111617a3babSopenharmony_ci              11:             TypeRuntimeArray 8(int)
112617a3babSopenharmony_ci      12(g_bbuf):             TypeStruct 11
113617a3babSopenharmony_ci              13:             TypePointer Uniform 12(g_bbuf)
114617a3babSopenharmony_ci      14(g_bbuf):     13(ptr) Variable Uniform
115617a3babSopenharmony_ci              15:             TypeInt 32 1
116617a3babSopenharmony_ci              16:     15(int) Constant 0
117617a3babSopenharmony_ci              17:     15(int) Constant 16
118617a3babSopenharmony_ci              18:     15(int) Constant 2
119617a3babSopenharmony_ci              20:             TypePointer Uniform 8(int)
120617a3babSopenharmony_ci              23:             TypeRuntimeArray 8(int)
121617a3babSopenharmony_ci      24(g_sbuf):             TypeStruct 23
122617a3babSopenharmony_ci              25:             TypePointer Uniform 24(g_sbuf)
123617a3babSopenharmony_ci      26(g_sbuf):     25(ptr) Variable Uniform
124617a3babSopenharmony_ci         4(main):           2 Function None 3
125617a3babSopenharmony_ci               5:             Label
126617a3babSopenharmony_ci              29:           2 FunctionCall 6(@main()
127617a3babSopenharmony_ci                              Return
128617a3babSopenharmony_ci                              FunctionEnd
129617a3babSopenharmony_ci       6(@main():           2 Function None 3
130617a3babSopenharmony_ci               7:             Label
131617a3babSopenharmony_ci           10(f):      9(ptr) Variable Function
132617a3babSopenharmony_ci              19:     15(int) ShiftRightArithmetic 17 18
133617a3babSopenharmony_ci              21:     20(ptr) AccessChain 14(g_bbuf) 16 19
134617a3babSopenharmony_ci              22:      8(int) Load 21
135617a3babSopenharmony_ci                              Store 10(f) 22
136617a3babSopenharmony_ci              27:      8(int) Load 10(f)
137617a3babSopenharmony_ci              28:     20(ptr) AccessChain 26(g_sbuf) 16 16
138617a3babSopenharmony_ci                              Store 28 27
139617a3babSopenharmony_ci                              Return
140617a3babSopenharmony_ci                              FunctionEnd
141