aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/spv.bufferhandle12.frag.out
blob: 319684f80172ad720a850c071a406983ef7e090e (plain)
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
spv.bufferhandle12.frag
WARNING: 0:6: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
         "precision mediump int; precision highp float;" 

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

                              Capability Shader
                              Capability StorageUniformBufferBlock16
                              Capability PhysicalStorageBufferAddressesEXT
                              Extension  "SPV_KHR_16bit_storage"
                              Extension  "SPV_KHR_physical_storage_buffer"
                              Extension  "SPV_KHR_storage_buffer_storage_class"
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel PhysicalStorageBuffer64EXT GLSL450
                              EntryPoint Fragment 4  "main"
                              ExecutionMode 4 OriginUpperLeft
                              Source GLSL 450
                              SourceExtension  "GL_EXT_buffer_reference"
                              SourceExtension  "GL_EXT_shader_16bit_storage"
                              SourceExtension  "GL_EXT_shader_8bit_storage"
                              Name 4  "main"
                              Name 12  "compare_float(f1;f1;"
                              Name 10  "a"
                              Name 11  "b"
                              Name 19  "compare_vec3(vf3;vf3;"
                              Name 17  "a"
                              Name 18  "b"
                              Name 26  "compare_mat2x3(mf23;mf23;"
                              Name 24  "a"
                              Name 25  "b"
                              Name 34  "compare_ivec2(vi2;vi2;"
                              Name 32  "a"
                              Name 33  "b"
                              Name 42  "compare_uvec3(vu3;vu3;"
                              Name 40  "a"
                              Name 41  "b"
                              Name 46  "compare_float16_t(f1;f1;"
                              Name 44  "a"
                              Name 45  "b"
                              Name 56  "param"
                              Name 60  "param"
                              Name 66  "param"
                              Name 70  "param"
                              Name 77  "param"
                              Name 81  "param"
                              Name 89  "param"
                              Name 92  "param"
                              Name 99  "param"
                              Name 102  "param"
                              Name 131  "allOk"
                              Name 139  "PC"
                              MemberName 139(PC) 0  "blockB"
                              MemberName 139(PC) 1  "blockC"
                              MemberName 139(PC) 2  "blockD"
                              Name 141  "BlockB"
                              MemberName 141(BlockB) 0  "a"
                              MemberName 141(BlockB) 1  "b"
                              Name 142  "BlockC"
                              MemberName 142(BlockC) 0  "c"
                              Name 143  "BlockD"
                              MemberName 143(BlockD) 0  "d"
                              Name 145  ""
                              Name 157  "param"
                              Name 161  "param"
                              Name 167  "AcBlock"
                              MemberName 167(AcBlock) 0  "ac_numPassed"
                              Name 169  ""
                              MemberDecorate 139(PC) 0 Offset 0
                              MemberDecorate 139(PC) 1 Offset 8
                              MemberDecorate 139(PC) 2 Offset 16
                              Decorate 139(PC) Block
                              MemberDecorate 141(BlockB) 0 Offset 0
                              MemberDecorate 141(BlockB) 1 Offset 8
                              Decorate 141(BlockB) Block
                              MemberDecorate 142(BlockC) 0 ColMajor
                              MemberDecorate 142(BlockC) 0 RelaxedPrecision
                              MemberDecorate 142(BlockC) 0 Offset 0
                              MemberDecorate 142(BlockC) 0 MatrixStride 16
                              Decorate 142(BlockC) Block
                              MemberDecorate 143(BlockD) 0 RelaxedPrecision
                              MemberDecorate 143(BlockD) 0 Offset 0
                              Decorate 143(BlockD) Block
                              Decorate 160 RelaxedPrecision
                              MemberDecorate 167(AcBlock) 0 Offset 0
                              Decorate 167(AcBlock) Block
                              Decorate 169 DescriptorSet 0
                              Decorate 169 Binding 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypePointer Function 6(float)
               8:             TypeBool
               9:             TypeFunction 8(bool) 7(ptr) 7(ptr)
              14:             TypeVector 6(float) 3
              15:             TypePointer Function 14(fvec3)
              16:             TypeFunction 8(bool) 15(ptr) 15(ptr)
              21:             TypeMatrix 14(fvec3) 2
              22:             TypePointer Function 21
              23:             TypeFunction 8(bool) 22(ptr) 22(ptr)
              28:             TypeInt 32 1
              29:             TypeVector 28(int) 2
              30:             TypePointer Function 29(ivec2)
              31:             TypeFunction 8(bool) 30(ptr) 30(ptr)
              36:             TypeInt 32 0
              37:             TypeVector 36(int) 3
              38:             TypePointer Function 37(ivec3)
              39:             TypeFunction 8(bool) 38(ptr) 38(ptr)
              52:    6(float) Constant 1028443341
              57:     36(int) Constant 0
              67:     36(int) Constant 1
              78:     36(int) Constant 2
              88:     28(int) Constant 0
              98:     28(int) Constant 1
             111:             TypeVector 8(bool) 2
             118:             TypeVector 8(bool) 3
             130:             TypePointer Function 8(bool)
             132:     8(bool) ConstantTrue
                              TypeForwardPointer 136 PhysicalStorageBufferEXT
                              TypeForwardPointer 137 PhysicalStorageBufferEXT
                              TypeForwardPointer 138 PhysicalStorageBufferEXT
         139(PC):             TypeStruct 136 137 138
             140:             TypeFloat 16
     141(BlockB):             TypeStruct 140(float16_t) 29(ivec2)
             136:             TypePointer PhysicalStorageBufferEXT 141(BlockB)
     142(BlockC):             TypeStruct 21
             137:             TypePointer PhysicalStorageBufferEXT 142(BlockC)
     143(BlockD):             TypeStruct 37(ivec3)
             138:             TypePointer PhysicalStorageBufferEXT 143(BlockD)
             144:             TypePointer PushConstant 139(PC)
             145:    144(ptr) Variable PushConstant
             146:             TypePointer PushConstant 137(ptr)
             149:    6(float) Constant 3231711232
             150:    6(float) Constant 1065353216
             151:    6(float) Constant 3235905536
             152:   14(fvec3) ConstantComposite 149 150 151
             153:    6(float) Constant 1073741824
             154:    6(float) Constant 1090519040
             155:   14(fvec3) ConstantComposite 150 153 154
             156:          21 ConstantComposite 152 155
             158:             TypePointer PhysicalStorageBufferEXT 21
    167(AcBlock):             TypeStruct 36(int)
             168:             TypePointer StorageBuffer 167(AcBlock)
             169:    168(ptr) Variable StorageBuffer
             170:             TypePointer StorageBuffer 36(int)
             174:     28(int) Constant 2
             175:             TypePointer PushConstant 138(ptr)
             178:     36(int) Constant 8
             179:     36(int) Constant 5
             180:   37(ivec3) ConstantComposite 178 67 179
             181:             TypePointer PhysicalStorageBufferEXT 37(ivec3)
         4(main):           2 Function None 3
               5:             Label
      131(allOk):    130(ptr) Variable Function
      157(param):     22(ptr) Variable Function
      161(param):     22(ptr) Variable Function
                              Store 131(allOk) 132
             133:     8(bool) Load 131(allOk)
                              SelectionMerge 135 None
                              BranchConditional 133 134 135
             134:               Label
             147:    146(ptr)   AccessChain 145 98
             148:    137(ptr)   Load 147
             159:    158(ptr)   AccessChain 148 88
             160:          21   Load 159 Aligned 16
                                Store 157(param) 160
                                Store 161(param) 156
             162:     8(bool)   FunctionCall 26(compare_mat2x3(mf23;mf23;) 157(param) 161(param)
                                Branch 135
             135:             Label
             163:     8(bool) Phi 133 5 162 134
                              Store 131(allOk) 163
             164:     8(bool) Load 131(allOk)
                              SelectionMerge 166 None
                              BranchConditional 164 165 166
             165:               Label
             171:    170(ptr)   AccessChain 169 88
             172:     36(int)   Load 171
             173:     36(int)   IAdd 172 98
                                Store 171 173
                                Branch 166
             166:             Label
             176:    175(ptr) AccessChain 145 174
             177:    138(ptr) Load 176
             182:    181(ptr) AccessChain 177 88
                              Store 182 180 Aligned 16
                              Return
                              FunctionEnd
12(compare_float(f1;f1;):     8(bool) Function None 9
           10(a):      7(ptr) FunctionParameter
           11(b):      7(ptr) FunctionParameter
              13:             Label
              48:    6(float) Load 10(a)
              49:    6(float) Load 11(b)
              50:    6(float) FSub 48 49
              51:    6(float) ExtInst 1(GLSL.std.450) 4(FAbs) 50
              53:     8(bool) FOrdLessThan 51 52
                              ReturnValue 53
                              FunctionEnd
19(compare_vec3(vf3;vf3;):     8(bool) Function None 16
           17(a):     15(ptr) FunctionParameter
           18(b):     15(ptr) FunctionParameter
              20:             Label
       56(param):      7(ptr) Variable Function
       60(param):      7(ptr) Variable Function
       66(param):      7(ptr) Variable Function
       70(param):      7(ptr) Variable Function
       77(param):      7(ptr) Variable Function
       81(param):      7(ptr) Variable Function
              58:      7(ptr) AccessChain 17(a) 57
              59:    6(float) Load 58
                              Store 56(param) 59
              61:      7(ptr) AccessChain 18(b) 57
              62:    6(float) Load 61
                              Store 60(param) 62
              63:     8(bool) FunctionCall 12(compare_float(f1;f1;) 56(param) 60(param)
                              SelectionMerge 65 None
                              BranchConditional 63 64 65
              64:               Label
              68:      7(ptr)   AccessChain 17(a) 67
              69:    6(float)   Load 68
                                Store 66(param) 69
              71:      7(ptr)   AccessChain 18(b) 67
              72:    6(float)   Load 71
                                Store 70(param) 72
              73:     8(bool)   FunctionCall 12(compare_float(f1;f1;) 66(param) 70(param)
                                Branch 65
              65:             Label
              74:     8(bool) Phi 63 20 73 64
                              SelectionMerge 76 None
                              BranchConditional 74 75 76
              75:               Label
              79:      7(ptr)   AccessChain 17(a) 78
              80:    6(float)   Load 79
                                Store 77(param) 80
              82:      7(ptr)   AccessChain 18(b) 78
              83:    6(float)   Load 82
                                Store 81(param) 83
              84:     8(bool)   FunctionCall 12(compare_float(f1;f1;) 77(param) 81(param)
                                Branch 76
              76:             Label
              85:     8(bool) Phi 74 65 84 75
                              ReturnValue 85
                              FunctionEnd
26(compare_mat2x3(mf23;mf23;):     8(bool) Function None 23
           24(a):     22(ptr) FunctionParameter
           25(b):     22(ptr) FunctionParameter
              27:             Label
       89(param):     15(ptr) Variable Function
       92(param):     15(ptr) Variable Function
       99(param):     15(ptr) Variable Function
      102(param):     15(ptr) Variable Function
              90:     15(ptr) AccessChain 24(a) 88
              91:   14(fvec3) Load 90
                              Store 89(param) 91
              93:     15(ptr) AccessChain 25(b) 88
              94:   14(fvec3) Load 93
                              Store 92(param) 94
              95:     8(bool) FunctionCall 19(compare_vec3(vf3;vf3;) 89(param) 92(param)
                              SelectionMerge 97 None
                              BranchConditional 95 96 97
              96:               Label
             100:     15(ptr)   AccessChain 24(a) 98
             101:   14(fvec3)   Load 100
                                Store 99(param) 101
             103:     15(ptr)   AccessChain 25(b) 98
             104:   14(fvec3)   Load 103
                                Store 102(param) 104
             105:     8(bool)   FunctionCall 19(compare_vec3(vf3;vf3;) 99(param) 102(param)
                                Branch 97
              97:             Label
             106:     8(bool) Phi 95 27 105 96
                              ReturnValue 106
                              FunctionEnd
34(compare_ivec2(vi2;vi2;):     8(bool) Function None 31
           32(a):     30(ptr) FunctionParameter
           33(b):     30(ptr) FunctionParameter
              35:             Label
             109:   29(ivec2) Load 32(a)
             110:   29(ivec2) Load 33(b)
             112:  111(bvec2) IEqual 109 110
             113:     8(bool) All 112
                              ReturnValue 113
                              FunctionEnd
42(compare_uvec3(vu3;vu3;):     8(bool) Function None 39
           40(a):     38(ptr) FunctionParameter
           41(b):     38(ptr) FunctionParameter
              43:             Label
             116:   37(ivec3) Load 40(a)
             117:   37(ivec3) Load 41(b)
             119:  118(bvec3) IEqual 116 117
             120:     8(bool) All 119
                              ReturnValue 120
                              FunctionEnd
46(compare_float16_t(f1;f1;):     8(bool) Function None 9
           44(a):      7(ptr) FunctionParameter
           45(b):      7(ptr) FunctionParameter
              47:             Label
             123:    6(float) Load 44(a)
             124:    6(float) Load 45(b)
             125:    6(float) FSub 123 124
             126:    6(float) ExtInst 1(GLSL.std.450) 4(FAbs) 125
             127:     8(bool) FOrdLessThan 126 52
                              ReturnValue 127
                              FunctionEnd