xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/hlsl.buffer-offsets.comp.out (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1hlsl.buffer-offsets.comp
2Shader version: 500
3local_size = (1, 1, 1)
40:? Sequence
50:12  Function Definition: @main( ( temp void)
60:12    Function Parameters:
70:12  Function Definition: main( ( temp void)
80:12    Function Parameters:
90:?     Sequence
100:12      Function Call: @main( ( temp void)
110:?   Linker Objects
120:?     'bIterData' (layout( binding=2 row_major std430) readonly buffer block{layout( row_major std430) buffer unsized 1-element array of structure{ temp 24-element array of float mIntegrationTrafo,  temp 3-element array of float mWind,  temp uint mIsTurning} @data})
13
14
15Linked compute stage:
16
17
18Shader version: 500
19local_size = (1, 1, 1)
200:? Sequence
210:12  Function Definition: @main( ( temp void)
220:12    Function Parameters:
230:12  Function Definition: main( ( temp void)
240:12    Function Parameters:
250:?     Sequence
260:12      Function Call: @main( ( temp void)
270:?   Linker Objects
280:?     'bIterData' (layout( binding=2 row_major std430) readonly buffer block{layout( row_major std430) buffer unsized 1-element array of structure{ temp 24-element array of float mIntegrationTrafo,  temp 3-element array of float mWind,  temp uint mIsTurning} @data})
29
30// Module Version 10000
31// Generated by (magic number): 8000b
32// Id's are bound by 20
33
34                              Capability Shader
35               1:             ExtInstImport  "GLSL.std.450"
36                              MemoryModel Logical GLSL450
37                              EntryPoint GLCompute 4  "main"
38                              ExecutionMode 4 LocalSize 1 1 1
39                              Source HLSL 500
40                              Name 4  "main"
41                              Name 6  "@main("
42                              Name 15  "GfxIterationData"
43                              MemberName 15(GfxIterationData) 0  "mIntegrationTrafo"
44                              MemberName 15(GfxIterationData) 1  "mWind"
45                              MemberName 15(GfxIterationData) 2  "mIsTurning"
46                              Name 17  "bIterData"
47                              MemberName 17(bIterData) 0  "@data"
48                              Name 19  "bIterData"
49                              Decorate 12 ArrayStride 4
50                              Decorate 14 ArrayStride 4
51                              MemberDecorate 15(GfxIterationData) 0 Offset 0
52                              MemberDecorate 15(GfxIterationData) 1 Offset 96
53                              MemberDecorate 15(GfxIterationData) 2 Offset 108
54                              Decorate 16 ArrayStride 112
55                              Decorate 17(bIterData) BufferBlock
56                              MemberDecorate 17(bIterData) 0 NonWritable
57                              MemberDecorate 17(bIterData) 0 Offset 0
58                              Decorate 19(bIterData) NonWritable
59                              Decorate 19(bIterData) Binding 2
60                              Decorate 19(bIterData) DescriptorSet 0
61               2:             TypeVoid
62               3:             TypeFunction 2
63               9:             TypeFloat 32
64              10:             TypeInt 32 0
65              11:     10(int) Constant 24
66              12:             TypeArray 9(float) 11
67              13:     10(int) Constant 3
68              14:             TypeArray 9(float) 13
6915(GfxIterationData):             TypeStruct 12 14 10(int)
70              16:             TypeRuntimeArray 15(GfxIterationData)
71   17(bIterData):             TypeStruct 16
72              18:             TypePointer Uniform 17(bIterData)
73   19(bIterData):     18(ptr) Variable Uniform
74         4(main):           2 Function None 3
75               5:             Label
76               8:           2 FunctionCall 6(@main()
77                              Return
78                              FunctionEnd
79       6(@main():           2 Function None 3
80               7:             Label
81                              Return
82                              FunctionEnd
83