File: link.vk.multiUnitLayout.0.comp.out

package info (click to toggle)
glslang 16.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 51,720 kB
  • sloc: cpp: 92,305; yacc: 4,320; sh: 603; python: 305; ansic: 94; javascript: 74; makefile: 17
file content (151 lines) | stat: -rw-r--r-- 6,960 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
link.vk.multiUnitLayout.0.comp
Shader version: 450
local_size = (1, 1, 1)
local_size ids = (0, -1, -1)
0:? Sequence
0:7  Function Definition: main( ( global void)
0:7    Function Parameters: 
0:9    Sequence
0:9      Function Call: do_compute(u1; ( global void)
0:9        direct index ( temp highp uint)
0:9          'gl_GlobalInvocationID' ( in highp 3-component vector of uint GlobalInvocationID)
0:9          Constant:
0:9            0 (const int)
0:?   Linker Objects
0:?     'gl_WorkGroupSize' ( specialization-constant const highp 3-component vector of uint WorkGroupSize)
0:?       1 (const uint)
0:?       1 (const uint)
0:?       1 (const uint)

link.vk.multiUnitLayout.1.comp
Shader version: 450
local_size = (1, 1, 1)
0:? Sequence
0:7  Function Definition: do_compute(u1; ( global void)
0:7    Function Parameters: 
0:7      'index' ( in highp uint)
0:9    Sequence
0:9      add second child into first child ( temp highp 4-component vector of float)
0:9        indirect index (layout( column_major std430) temp highp 4-component vector of float)
0:9          data: direct index for structure (layout( column_major std430) buffer runtime-sized array of highp 4-component vector of float)
0:9            'dataBuf' (layout( set=0 binding=0 column_major std430) buffer block{layout( column_major std430) buffer runtime-sized array of highp 4-component vector of float data})
0:9            Constant:
0:9              0 (const int)
0:9          'index' ( in highp uint)
0:9        Constant:
0:9          1.000000
0:9          1.000000
0:9          1.000000
0:9          1.000000
0:?   Linker Objects
0:?     'dataBuf' (layout( set=0 binding=0 column_major std430) buffer block{layout( column_major std430) buffer runtime-sized array of highp 4-component vector of float data})


Linked compute stage:


Shader version: 450
local_size = (1, 1, 1)
local_size ids = (0, -1, -1)
0:? Sequence
0:7  Function Definition: main( ( global void)
0:7    Function Parameters: 
0:9    Sequence
0:9      Function Call: do_compute(u1; ( global void)
0:9        direct index ( temp highp uint)
0:9          'gl_GlobalInvocationID' ( in highp 3-component vector of uint GlobalInvocationID)
0:9          Constant:
0:9            0 (const int)
0:7  Function Definition: do_compute(u1; ( global void)
0:7    Function Parameters: 
0:7      'index' ( in highp uint)
0:9    Sequence
0:9      add second child into first child ( temp highp 4-component vector of float)
0:9        indirect index (layout( column_major std430) temp highp 4-component vector of float)
0:9          data: direct index for structure (layout( column_major std430) buffer runtime-sized array of highp 4-component vector of float)
0:9            'dataBuf' (layout( set=0 binding=0 column_major std430) buffer block{layout( column_major std430) buffer runtime-sized array of highp 4-component vector of float data})
0:9            Constant:
0:9              0 (const int)
0:9          'index' ( in highp uint)
0:9        Constant:
0:9          1.000000
0:9          1.000000
0:9          1.000000
0:9          1.000000
0:?   Linker Objects
0:?     'gl_WorkGroupSize' ( specialization-constant const highp 3-component vector of uint WorkGroupSize)
0:?       1 (const uint)
0:?       1 (const uint)
0:?       1 (const uint)
0:?     'dataBuf' (layout( set=0 binding=0 column_major std430) buffer block{layout( column_major std430) buffer runtime-sized array of highp 4-component vector of float data})

// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 40

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint GLCompute 4  "main" 14
                              ExecutionMode 4 LocalSize 1 1 1
                              Source GLSL 450
                              Name 4  "main"
                              Name 10  "do_compute(u1;"
                              Name 9  "index"
                              Name 14  "gl_GlobalInvocationID"
                              Name 15  "param"
                              Name 24  "DataBuf"
                              MemberName 24(DataBuf) 0  "data"
                              Name 26  "dataBuf"
                              Decorate 14(gl_GlobalInvocationID) BuiltIn GlobalInvocationId
                              Decorate 23 ArrayStride 16
                              Decorate 24(DataBuf) BufferBlock
                              MemberDecorate 24(DataBuf) 0 Offset 0
                              Decorate 26(dataBuf) Binding 0
                              Decorate 26(dataBuf) DescriptorSet 0
                              Decorate 37 SpecId 0
                              Decorate 39 BuiltIn WorkgroupSize
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeInt 32 0
               7:             TypePointer Function 6(int)
               8:             TypeFunction 2 7(ptr)
              12:             TypeVector 6(int) 3
              13:             TypePointer Input 12(ivec3)
14(gl_GlobalInvocationID):     13(ptr) Variable Input
              16:      6(int) Constant 0
              17:             TypePointer Input 6(int)
              21:             TypeFloat 32
              22:             TypeVector 21(float) 4
              23:             TypeRuntimeArray 22(fvec4)
     24(DataBuf):             TypeStruct 23
              25:             TypePointer Uniform 24(DataBuf)
     26(dataBuf):     25(ptr) Variable Uniform
              27:             TypeInt 32 1
              28:     27(int) Constant 0
              30:   21(float) Constant 1065353216
              31:   22(fvec4) ConstantComposite 30 30 30 30
              32:             TypePointer Uniform 22(fvec4)
              37:      6(int) SpecConstant 1
              38:      6(int) Constant 1
              39:   12(ivec3) SpecConstantComposite 37 38 38
         4(main):           2 Function None 3
               5:             Label
       15(param):      7(ptr) Variable Function
              18:     17(ptr) AccessChain 14(gl_GlobalInvocationID) 16
              19:      6(int) Load 18
                              Store 15(param) 19
              20:           2 FunctionCall 10(do_compute(u1;) 15(param)
                              Return
                              FunctionEnd
10(do_compute(u1;):           2 Function None 8
        9(index):      7(ptr) FunctionParameter
              11:             Label
              29:      6(int) Load 9(index)
              33:     32(ptr) AccessChain 26(dataBuf) 28 29
              34:   22(fvec4) Load 33
              35:   22(fvec4) FAdd 34 31
              36:     32(ptr) AccessChain 26(dataBuf) 28 29
                              Store 36 35
                              Return
                              FunctionEnd