Implement support for GL_KHR_cooperative_matrix extension
This commit is contained in:
committed by
arcady-lunarg
parent
91a97b4c69
commit
808c7ed17c
402
Test/baseResults/spv.coopmatKHR.comp.out
Normal file
402
Test/baseResults/spv.coopmatKHR.comp.out
Normal file
@@ -0,0 +1,402 @@
|
||||
spv.coopmatKHR.comp
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 250
|
||||
|
||||
Capability Shader
|
||||
Capability Float16
|
||||
Capability Int16
|
||||
Capability Int8
|
||||
Capability StorageUniformBufferBlock16
|
||||
Capability VulkanMemoryModelKHR
|
||||
Capability PhysicalStorageBufferAddressesEXT
|
||||
Capability CooperativeMatrixKHR
|
||||
Extension "SPV_KHR_16bit_storage"
|
||||
Extension "SPV_KHR_cooperative_matrix"
|
||||
Extension "SPV_KHR_physical_storage_buffer"
|
||||
Extension "SPV_KHR_storage_buffer_storage_class"
|
||||
Extension "SPV_KHR_vulkan_memory_model"
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel PhysicalStorageBuffer64EXT VulkanKHR
|
||||
EntryPoint GLCompute 4 "main"
|
||||
ExecutionMode 4 LocalSize 64 1 1
|
||||
Source GLSL 450
|
||||
SourceExtension "GL_EXT_buffer_reference"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_KHR_cooperative_matrix"
|
||||
SourceExtension "GL_KHR_memory_scope_semantics"
|
||||
Name 4 "main"
|
||||
Name 15 "f16(f161;"
|
||||
Name 14 "m"
|
||||
Name 22 "f32(f1;"
|
||||
Name 21 "m"
|
||||
Name 35 "m"
|
||||
Name 53 "m2"
|
||||
Name 57 "x"
|
||||
Name 65 "tempArg"
|
||||
Name 69 "Block"
|
||||
MemberName 69(Block) 0 "y"
|
||||
MemberName 69(Block) 1 "x"
|
||||
Name 71 "block"
|
||||
Name 80 "tempArg"
|
||||
Name 85 "Block16"
|
||||
MemberName 85(Block16) 0 "y"
|
||||
MemberName 85(Block16) 1 "x"
|
||||
MemberName 85(Block16) 2 "b"
|
||||
Name 88 "Block"
|
||||
MemberName 88(Block) 0 "y"
|
||||
MemberName 88(Block) 1 "x"
|
||||
Name 90 "block16"
|
||||
Name 97 "tempArg"
|
||||
Name 110 "D"
|
||||
Name 114 "A"
|
||||
Name 118 "B"
|
||||
Name 120 "C"
|
||||
Name 124 "l"
|
||||
Name 128 "Y"
|
||||
Name 129 "Z"
|
||||
Name 132 "F"
|
||||
Name 137 "a"
|
||||
Name 141 "md1"
|
||||
Name 152 "mC2"
|
||||
Name 157 "tempArg"
|
||||
Name 163 "tempArg"
|
||||
Name 169 "p1"
|
||||
Name 170 "param"
|
||||
Name 173 "p2"
|
||||
Name 174 "param"
|
||||
Name 188 "tempArg"
|
||||
Name 193 "shmatrix"
|
||||
Name 197 "ms"
|
||||
Name 204 "ms8A"
|
||||
Name 208 "ms8B"
|
||||
Name 212 "ms8C"
|
||||
Name 227 "m16"
|
||||
Name 233 "mC"
|
||||
Name 234 "F"
|
||||
Name 239 "S"
|
||||
MemberName 239(S) 0 "a"
|
||||
MemberName 239(S) 1 "b"
|
||||
MemberName 239(S) 2 "c"
|
||||
Name 244 "SC"
|
||||
Name 249 "scm"
|
||||
Decorate 67 ArrayStride 4
|
||||
Decorate 68 ArrayStride 4
|
||||
MemberDecorate 69(Block) 0 Offset 0
|
||||
MemberDecorate 69(Block) 1 Offset 4194304
|
||||
Decorate 69(Block) Block
|
||||
Decorate 71(block) DescriptorSet 0
|
||||
Decorate 71(block) Binding 0
|
||||
Decorate 81 ArrayStride 2
|
||||
Decorate 83 ArrayStride 2
|
||||
MemberDecorate 85(Block16) 0 Offset 0
|
||||
MemberDecorate 85(Block16) 1 Offset 2097152
|
||||
MemberDecorate 85(Block16) 2 Offset 2097160
|
||||
Decorate 85(Block16) Block
|
||||
Decorate 86 ArrayStride 4
|
||||
Decorate 87 ArrayStride 4
|
||||
MemberDecorate 88(Block) 0 Offset 0
|
||||
MemberDecorate 88(Block) 1 Offset 4194304
|
||||
Decorate 88(Block) Block
|
||||
Decorate 90(block16) DescriptorSet 0
|
||||
Decorate 90(block16) Binding 0
|
||||
Decorate 128(Y) SpecId 0
|
||||
Decorate 232 BuiltIn WorkgroupSize
|
||||
Decorate 234(F) SpecId 1
|
||||
Decorate 244(SC) SpecId 2
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 16
|
||||
7: TypeInt 32 0
|
||||
8: 7(int) Constant 3
|
||||
9: 7(int) Constant 8
|
||||
10: 7(int) Constant 2
|
||||
11: TypeCooperativeMatrixKHR 6(float16_t) 8 9 9 10
|
||||
12: TypePointer Function 11
|
||||
13: TypeFunction 11 12(ptr)
|
||||
17: TypeFloat 32
|
||||
18: TypeCooperativeMatrixKHR 17(float) 8 9 9 10
|
||||
19: TypePointer Function 18
|
||||
20: TypeFunction 18 19(ptr)
|
||||
32: 7(int) Constant 16
|
||||
33: TypeCooperativeMatrixKHR 17(float) 8 32 9 10
|
||||
34: TypePointer Function 33
|
||||
36: 17(float) Constant 0
|
||||
37: 33 ConstantComposite 36
|
||||
46: 17(float) Constant 1073741824
|
||||
51: TypeCooperativeMatrixKHR 6(float16_t) 8 32 9 10
|
||||
52: TypePointer Function 51
|
||||
56: TypePointer Function 17(float)
|
||||
58: TypeInt 32 1
|
||||
59: 58(int) Constant 1
|
||||
62: 58(int) Constant 0
|
||||
66: 7(int) Constant 1048576
|
||||
67: TypeArray 17(float) 66
|
||||
68: TypeRuntimeArray 17(float)
|
||||
69(Block): TypeStruct 67 68
|
||||
70: TypePointer StorageBuffer 69(Block)
|
||||
71(block): 70(ptr) Variable StorageBuffer
|
||||
72: 7(int) Constant 5
|
||||
73: TypePointer StorageBuffer 17(float)
|
||||
75: 7(int) Constant 128
|
||||
81: TypeArray 6(float16_t) 66
|
||||
82: 7(int) Constant 1
|
||||
83: TypeArray 6(float16_t) 82
|
||||
TypeForwardPointer 84 PhysicalStorageBufferEXT
|
||||
85(Block16): TypeStruct 81 83 84
|
||||
86: TypeArray 17(float) 66
|
||||
87: TypeRuntimeArray 17(float)
|
||||
88(Block): TypeStruct 86 87
|
||||
84: TypePointer PhysicalStorageBufferEXT 88(Block)
|
||||
89: TypePointer StorageBuffer 85(Block16)
|
||||
90(block16): 89(ptr) Variable StorageBuffer
|
||||
91: TypePointer StorageBuffer 6(float16_t)
|
||||
98: 58(int) Constant 2
|
||||
99: TypePointer StorageBuffer 84(ptr)
|
||||
102: TypePointer PhysicalStorageBufferEXT 17(float)
|
||||
111: 7(int) Constant 0
|
||||
112: TypeCooperativeMatrixKHR 6(float16_t) 8 32 9 111
|
||||
113: TypePointer Function 112
|
||||
116: TypeCooperativeMatrixKHR 6(float16_t) 8 9 9 82
|
||||
117: TypePointer Function 116
|
||||
123: TypePointer Function 58(int)
|
||||
127: 58(int) Constant 8
|
||||
128(Y): 58(int) SpecConstant 2
|
||||
129(Z): 58(int) SpecConstantOp 132 127 128(Y)
|
||||
130: TypeCooperativeMatrixKHR 6(float16_t) 8 129(Z) 129(Z) 10
|
||||
131: TypePointer Function 130
|
||||
133:6(float16_t) Constant 0
|
||||
134: 130 ConstantComposite 133
|
||||
135: TypeArray 33 72
|
||||
136: TypePointer Function 135
|
||||
138: 58(int) Constant 3
|
||||
139: 17(float) Constant 1065353216
|
||||
145: 58(int) Constant 1234
|
||||
149: TypeCooperativeMatrixKHR 6(float16_t) 8 129(Z) 9 10
|
||||
150: TypeArray 149 8
|
||||
151: TypePointer Private 150
|
||||
152(mC2): 151(ptr) Variable Private
|
||||
153: TypePointer Private 149
|
||||
177: 11 ConstantComposite 133
|
||||
178: 18 ConstantComposite 36
|
||||
182:6(float16_t) Constant 16384
|
||||
185: 17(float) Constant 1082130432
|
||||
189: TypeVector 7(int) 4
|
||||
190: 7(int) Constant 32
|
||||
191: TypeArray 189(ivec4) 190
|
||||
192: TypePointer Workgroup 191
|
||||
193(shmatrix): 192(ptr) Variable Workgroup
|
||||
194: TypePointer Workgroup 189(ivec4)
|
||||
201: TypeInt 8 1
|
||||
202: TypeCooperativeMatrixKHR 201(int8_t) 8 9 9 111
|
||||
203: TypePointer Function 202
|
||||
206: TypeCooperativeMatrixKHR 201(int8_t) 8 9 9 82
|
||||
207: TypePointer Function 206
|
||||
210: TypeCooperativeMatrixKHR 201(int8_t) 8 9 9 10
|
||||
211: TypePointer Function 210
|
||||
222: 58(int) Constant 16
|
||||
224: TypeInt 16 1
|
||||
225: TypeCooperativeMatrixKHR 224(int16_t) 8 9 9 111
|
||||
226: TypePointer Function 225
|
||||
230: TypeVector 7(int) 3
|
||||
231: 7(int) Constant 64
|
||||
232: 230(ivec3) ConstantComposite 231 82 82
|
||||
233(mC): 153(ptr) Variable Private
|
||||
234(F): 17(float) SpecConstant 1077936128
|
||||
235: TypeCooperativeMatrixKHR 17(float) 8 129(Z) 9 10
|
||||
236: 235 ConstantComposite 36
|
||||
237:6(float16_t) Constant 15360
|
||||
238: 11 ConstantComposite 237
|
||||
239(S): TypeStruct 58(int) 58(int) 58(int)
|
||||
240: 58(int) Constant 12
|
||||
241: 58(int) Constant 23
|
||||
242: 58(int) Constant 34
|
||||
243: 239(S) ConstantComposite 240 241 242
|
||||
244(SC): 58(int) SpecConstant 1
|
||||
245: TypeCooperativeMatrixKHR 6(float16_t) 8 244(SC) 244(SC) 10
|
||||
246: TypeArray 245 244(SC)
|
||||
247: TypeArray 246 244(SC)
|
||||
248: TypePointer Private 247
|
||||
249(scm): 248(ptr) Variable Private
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
35(m): 34(ptr) Variable Function
|
||||
53(m2): 52(ptr) Variable Function
|
||||
57(x): 56(ptr) Variable Function
|
||||
65(tempArg): 34(ptr) Variable Function
|
||||
80(tempArg): 52(ptr) Variable Function
|
||||
97(tempArg): 34(ptr) Variable Function
|
||||
110(D): 34(ptr) Variable Function
|
||||
114(A): 113(ptr) Variable Function
|
||||
118(B): 117(ptr) Variable Function
|
||||
120(C): 34(ptr) Variable Function
|
||||
124(l): 123(ptr) Variable Function
|
||||
132(F): 131(ptr) Variable Function
|
||||
137(a): 136(ptr) Variable Function
|
||||
141(md1): 56(ptr) Variable Function
|
||||
157(tempArg): 34(ptr) Variable Function
|
||||
163(tempArg): 52(ptr) Variable Function
|
||||
169(p1): 12(ptr) Variable Function
|
||||
170(param): 12(ptr) Variable Function
|
||||
173(p2): 19(ptr) Variable Function
|
||||
174(param): 19(ptr) Variable Function
|
||||
188(tempArg): 52(ptr) Variable Function
|
||||
197(ms): 52(ptr) Variable Function
|
||||
204(ms8A): 203(ptr) Variable Function
|
||||
208(ms8B): 207(ptr) Variable Function
|
||||
212(ms8C): 211(ptr) Variable Function
|
||||
227(m16): 226(ptr) Variable Function
|
||||
Store 35(m) 37
|
||||
38: 33 Load 35(m)
|
||||
39: 33 Load 35(m)
|
||||
40: 33 FAdd 38 39
|
||||
Store 35(m) 40
|
||||
41: 33 Load 35(m)
|
||||
42: 33 Load 35(m)
|
||||
43: 33 FSub 41 42
|
||||
Store 35(m) 43
|
||||
44: 33 Load 35(m)
|
||||
45: 33 FNegate 44
|
||||
Store 35(m) 45
|
||||
47: 33 Load 35(m)
|
||||
48: 33 MatrixTimesScalar 47 46
|
||||
Store 35(m) 48
|
||||
49: 33 Load 35(m)
|
||||
50: 33 MatrixTimesScalar 49 46
|
||||
Store 35(m) 50
|
||||
54: 33 Load 35(m)
|
||||
55: 51 FConvert 54
|
||||
Store 53(m2) 55
|
||||
60: 56(ptr) AccessChain 35(m) 59
|
||||
61: 17(float) Load 60
|
||||
Store 57(x) 61
|
||||
63: 17(float) Load 57(x)
|
||||
64: 56(ptr) AccessChain 35(m) 62
|
||||
Store 64 63
|
||||
74: 73(ptr) AccessChain 71(block) 59 32
|
||||
76: 33 CooperativeMatrixLoadKHR 74 62 75 MakePointerVisibleKHR NonPrivatePointerKHR 72
|
||||
Store 65(tempArg) 76
|
||||
77: 33 Load 65(tempArg)
|
||||
Store 35(m) 77
|
||||
78: 33 Load 35(m)
|
||||
79: 73(ptr) AccessChain 71(block) 59 32
|
||||
CooperativeMatrixStoreKHR 79 78 62 75 MakePointerAvailableKHR NonPrivatePointerKHR 72
|
||||
92: 91(ptr) AccessChain 90(block16) 59 32
|
||||
93: 51 CooperativeMatrixLoadKHR 92 62 75 MakePointerVisibleKHR NonPrivatePointerKHR 72
|
||||
Store 80(tempArg) 93
|
||||
94: 51 Load 80(tempArg)
|
||||
Store 53(m2) 94
|
||||
95: 51 Load 53(m2)
|
||||
96: 91(ptr) AccessChain 90(block16) 59 32
|
||||
CooperativeMatrixStoreKHR 96 95 62 75 MakePointerAvailableKHR NonPrivatePointerKHR 72
|
||||
100: 99(ptr) AccessChain 90(block16) 98
|
||||
101: 84(ptr) Load 100 MakePointerVisibleKHR NonPrivatePointerKHR 72
|
||||
103: 102(ptr) AccessChain 101 59 32
|
||||
104: 33 CooperativeMatrixLoadKHR 103 62 75 Aligned MakePointerVisibleKHR NonPrivatePointerKHR 16 72
|
||||
Store 97(tempArg) 104
|
||||
105: 33 Load 97(tempArg)
|
||||
Store 35(m) 105
|
||||
106: 33 Load 35(m)
|
||||
107: 99(ptr) AccessChain 90(block16) 98
|
||||
108: 84(ptr) Load 107 MakePointerVisibleKHR NonPrivatePointerKHR 72
|
||||
109: 102(ptr) AccessChain 108 59 32
|
||||
CooperativeMatrixStoreKHR 109 106 62 75 Aligned MakePointerAvailableKHR NonPrivatePointerKHR 16 72
|
||||
115: 112 Load 114(A)
|
||||
119: 116 Load 118(B)
|
||||
121: 33 Load 120(C)
|
||||
122: 33 CooperativeMatrixMulAddKHR 115 119 121
|
||||
Store 110(D) 122
|
||||
125: 7(int) CooperativeMatrixLengthKHR 33
|
||||
126: 58(int) Bitcast 125
|
||||
Store 124(l) 126
|
||||
Store 132(F) 134
|
||||
140: 56(ptr) AccessChain 137(a) 138 62
|
||||
Store 140 139
|
||||
Store 141(md1) 36
|
||||
142: 33 Load 35(m)
|
||||
143: 33 Load 35(m)
|
||||
144: 33 FAdd 143 142
|
||||
Store 35(m) 144
|
||||
146: 17(float) CompositeExtract 144 1234
|
||||
147: 17(float) Load 141(md1)
|
||||
148: 17(float) FAdd 147 146
|
||||
Store 141(md1) 148
|
||||
154: 153(ptr) AccessChain 152(mC2) 98
|
||||
155: 149 Load 154
|
||||
156: 153(ptr) AccessChain 152(mC2) 59
|
||||
Store 156 155
|
||||
158: 73(ptr) AccessChain 71(block) 62 32
|
||||
159: 33 CooperativeMatrixLoadKHR 158 62 75 MakePointerVisibleKHR NonPrivatePointerKHR 72
|
||||
Store 157(tempArg) 159
|
||||
160: 33 Load 157(tempArg)
|
||||
Store 35(m) 160
|
||||
161: 33 Load 35(m)
|
||||
162: 73(ptr) AccessChain 71(block) 62 32
|
||||
CooperativeMatrixStoreKHR 162 161 62 75 MakePointerAvailableKHR NonPrivatePointerKHR 72
|
||||
164: 91(ptr) AccessChain 90(block16) 62 32
|
||||
165: 51 CooperativeMatrixLoadKHR 164 62 75 MakePointerVisibleKHR NonPrivatePointerKHR 72
|
||||
Store 163(tempArg) 165
|
||||
166: 51 Load 163(tempArg)
|
||||
Store 53(m2) 166
|
||||
167: 51 Load 53(m2)
|
||||
168: 91(ptr) AccessChain 90(block16) 62 32
|
||||
CooperativeMatrixStoreKHR 168 167 62 75 MakePointerAvailableKHR NonPrivatePointerKHR 72
|
||||
171: 11 Load 169(p1)
|
||||
Store 170(param) 171
|
||||
172: 11 FunctionCall 15(f16(f161;) 170(param)
|
||||
Store 169(p1) 172
|
||||
175: 18 Load 173(p2)
|
||||
Store 174(param) 175
|
||||
176: 18 FunctionCall 22(f32(f1;) 174(param)
|
||||
Store 173(p2) 176
|
||||
Store 169(p1) 177
|
||||
Store 173(p2) 178
|
||||
179: 11 Load 169(p1)
|
||||
180: 11 Load 169(p1)
|
||||
181: 11 FDiv 180 179
|
||||
Store 169(p1) 181
|
||||
183: 11 Load 169(p1)
|
||||
184: 11 MatrixTimesScalar 183 182
|
||||
Store 169(p1) 184
|
||||
186: 18 Load 173(p2)
|
||||
187: 18 MatrixTimesScalar 186 185
|
||||
Store 173(p2) 187
|
||||
195: 194(ptr) AccessChain 193(shmatrix) 82
|
||||
196: 51 CooperativeMatrixLoadKHR 195 62 10 MakePointerVisibleKHR NonPrivatePointerKHR 10
|
||||
Store 188(tempArg) 196
|
||||
198: 51 Load 188(tempArg)
|
||||
Store 197(ms) 198
|
||||
199: 51 Load 197(ms)
|
||||
200: 194(ptr) AccessChain 193(shmatrix) 82
|
||||
CooperativeMatrixStoreKHR 200 199 62 10 MakePointerAvailableKHR NonPrivatePointerKHR 10
|
||||
205: 202 Load 204(ms8A)
|
||||
209: 206 Load 208(ms8B)
|
||||
213: 210 Load 212(ms8C)
|
||||
214: 210 CooperativeMatrixMulAddKHR 205 209 213 ASignedComponents BSignedComponents CSignedComponents ResultSignedComponents
|
||||
215: 202 Load 204(ms8A)
|
||||
216: 206 Load 208(ms8B)
|
||||
217: 210 Load 212(ms8C)
|
||||
218: 210 CooperativeMatrixMulAddKHR 215 216 217 ASignedComponents BSignedComponents CSignedComponents ResultSignedComponents
|
||||
219: 202 Load 204(ms8A)
|
||||
220: 206 Load 208(ms8B)
|
||||
221: 210 Load 212(ms8C)
|
||||
223: 210 CooperativeMatrixMulAddKHR 219 220 221 ASignedComponents BSignedComponents CSignedComponents ResultSignedComponents SaturatingAccumulation
|
||||
228: 225 Load 227(m16)
|
||||
229: 194(ptr) AccessChain 193(shmatrix) 82
|
||||
CooperativeMatrixStoreKHR 229 228 62 10 MakePointerAvailableKHR NonPrivatePointerKHR 10
|
||||
Return
|
||||
FunctionEnd
|
||||
15(f16(f161;): 11 Function None 13
|
||||
14(m): 12(ptr) FunctionParameter
|
||||
16: Label
|
||||
24: 11 Load 14(m)
|
||||
25: 11 FNegate 24
|
||||
ReturnValue 25
|
||||
FunctionEnd
|
||||
22(f32(f1;): 18 Function None 20
|
||||
21(m): 19(ptr) FunctionParameter
|
||||
23: Label
|
||||
28: 18 Load 21(m)
|
||||
29: 18 FNegate 28
|
||||
ReturnValue 29
|
||||
FunctionEnd
|
||||
38
Test/baseResults/spv.coopmatKHR_Error.comp.out
Normal file
38
Test/baseResults/spv.coopmatKHR_Error.comp.out
Normal file
@@ -0,0 +1,38 @@
|
||||
spv.coopmatKHR_Error.comp
|
||||
ERROR: 0:8: 'ftemplate16' : unexpected type parameters
|
||||
ERROR: 0:10: '' : coopmat missing type parameters
|
||||
ERROR: 0:10: 'fnoparams' : unexpected number type parameters
|
||||
ERROR: 0:17: 'void' : coopmat invalid basic type
|
||||
ERROR: 0:17: 'fbadtype' : expected 8, 16, 32, or 64 bit signed or unsigned integer or 16, 32, or 64 bit float type
|
||||
ERROR: 0:17: 'fbadtype' : illegal use of type 'void'
|
||||
ERROR: 0:18: '' : type parameter must be a constant integer expression
|
||||
ERROR: 0:18: 'void' : coopmat invalid basic type
|
||||
ERROR: 0:18: '' : coopmat incorrect number of type parameters
|
||||
ERROR: 0:18: 'fbadtype2' : unexpected number type parameters
|
||||
ERROR: 0:18: 'fbadtype2' : expected 8, 16, 32, or 64 bit signed or unsigned integer or 16, 32, or 64 bit float type
|
||||
ERROR: 0:18: 'fbadtype2' : illegal use of type 'void'
|
||||
ERROR: 0:19: 'void' : coopmat invalid basic type
|
||||
ERROR: 0:19: '' : coopmat incorrect number of type parameters
|
||||
ERROR: 0:19: 'fbadtype3' : unexpected number type parameters
|
||||
ERROR: 0:19: 'fbadtype3' : expected 8, 16, 32, or 64 bit signed or unsigned integer or 16, 32, or 64 bit float type
|
||||
ERROR: 0:19: 'fbadtype3' : illegal use of type 'void'
|
||||
ERROR: 0:21: '' : coopmat incorrect number of type parameters
|
||||
ERROR: 0:25: '' : type parameter must be a constant integer expression
|
||||
ERROR: 0:29: '' : coopmat incorrect number of type parameters
|
||||
ERROR: 0:29: 'Cooperative matrix types must not be used in shared memory' : qualifier
|
||||
ERROR: 0:32: 'bufmat' : member of block cannot be or contain a cooperative matrix type
|
||||
ERROR: 0:41: 'assign' : cannot convert from ' temp coopmat<3, 16, 8, 0> float16_t' to ' temp coopmat<3, 16, 8, 0> float'
|
||||
ERROR: 0:42: 'assign' : cannot convert from ' temp coopmat<3, 16, 8, 0> float16_t' to ' temp coopmat<3, 16, 8, 0> float'
|
||||
ERROR: 0:47: 'assign' : cannot convert from ' temp coopmat<3, 8, 8, 0> float16_t' to ' temp coopmat<3, 16, 8, 0> float16_t'
|
||||
ERROR: 0:53: 'assign' : cannot convert from ' temp coopmat<3, 8, 1, 0> float16_t' to ' temp coopmat<3, 8, 1, 0> float16_t'
|
||||
ERROR: 0:56: 'constructor' : too many arguments
|
||||
ERROR: 0:56: 'assign' : cannot convert from ' const float' to ' temp coopmat<3, 8, 8, 0> float16_t'
|
||||
ERROR: 0:60: 'constructor' : Cooperative matrix constructor argument must be scalar or cooperative matrix
|
||||
ERROR: 0:60: '=' : cannot convert from ' const float' to ' temp coopmat<3, 4, 4, 0> float'
|
||||
ERROR: 0:63: 'expression' : left of '[' is not of type array, matrix, or vector
|
||||
ERROR: 0:66: '.' : cannot apply to a cooperative matrix type: x
|
||||
ERROR: 0:68: 'transpose' : no matching overloaded function found
|
||||
ERROR: 33 compilation errors. No code generated.
|
||||
|
||||
|
||||
SPIR-V is not generated for failed compile or link
|
||||
248
Test/baseResults/spv.coopmatKHR_arithmetic.comp.out
Normal file
248
Test/baseResults/spv.coopmatKHR_arithmetic.comp.out
Normal file
@@ -0,0 +1,248 @@
|
||||
spv.coopmatKHR_arithmetic.comp
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 196
|
||||
|
||||
Capability Shader
|
||||
Capability Float16
|
||||
Capability Int8
|
||||
Capability VulkanMemoryModelKHR
|
||||
Capability CooperativeMatrixKHR
|
||||
Extension "SPV_KHR_cooperative_matrix"
|
||||
Extension "SPV_KHR_vulkan_memory_model"
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical VulkanKHR
|
||||
EntryPoint GLCompute 4 "main"
|
||||
ExecutionMode 4 LocalSize 64 1 1
|
||||
Source GLSL 450
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_KHR_cooperative_matrix"
|
||||
SourceExtension "GL_KHR_memory_scope_semantics"
|
||||
Name 4 "main"
|
||||
Name 13 "f"
|
||||
Name 48 "f16"
|
||||
Name 82 "u32"
|
||||
Name 117 "u8"
|
||||
Name 152 "i8"
|
||||
Decorate 195 BuiltIn WorkgroupSize
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
7: TypeInt 32 0
|
||||
8: 7(int) Constant 3
|
||||
9: 7(int) Constant 8
|
||||
10: 7(int) Constant 0
|
||||
11: TypeCooperativeMatrixKHR 6(float) 8 9 9 10
|
||||
12: TypePointer Function 11
|
||||
39: 6(float) Constant 1073741824
|
||||
45: TypeFloat 16
|
||||
46: TypeCooperativeMatrixKHR 45(float16_t) 8 9 9 10
|
||||
47: TypePointer Function 46
|
||||
74:45(float16_t) Constant 16384
|
||||
80: TypeCooperativeMatrixKHR 7(int) 8 9 9 10
|
||||
81: TypePointer Function 80
|
||||
108: 7(int) Constant 2
|
||||
114: TypeInt 8 0
|
||||
115: TypeCooperativeMatrixKHR 114(int8_t) 8 9 9 10
|
||||
116: TypePointer Function 115
|
||||
143: 114(int8_t) Constant 2
|
||||
149: TypeInt 8 1
|
||||
150: TypeCooperativeMatrixKHR 149(int8_t) 8 9 9 10
|
||||
151: TypePointer Function 150
|
||||
178: 149(int8_t) Constant 2
|
||||
192: TypeVector 7(int) 3
|
||||
193: 7(int) Constant 64
|
||||
194: 7(int) Constant 1
|
||||
195: 192(ivec3) ConstantComposite 193 194 194
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
13(f): 12(ptr) Variable Function
|
||||
48(f16): 47(ptr) Variable Function
|
||||
82(u32): 81(ptr) Variable Function
|
||||
117(u8): 116(ptr) Variable Function
|
||||
152(i8): 151(ptr) Variable Function
|
||||
14: 11 Load 13(f)
|
||||
15: 11 Load 13(f)
|
||||
16: 11 FAdd 14 15
|
||||
17: 11 Load 13(f)
|
||||
18: 11 Load 13(f)
|
||||
19: 11 FSub 17 18
|
||||
20: 11 Load 13(f)
|
||||
21: 11 Load 13(f)
|
||||
22: 11 FMul 20 21
|
||||
23: 11 Load 13(f)
|
||||
24: 11 Load 13(f)
|
||||
25: 11 FDiv 23 24
|
||||
26: 11 Load 13(f)
|
||||
27: 11 Load 13(f)
|
||||
28: 11 FAdd 27 26
|
||||
Store 13(f) 28
|
||||
29: 11 Load 13(f)
|
||||
30: 11 Load 13(f)
|
||||
31: 11 FSub 30 29
|
||||
Store 13(f) 31
|
||||
32: 11 Load 13(f)
|
||||
33: 11 Load 13(f)
|
||||
34: 11 FMul 33 32
|
||||
Store 13(f) 34
|
||||
35: 11 Load 13(f)
|
||||
36: 11 Load 13(f)
|
||||
37: 11 FDiv 36 35
|
||||
Store 13(f) 37
|
||||
38: 11 Load 13(f)
|
||||
40: 11 MatrixTimesScalar 38 39
|
||||
41: 11 Load 13(f)
|
||||
42: 11 MatrixTimesScalar 41 39
|
||||
43: 11 Load 13(f)
|
||||
44: 11 MatrixTimesScalar 43 39
|
||||
Store 13(f) 44
|
||||
49: 46 Load 48(f16)
|
||||
50: 46 Load 48(f16)
|
||||
51: 46 FAdd 49 50
|
||||
52: 46 Load 48(f16)
|
||||
53: 46 Load 48(f16)
|
||||
54: 46 FSub 52 53
|
||||
55: 46 Load 48(f16)
|
||||
56: 46 Load 48(f16)
|
||||
57: 46 FMul 55 56
|
||||
58: 46 Load 48(f16)
|
||||
59: 46 Load 48(f16)
|
||||
60: 46 FDiv 58 59
|
||||
61: 46 Load 48(f16)
|
||||
62: 46 Load 48(f16)
|
||||
63: 46 FAdd 62 61
|
||||
Store 48(f16) 63
|
||||
64: 46 Load 48(f16)
|
||||
65: 46 Load 48(f16)
|
||||
66: 46 FSub 65 64
|
||||
Store 48(f16) 66
|
||||
67: 46 Load 48(f16)
|
||||
68: 46 Load 48(f16)
|
||||
69: 46 FMul 68 67
|
||||
Store 48(f16) 69
|
||||
70: 46 Load 48(f16)
|
||||
71: 46 Load 48(f16)
|
||||
72: 46 FDiv 71 70
|
||||
Store 48(f16) 72
|
||||
73: 46 Load 48(f16)
|
||||
75: 46 MatrixTimesScalar 73 74
|
||||
76: 46 Load 48(f16)
|
||||
77: 46 MatrixTimesScalar 76 74
|
||||
78: 46 Load 48(f16)
|
||||
79: 46 MatrixTimesScalar 78 74
|
||||
Store 48(f16) 79
|
||||
83: 80 Load 82(u32)
|
||||
84: 80 Load 82(u32)
|
||||
85: 80 IAdd 83 84
|
||||
86: 80 Load 82(u32)
|
||||
87: 80 Load 82(u32)
|
||||
88: 80 ISub 86 87
|
||||
89: 80 Load 82(u32)
|
||||
90: 80 Load 82(u32)
|
||||
91: 80 IMul 89 90
|
||||
92: 80 Load 82(u32)
|
||||
93: 80 Load 82(u32)
|
||||
94: 80 UDiv 92 93
|
||||
95: 80 Load 82(u32)
|
||||
96: 80 Load 82(u32)
|
||||
97: 80 IAdd 96 95
|
||||
Store 82(u32) 97
|
||||
98: 80 Load 82(u32)
|
||||
99: 80 Load 82(u32)
|
||||
100: 80 ISub 99 98
|
||||
Store 82(u32) 100
|
||||
101: 80 Load 82(u32)
|
||||
102: 80 Load 82(u32)
|
||||
103: 80 IMul 102 101
|
||||
Store 82(u32) 103
|
||||
104: 80 Load 82(u32)
|
||||
105: 80 Load 82(u32)
|
||||
106: 80 UDiv 105 104
|
||||
Store 82(u32) 106
|
||||
107: 80 Load 82(u32)
|
||||
109: 80 MatrixTimesScalar 107 108
|
||||
110: 80 Load 82(u32)
|
||||
111: 80 MatrixTimesScalar 110 108
|
||||
112: 80 Load 82(u32)
|
||||
113: 80 MatrixTimesScalar 112 108
|
||||
Store 82(u32) 113
|
||||
118: 115 Load 117(u8)
|
||||
119: 115 Load 117(u8)
|
||||
120: 115 IAdd 118 119
|
||||
121: 115 Load 117(u8)
|
||||
122: 115 Load 117(u8)
|
||||
123: 115 ISub 121 122
|
||||
124: 115 Load 117(u8)
|
||||
125: 115 Load 117(u8)
|
||||
126: 115 IMul 124 125
|
||||
127: 115 Load 117(u8)
|
||||
128: 115 Load 117(u8)
|
||||
129: 115 UDiv 127 128
|
||||
130: 115 Load 117(u8)
|
||||
131: 115 Load 117(u8)
|
||||
132: 115 IAdd 131 130
|
||||
Store 117(u8) 132
|
||||
133: 115 Load 117(u8)
|
||||
134: 115 Load 117(u8)
|
||||
135: 115 ISub 134 133
|
||||
Store 117(u8) 135
|
||||
136: 115 Load 117(u8)
|
||||
137: 115 Load 117(u8)
|
||||
138: 115 IMul 137 136
|
||||
Store 117(u8) 138
|
||||
139: 115 Load 117(u8)
|
||||
140: 115 Load 117(u8)
|
||||
141: 115 UDiv 140 139
|
||||
Store 117(u8) 141
|
||||
142: 115 Load 117(u8)
|
||||
144: 115 MatrixTimesScalar 142 143
|
||||
145: 115 Load 117(u8)
|
||||
146: 115 MatrixTimesScalar 145 143
|
||||
147: 115 Load 117(u8)
|
||||
148: 115 MatrixTimesScalar 147 143
|
||||
Store 117(u8) 148
|
||||
153: 150 Load 152(i8)
|
||||
154: 150 Load 152(i8)
|
||||
155: 150 IAdd 153 154
|
||||
156: 150 Load 152(i8)
|
||||
157: 150 Load 152(i8)
|
||||
158: 150 ISub 156 157
|
||||
159: 150 Load 152(i8)
|
||||
160: 150 Load 152(i8)
|
||||
161: 150 IMul 159 160
|
||||
162: 150 Load 152(i8)
|
||||
163: 150 Load 152(i8)
|
||||
164: 150 SDiv 162 163
|
||||
165: 150 Load 152(i8)
|
||||
166: 150 Load 152(i8)
|
||||
167: 150 IAdd 166 165
|
||||
Store 152(i8) 167
|
||||
168: 150 Load 152(i8)
|
||||
169: 150 Load 152(i8)
|
||||
170: 150 ISub 169 168
|
||||
Store 152(i8) 170
|
||||
171: 150 Load 152(i8)
|
||||
172: 150 Load 152(i8)
|
||||
173: 150 IMul 172 171
|
||||
Store 152(i8) 173
|
||||
174: 150 Load 152(i8)
|
||||
175: 150 Load 152(i8)
|
||||
176: 150 SDiv 175 174
|
||||
Store 152(i8) 176
|
||||
177: 150 Load 152(i8)
|
||||
179: 150 MatrixTimesScalar 177 178
|
||||
180: 150 Load 152(i8)
|
||||
181: 150 MatrixTimesScalar 180 178
|
||||
182: 150 Load 152(i8)
|
||||
183: 150 MatrixTimesScalar 182 178
|
||||
Store 152(i8) 183
|
||||
184: 11 Load 13(f)
|
||||
185: 11 FNegate 184
|
||||
186: 46 Load 48(f16)
|
||||
187: 46 FNegate 186
|
||||
188: 150 Load 152(i8)
|
||||
189: 150 SNegate 188
|
||||
190: 115 Load 117(u8)
|
||||
191: 115 SNegate 190
|
||||
Return
|
||||
FunctionEnd
|
||||
64
Test/baseResults/spv.coopmatKHR_arithmeticError.comp.out
Normal file
64
Test/baseResults/spv.coopmatKHR_arithmeticError.comp.out
Normal file
@@ -0,0 +1,64 @@
|
||||
spv.coopmatKHR_arithmeticError.comp
|
||||
ERROR: 0:21: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' const float' (or there is no acceptable conversion)
|
||||
ERROR: 0:22: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' const float' (or there is no acceptable conversion)
|
||||
ERROR: 0:23: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' const float' (or there is no acceptable conversion)
|
||||
ERROR: 0:24: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type ' const float' and a right operand of type ' temp coopmat<3, 8, 8, 0> float' (or there is no acceptable conversion)
|
||||
ERROR: 0:25: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of type ' const float' and a right operand of type ' temp coopmat<3, 8, 8, 0> float' (or there is no acceptable conversion)
|
||||
ERROR: 0:26: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of type ' const float' and a right operand of type ' temp coopmat<3, 8, 8, 0> float' (or there is no acceptable conversion)
|
||||
ERROR: 0:27: 'assign' : cannot convert from ' const float' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:28: 'assign' : cannot convert from ' const float' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:29: 'assign' : cannot convert from ' const float' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:31: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' temp coopmat<3, 8, 8, 0> float16_t' (or there is no acceptable conversion)
|
||||
ERROR: 0:32: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' temp coopmat<3, 8, 8, 0> float16_t' (or there is no acceptable conversion)
|
||||
ERROR: 0:33: '*' : wrong operand types: no operation '*' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' temp coopmat<3, 8, 8, 0> float16_t' (or there is no acceptable conversion)
|
||||
ERROR: 0:34: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' temp coopmat<3, 8, 8, 0> float16_t' (or there is no acceptable conversion)
|
||||
ERROR: 0:35: 'assign' : cannot convert from ' temp coopmat<3, 8, 8, 0> float16_t' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:36: 'assign' : cannot convert from ' temp coopmat<3, 8, 8, 0> float16_t' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:37: 'assign' : cannot convert from ' temp coopmat<3, 8, 8, 0> float16_t' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:38: 'assign' : cannot convert from ' temp coopmat<3, 8, 8, 0> float16_t' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:40: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' temp coopmat<3, 8, 8, 1> float' (or there is no acceptable conversion)
|
||||
ERROR: 0:41: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' temp coopmat<3, 8, 8, 1> float' (or there is no acceptable conversion)
|
||||
ERROR: 0:42: '*' : wrong operand types: no operation '*' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' temp coopmat<3, 8, 8, 1> float' (or there is no acceptable conversion)
|
||||
ERROR: 0:43: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' temp coopmat<3, 8, 8, 1> float' (or there is no acceptable conversion)
|
||||
ERROR: 0:44: 'assign' : cannot convert from ' temp coopmat<3, 8, 8, 1> float' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:45: 'assign' : cannot convert from ' temp coopmat<3, 8, 8, 1> float' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:46: 'assign' : cannot convert from ' temp coopmat<3, 8, 8, 1> float' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:47: 'assign' : cannot convert from ' temp coopmat<3, 8, 8, 1> float' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:49: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' temp coopmat<3, 16, 8, 0> float' (or there is no acceptable conversion)
|
||||
ERROR: 0:50: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' temp coopmat<3, 16, 8, 0> float' (or there is no acceptable conversion)
|
||||
ERROR: 0:51: '*' : wrong operand types: no operation '*' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' temp coopmat<3, 16, 8, 0> float' (or there is no acceptable conversion)
|
||||
ERROR: 0:52: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> float' and a right operand of type ' temp coopmat<3, 16, 8, 0> float' (or there is no acceptable conversion)
|
||||
ERROR: 0:53: 'assign' : cannot convert from ' temp coopmat<3, 16, 8, 0> float' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:54: 'assign' : cannot convert from ' temp coopmat<3, 16, 8, 0> float' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:55: 'assign' : cannot convert from ' temp coopmat<3, 16, 8, 0> float' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:56: 'assign' : cannot convert from ' temp coopmat<3, 16, 8, 0> float' to ' temp coopmat<3, 8, 8, 0> float'
|
||||
ERROR: 0:58: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> uint8_t' and a right operand of type ' temp coopmat<3, 8, 8, 0> int8_t' (or there is no acceptable conversion)
|
||||
ERROR: 0:59: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> uint8_t' and a right operand of type ' temp coopmat<3, 8, 8, 0> int8_t' (or there is no acceptable conversion)
|
||||
ERROR: 0:60: '*' : wrong operand types: no operation '*' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> uint8_t' and a right operand of type ' temp coopmat<3, 8, 8, 0> int8_t' (or there is no acceptable conversion)
|
||||
ERROR: 0:61: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> uint8_t' and a right operand of type ' temp coopmat<3, 8, 8, 0> int8_t' (or there is no acceptable conversion)
|
||||
ERROR: 0:62: 'assign' : cannot convert from ' temp coopmat<3, 8, 8, 0> int8_t' to ' temp coopmat<3, 8, 8, 0> uint8_t'
|
||||
ERROR: 0:63: 'assign' : cannot convert from ' temp coopmat<3, 8, 8, 0> int8_t' to ' temp coopmat<3, 8, 8, 0> uint8_t'
|
||||
ERROR: 0:64: 'assign' : cannot convert from ' temp coopmat<3, 8, 8, 0> int8_t' to ' temp coopmat<3, 8, 8, 0> uint8_t'
|
||||
ERROR: 0:65: 'assign' : cannot convert from ' temp coopmat<3, 8, 8, 0> int8_t' to ' temp coopmat<3, 8, 8, 0> uint8_t'
|
||||
ERROR: 0:67: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> uint8_t' and a right operand of type ' const uint8_t' (or there is no acceptable conversion)
|
||||
ERROR: 0:68: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> uint8_t' and a right operand of type ' const uint8_t' (or there is no acceptable conversion)
|
||||
ERROR: 0:69: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> uint8_t' and a right operand of type ' const uint8_t' (or there is no acceptable conversion)
|
||||
ERROR: 0:70: 'assign' : cannot convert from ' const uint8_t' to ' temp coopmat<3, 8, 8, 0> uint8_t'
|
||||
ERROR: 0:71: 'assign' : cannot convert from ' const uint8_t' to ' temp coopmat<3, 8, 8, 0> uint8_t'
|
||||
ERROR: 0:72: 'assign' : cannot convert from ' const uint8_t' to ' temp coopmat<3, 8, 8, 0> uint8_t'
|
||||
ERROR: 0:74: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> int8_t' and a right operand of type ' const int8_t' (or there is no acceptable conversion)
|
||||
ERROR: 0:75: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> int8_t' and a right operand of type ' const int8_t' (or there is no acceptable conversion)
|
||||
ERROR: 0:76: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> int8_t' and a right operand of type ' const int8_t' (or there is no acceptable conversion)
|
||||
ERROR: 0:77: 'assign' : cannot convert from ' const int8_t' to ' temp coopmat<3, 8, 8, 0> int8_t'
|
||||
ERROR: 0:78: 'assign' : cannot convert from ' const int8_t' to ' temp coopmat<3, 8, 8, 0> int8_t'
|
||||
ERROR: 0:79: 'assign' : cannot convert from ' const int8_t' to ' temp coopmat<3, 8, 8, 0> int8_t'
|
||||
ERROR: 0:81: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> int' and a right operand of type ' const int' (or there is no acceptable conversion)
|
||||
ERROR: 0:82: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> int' and a right operand of type ' const int' (or there is no acceptable conversion)
|
||||
ERROR: 0:83: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of type ' temp coopmat<3, 8, 8, 0> int' and a right operand of type ' const int' (or there is no acceptable conversion)
|
||||
ERROR: 0:84: 'assign' : cannot convert from ' const int' to ' temp coopmat<3, 8, 8, 0> int'
|
||||
ERROR: 0:85: 'assign' : cannot convert from ' const int' to ' temp coopmat<3, 8, 8, 0> int'
|
||||
ERROR: 0:86: 'assign' : cannot convert from ' const int' to ' temp coopmat<3, 8, 8, 0> int'
|
||||
ERROR: 59 compilation errors. No code generated.
|
||||
|
||||
|
||||
SPIR-V is not generated for failed compile or link
|
||||
632
Test/baseResults/spv.coopmatKHR_constructor.comp.out
Normal file
632
Test/baseResults/spv.coopmatKHR_constructor.comp.out
Normal file
@@ -0,0 +1,632 @@
|
||||
spv.coopmatKHR_constructor.comp
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 481
|
||||
|
||||
Capability Shader
|
||||
Capability Float16
|
||||
Capability Int16
|
||||
Capability Int8
|
||||
Capability VulkanMemoryModelKHR
|
||||
Capability CooperativeMatrixKHR
|
||||
Extension "SPV_KHR_cooperative_matrix"
|
||||
Extension "SPV_KHR_vulkan_memory_model"
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical VulkanKHR
|
||||
EntryPoint GLCompute 4 "main"
|
||||
ExecutionMode 4 LocalSize 64 1 1
|
||||
Source GLSL 450
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_KHR_cooperative_matrix"
|
||||
SourceExtension "GL_KHR_memory_scope_semantics"
|
||||
Name 4 "main"
|
||||
Name 154 "v"
|
||||
Name 158 "v"
|
||||
Name 164 "v"
|
||||
Name 170 "v"
|
||||
Name 176 "v"
|
||||
Name 182 "v"
|
||||
Name 188 "v"
|
||||
Name 194 "v"
|
||||
Name 199 "v"
|
||||
Name 204 "v"
|
||||
Name 207 "v"
|
||||
Name 212 "v"
|
||||
Name 217 "v"
|
||||
Name 222 "v"
|
||||
Name 227 "v"
|
||||
Name 232 "v"
|
||||
Name 237 "v"
|
||||
Name 242 "v"
|
||||
Name 247 "v"
|
||||
Name 250 "v"
|
||||
Name 255 "v"
|
||||
Name 260 "v"
|
||||
Name 265 "v"
|
||||
Name 271 "v"
|
||||
Name 277 "v"
|
||||
Name 282 "v"
|
||||
Name 287 "v"
|
||||
Name 292 "v"
|
||||
Name 295 "v"
|
||||
Name 300 "v"
|
||||
Name 306 "v"
|
||||
Name 311 "v"
|
||||
Name 317 "v"
|
||||
Name 322 "v"
|
||||
Name 327 "v"
|
||||
Name 332 "v"
|
||||
Name 337 "v"
|
||||
Name 340 "v"
|
||||
Name 346 "v"
|
||||
Name 352 "v"
|
||||
Name 357 "v"
|
||||
Name 362 "v"
|
||||
Name 367 "v"
|
||||
Name 372 "v"
|
||||
Name 378 "v"
|
||||
Name 384 "v"
|
||||
Name 387 "v"
|
||||
Name 392 "v"
|
||||
Name 397 "v"
|
||||
Name 402 "v"
|
||||
Name 407 "v"
|
||||
Name 413 "v"
|
||||
Name 418 "v"
|
||||
Name 424 "v"
|
||||
Name 429 "v"
|
||||
Name 432 "v"
|
||||
Name 437 "v"
|
||||
Name 442 "v"
|
||||
Name 447 "v"
|
||||
Name 453 "v"
|
||||
Name 459 "v"
|
||||
Name 464 "v"
|
||||
Name 469 "v"
|
||||
Name 474 "v"
|
||||
Decorate 480 BuiltIn WorkgroupSize
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
7: TypeInt 32 0
|
||||
8: 7(int) Constant 3
|
||||
9: 7(int) Constant 8
|
||||
10: 7(int) Constant 0
|
||||
11: TypeCooperativeMatrixKHR 6(float) 8 9 9 10
|
||||
12: 6(float) Constant 1065353216
|
||||
13: 11 ConstantComposite 12
|
||||
14: 6(float) Constant 1073741824
|
||||
15: 11 ConstantComposite 14
|
||||
16: 6(float) Constant 1077936128
|
||||
17: 11 ConstantComposite 16
|
||||
18: 6(float) Constant 1082130432
|
||||
19: 11 ConstantComposite 18
|
||||
20: 6(float) Constant 1084227584
|
||||
21: 11 ConstantComposite 20
|
||||
22: 6(float) Constant 1086324736
|
||||
23: 11 ConstantComposite 22
|
||||
24: 6(float) Constant 1088421888
|
||||
25: 11 ConstantComposite 24
|
||||
26: 6(float) Constant 1090519040
|
||||
27: 11 ConstantComposite 26
|
||||
28: TypeFloat 16
|
||||
29: TypeCooperativeMatrixKHR 28(float16_t) 8 9 9 10
|
||||
30:28(float16_t) Constant 18816
|
||||
31: 29 ConstantComposite 30
|
||||
32:28(float16_t) Constant 18944
|
||||
33: 29 ConstantComposite 32
|
||||
34:28(float16_t) Constant 19072
|
||||
35: 29 ConstantComposite 34
|
||||
36:28(float16_t) Constant 19200
|
||||
37: 29 ConstantComposite 36
|
||||
38:28(float16_t) Constant 19328
|
||||
39: 29 ConstantComposite 38
|
||||
40:28(float16_t) Constant 19456
|
||||
41: 29 ConstantComposite 40
|
||||
42:28(float16_t) Constant 19520
|
||||
43: 29 ConstantComposite 42
|
||||
44:28(float16_t) Constant 19584
|
||||
45: 29 ConstantComposite 44
|
||||
46: TypeCooperativeMatrixKHR 7(int) 8 9 9 10
|
||||
47: 7(int) Constant 21
|
||||
48: 46 ConstantComposite 47
|
||||
49: 7(int) Constant 22
|
||||
50: 46 ConstantComposite 49
|
||||
51: 7(int) Constant 23
|
||||
52: 46 ConstantComposite 51
|
||||
53: 7(int) Constant 24
|
||||
54: 46 ConstantComposite 53
|
||||
55: 7(int) Constant 25
|
||||
56: 46 ConstantComposite 55
|
||||
57: 7(int) Constant 26
|
||||
58: 46 ConstantComposite 57
|
||||
59: 7(int) Constant 27
|
||||
60: 46 ConstantComposite 59
|
||||
61: 7(int) Constant 28
|
||||
62: 46 ConstantComposite 61
|
||||
63: TypeInt 16 0
|
||||
64: TypeCooperativeMatrixKHR 63(int16_t) 8 9 9 10
|
||||
65: 63(int16_t) Constant 31
|
||||
66: 64 ConstantComposite 65
|
||||
67: 63(int16_t) Constant 32
|
||||
68: 64 ConstantComposite 67
|
||||
69: 63(int16_t) Constant 33
|
||||
70: 64 ConstantComposite 69
|
||||
71: 63(int16_t) Constant 34
|
||||
72: 64 ConstantComposite 71
|
||||
73: 63(int16_t) Constant 35
|
||||
74: 64 ConstantComposite 73
|
||||
75: 63(int16_t) Constant 36
|
||||
76: 64 ConstantComposite 75
|
||||
77: 63(int16_t) Constant 37
|
||||
78: 64 ConstantComposite 77
|
||||
79: 63(int16_t) Constant 38
|
||||
80: 64 ConstantComposite 79
|
||||
81: TypeInt 8 0
|
||||
82: TypeCooperativeMatrixKHR 81(int8_t) 8 9 9 10
|
||||
83: 81(int8_t) Constant 41
|
||||
84: 82 ConstantComposite 83
|
||||
85: 81(int8_t) Constant 42
|
||||
86: 82 ConstantComposite 85
|
||||
87: 81(int8_t) Constant 43
|
||||
88: 82 ConstantComposite 87
|
||||
89: 81(int8_t) Constant 44
|
||||
90: 82 ConstantComposite 89
|
||||
91: 81(int8_t) Constant 45
|
||||
92: 82 ConstantComposite 91
|
||||
93: 81(int8_t) Constant 46
|
||||
94: 82 ConstantComposite 93
|
||||
95: 81(int8_t) Constant 47
|
||||
96: 82 ConstantComposite 95
|
||||
97: 81(int8_t) Constant 48
|
||||
98: 82 ConstantComposite 97
|
||||
99: TypeInt 32 1
|
||||
100: TypeCooperativeMatrixKHR 99(int) 8 9 9 10
|
||||
101: 99(int) Constant 51
|
||||
102: 100 ConstantComposite 101
|
||||
103: 99(int) Constant 52
|
||||
104: 100 ConstantComposite 103
|
||||
105: 99(int) Constant 53
|
||||
106: 100 ConstantComposite 105
|
||||
107: 99(int) Constant 54
|
||||
108: 100 ConstantComposite 107
|
||||
109: 99(int) Constant 55
|
||||
110: 100 ConstantComposite 109
|
||||
111: 99(int) Constant 56
|
||||
112: 100 ConstantComposite 111
|
||||
113: 99(int) Constant 57
|
||||
114: 100 ConstantComposite 113
|
||||
115: 99(int) Constant 58
|
||||
116: 100 ConstantComposite 115
|
||||
117: TypeInt 16 1
|
||||
118: TypeCooperativeMatrixKHR 117(int16_t) 8 9 9 10
|
||||
119:117(int16_t) Constant 61
|
||||
120: 118 ConstantComposite 119
|
||||
121:117(int16_t) Constant 62
|
||||
122: 118 ConstantComposite 121
|
||||
123:117(int16_t) Constant 63
|
||||
124: 118 ConstantComposite 123
|
||||
125:117(int16_t) Constant 64
|
||||
126: 118 ConstantComposite 125
|
||||
127:117(int16_t) Constant 65
|
||||
128: 118 ConstantComposite 127
|
||||
129:117(int16_t) Constant 66
|
||||
130: 118 ConstantComposite 129
|
||||
131:117(int16_t) Constant 67
|
||||
132: 118 ConstantComposite 131
|
||||
133:117(int16_t) Constant 68
|
||||
134: 118 ConstantComposite 133
|
||||
135: TypeInt 8 1
|
||||
136: TypeCooperativeMatrixKHR 135(int8_t) 8 9 9 10
|
||||
137: 135(int8_t) Constant 71
|
||||
138: 136 ConstantComposite 137
|
||||
139: 135(int8_t) Constant 72
|
||||
140: 136 ConstantComposite 139
|
||||
141: 135(int8_t) Constant 73
|
||||
142: 136 ConstantComposite 141
|
||||
143: 135(int8_t) Constant 74
|
||||
144: 136 ConstantComposite 143
|
||||
145: 135(int8_t) Constant 75
|
||||
146: 136 ConstantComposite 145
|
||||
147: 135(int8_t) Constant 76
|
||||
148: 136 ConstantComposite 147
|
||||
149: 135(int8_t) Constant 77
|
||||
150: 136 ConstantComposite 149
|
||||
151: 135(int8_t) Constant 78
|
||||
152: 136 ConstantComposite 151
|
||||
153: TypePointer Function 11
|
||||
155: 6(float) Constant 1120534528
|
||||
156: 11 ConstantComposite 155
|
||||
157: TypePointer Function 29
|
||||
159:28(float16_t) Constant 22112
|
||||
160: 29 ConstantComposite 159
|
||||
163: TypePointer Function 46
|
||||
165: 7(int) Constant 103
|
||||
166: 46 ConstantComposite 165
|
||||
169: TypePointer Function 64
|
||||
171: 63(int16_t) Constant 104
|
||||
172: 64 ConstantComposite 171
|
||||
175: TypePointer Function 82
|
||||
177: 81(int8_t) Constant 105
|
||||
178: 82 ConstantComposite 177
|
||||
181: TypePointer Function 100
|
||||
183: 99(int) Constant 106
|
||||
184: 100 ConstantComposite 183
|
||||
187: TypePointer Function 118
|
||||
189:117(int16_t) Constant 107
|
||||
190: 118 ConstantComposite 189
|
||||
193: TypePointer Function 136
|
||||
195: 135(int8_t) Constant 108
|
||||
196: 136 ConstantComposite 195
|
||||
200: 6(float) Constant 1121845248
|
||||
201: 11 ConstantComposite 200
|
||||
205:28(float16_t) Constant 22272
|
||||
206: 29 ConstantComposite 205
|
||||
208: 7(int) Constant 113
|
||||
209: 46 ConstantComposite 208
|
||||
213: 63(int16_t) Constant 114
|
||||
214: 64 ConstantComposite 213
|
||||
218: 81(int8_t) Constant 115
|
||||
219: 82 ConstantComposite 218
|
||||
223: 99(int) Constant 116
|
||||
224: 100 ConstantComposite 223
|
||||
228:117(int16_t) Constant 117
|
||||
229: 118 ConstantComposite 228
|
||||
233: 135(int8_t) Constant 118
|
||||
234: 136 ConstantComposite 233
|
||||
238: 6(float) Constant 1123155968
|
||||
239: 11 ConstantComposite 238
|
||||
243:28(float16_t) Constant 22432
|
||||
244: 29 ConstantComposite 243
|
||||
248: 7(int) Constant 123
|
||||
249: 46 ConstantComposite 248
|
||||
251: 63(int16_t) Constant 124
|
||||
252: 64 ConstantComposite 251
|
||||
256: 81(int8_t) Constant 125
|
||||
257: 82 ConstantComposite 256
|
||||
261: 99(int) Constant 126
|
||||
262: 100 ConstantComposite 261
|
||||
266:117(int16_t) Constant 127
|
||||
267: 118 ConstantComposite 266
|
||||
272: 135(int8_t) Constant 4294967168
|
||||
273: 136 ConstantComposite 272
|
||||
278: 6(float) Constant 1124270080
|
||||
279: 11 ConstantComposite 278
|
||||
283:28(float16_t) Constant 22560
|
||||
284: 29 ConstantComposite 283
|
||||
288: 7(int) Constant 133
|
||||
289: 46 ConstantComposite 288
|
||||
293: 63(int16_t) Constant 134
|
||||
294: 64 ConstantComposite 293
|
||||
296: 81(int8_t) Constant 135
|
||||
297: 82 ConstantComposite 296
|
||||
301: 99(int) Constant 136
|
||||
302: 100 ConstantComposite 301
|
||||
307:117(int16_t) Constant 137
|
||||
308: 118 ConstantComposite 307
|
||||
312: 135(int8_t) Constant 4294967178
|
||||
313: 136 ConstantComposite 312
|
||||
318: 6(float) Constant 1124925440
|
||||
319: 11 ConstantComposite 318
|
||||
323:28(float16_t) Constant 22640
|
||||
324: 29 ConstantComposite 323
|
||||
328: 7(int) Constant 143
|
||||
329: 46 ConstantComposite 328
|
||||
333: 63(int16_t) Constant 144
|
||||
334: 64 ConstantComposite 333
|
||||
338: 81(int8_t) Constant 145
|
||||
339: 82 ConstantComposite 338
|
||||
341: 99(int) Constant 146
|
||||
342: 100 ConstantComposite 341
|
||||
347:117(int16_t) Constant 147
|
||||
348: 118 ConstantComposite 347
|
||||
353: 135(int8_t) Constant 4294967188
|
||||
354: 136 ConstantComposite 353
|
||||
358: 6(float) Constant 1125580800
|
||||
359: 11 ConstantComposite 358
|
||||
363:28(float16_t) Constant 22720
|
||||
364: 29 ConstantComposite 363
|
||||
368: 7(int) Constant 153
|
||||
369: 46 ConstantComposite 368
|
||||
373: 63(int16_t) Constant 154
|
||||
374: 64 ConstantComposite 373
|
||||
379: 81(int8_t) Constant 155
|
||||
380: 82 ConstantComposite 379
|
||||
385: 99(int) Constant 156
|
||||
386: 100 ConstantComposite 385
|
||||
388:117(int16_t) Constant 157
|
||||
389: 118 ConstantComposite 388
|
||||
393: 135(int8_t) Constant 4294967198
|
||||
394: 136 ConstantComposite 393
|
||||
398: 6(float) Constant 1126236160
|
||||
399: 11 ConstantComposite 398
|
||||
403:28(float16_t) Constant 22800
|
||||
404: 29 ConstantComposite 403
|
||||
408: 7(int) Constant 163
|
||||
409: 46 ConstantComposite 408
|
||||
414: 63(int16_t) Constant 164
|
||||
415: 64 ConstantComposite 414
|
||||
419: 81(int8_t) Constant 165
|
||||
420: 82 ConstantComposite 419
|
||||
425: 99(int) Constant 166
|
||||
426: 100 ConstantComposite 425
|
||||
430:117(int16_t) Constant 167
|
||||
431: 118 ConstantComposite 430
|
||||
433: 135(int8_t) Constant 4294967208
|
||||
434: 136 ConstantComposite 433
|
||||
438: 6(float) Constant 1126891520
|
||||
439: 11 ConstantComposite 438
|
||||
443:28(float16_t) Constant 22880
|
||||
444: 29 ConstantComposite 443
|
||||
448: 7(int) Constant 173
|
||||
449: 46 ConstantComposite 448
|
||||
454: 63(int16_t) Constant 174
|
||||
455: 64 ConstantComposite 454
|
||||
460: 81(int8_t) Constant 175
|
||||
461: 82 ConstantComposite 460
|
||||
465: 99(int) Constant 176
|
||||
466: 100 ConstantComposite 465
|
||||
470:117(int16_t) Constant 177
|
||||
471: 118 ConstantComposite 470
|
||||
475: 135(int8_t) Constant 4294967218
|
||||
476: 136 ConstantComposite 475
|
||||
477: TypeVector 7(int) 3
|
||||
478: 7(int) Constant 64
|
||||
479: 7(int) Constant 1
|
||||
480: 477(ivec3) ConstantComposite 478 479 479
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
154(v): 153(ptr) Variable Function
|
||||
158(v): 157(ptr) Variable Function
|
||||
164(v): 163(ptr) Variable Function
|
||||
170(v): 169(ptr) Variable Function
|
||||
176(v): 175(ptr) Variable Function
|
||||
182(v): 181(ptr) Variable Function
|
||||
188(v): 187(ptr) Variable Function
|
||||
194(v): 193(ptr) Variable Function
|
||||
199(v): 153(ptr) Variable Function
|
||||
204(v): 157(ptr) Variable Function
|
||||
207(v): 163(ptr) Variable Function
|
||||
212(v): 169(ptr) Variable Function
|
||||
217(v): 175(ptr) Variable Function
|
||||
222(v): 181(ptr) Variable Function
|
||||
227(v): 187(ptr) Variable Function
|
||||
232(v): 193(ptr) Variable Function
|
||||
237(v): 153(ptr) Variable Function
|
||||
242(v): 157(ptr) Variable Function
|
||||
247(v): 163(ptr) Variable Function
|
||||
250(v): 169(ptr) Variable Function
|
||||
255(v): 175(ptr) Variable Function
|
||||
260(v): 181(ptr) Variable Function
|
||||
265(v): 187(ptr) Variable Function
|
||||
271(v): 193(ptr) Variable Function
|
||||
277(v): 153(ptr) Variable Function
|
||||
282(v): 157(ptr) Variable Function
|
||||
287(v): 163(ptr) Variable Function
|
||||
292(v): 169(ptr) Variable Function
|
||||
295(v): 175(ptr) Variable Function
|
||||
300(v): 181(ptr) Variable Function
|
||||
306(v): 187(ptr) Variable Function
|
||||
311(v): 193(ptr) Variable Function
|
||||
317(v): 153(ptr) Variable Function
|
||||
322(v): 157(ptr) Variable Function
|
||||
327(v): 163(ptr) Variable Function
|
||||
332(v): 169(ptr) Variable Function
|
||||
337(v): 175(ptr) Variable Function
|
||||
340(v): 181(ptr) Variable Function
|
||||
346(v): 187(ptr) Variable Function
|
||||
352(v): 193(ptr) Variable Function
|
||||
357(v): 153(ptr) Variable Function
|
||||
362(v): 157(ptr) Variable Function
|
||||
367(v): 163(ptr) Variable Function
|
||||
372(v): 169(ptr) Variable Function
|
||||
378(v): 175(ptr) Variable Function
|
||||
384(v): 181(ptr) Variable Function
|
||||
387(v): 187(ptr) Variable Function
|
||||
392(v): 193(ptr) Variable Function
|
||||
397(v): 153(ptr) Variable Function
|
||||
402(v): 157(ptr) Variable Function
|
||||
407(v): 163(ptr) Variable Function
|
||||
413(v): 169(ptr) Variable Function
|
||||
418(v): 175(ptr) Variable Function
|
||||
424(v): 181(ptr) Variable Function
|
||||
429(v): 187(ptr) Variable Function
|
||||
432(v): 193(ptr) Variable Function
|
||||
437(v): 153(ptr) Variable Function
|
||||
442(v): 157(ptr) Variable Function
|
||||
447(v): 163(ptr) Variable Function
|
||||
453(v): 169(ptr) Variable Function
|
||||
459(v): 175(ptr) Variable Function
|
||||
464(v): 181(ptr) Variable Function
|
||||
469(v): 187(ptr) Variable Function
|
||||
474(v): 193(ptr) Variable Function
|
||||
Store 154(v) 156
|
||||
Store 158(v) 160
|
||||
161: 29 Load 158(v)
|
||||
162: 11 FConvert 161
|
||||
Store 164(v) 166
|
||||
167: 46 Load 164(v)
|
||||
168: 11 ConvertUToF 167
|
||||
Store 170(v) 172
|
||||
173: 64 Load 170(v)
|
||||
174: 11 ConvertUToF 173
|
||||
Store 176(v) 178
|
||||
179: 82 Load 176(v)
|
||||
180: 11 ConvertUToF 179
|
||||
Store 182(v) 184
|
||||
185: 100 Load 182(v)
|
||||
186: 11 ConvertSToF 185
|
||||
Store 188(v) 190
|
||||
191: 118 Load 188(v)
|
||||
192: 11 ConvertSToF 191
|
||||
Store 194(v) 196
|
||||
197: 136 Load 194(v)
|
||||
198: 11 ConvertSToF 197
|
||||
Store 199(v) 201
|
||||
202: 11 Load 199(v)
|
||||
203: 29 FConvert 202
|
||||
Store 204(v) 206
|
||||
Store 207(v) 209
|
||||
210: 46 Load 207(v)
|
||||
211: 29 ConvertUToF 210
|
||||
Store 212(v) 214
|
||||
215: 64 Load 212(v)
|
||||
216: 29 ConvertUToF 215
|
||||
Store 217(v) 219
|
||||
220: 82 Load 217(v)
|
||||
221: 29 ConvertUToF 220
|
||||
Store 222(v) 224
|
||||
225: 100 Load 222(v)
|
||||
226: 29 ConvertSToF 225
|
||||
Store 227(v) 229
|
||||
230: 118 Load 227(v)
|
||||
231: 29 ConvertSToF 230
|
||||
Store 232(v) 234
|
||||
235: 136 Load 232(v)
|
||||
236: 29 ConvertSToF 235
|
||||
Store 237(v) 239
|
||||
240: 11 Load 237(v)
|
||||
241: 46 ConvertFToU 240
|
||||
Store 242(v) 244
|
||||
245: 29 Load 242(v)
|
||||
246: 46 ConvertFToU 245
|
||||
Store 247(v) 249
|
||||
Store 250(v) 252
|
||||
253: 64 Load 250(v)
|
||||
254: 46 UConvert 253
|
||||
Store 255(v) 257
|
||||
258: 82 Load 255(v)
|
||||
259: 46 UConvert 258
|
||||
Store 260(v) 262
|
||||
263: 100 Load 260(v)
|
||||
264: 46 Bitcast 263
|
||||
Store 265(v) 267
|
||||
268: 118 Load 265(v)
|
||||
269: 100 SConvert 268
|
||||
270: 46 Bitcast 269
|
||||
Store 271(v) 273
|
||||
274: 136 Load 271(v)
|
||||
275: 100 SConvert 274
|
||||
276: 46 Bitcast 275
|
||||
Store 277(v) 279
|
||||
280: 11 Load 277(v)
|
||||
281: 64 ConvertFToU 280
|
||||
Store 282(v) 284
|
||||
285: 29 Load 282(v)
|
||||
286: 64 ConvertFToU 285
|
||||
Store 287(v) 289
|
||||
290: 46 Load 287(v)
|
||||
291: 64 UConvert 290
|
||||
Store 292(v) 294
|
||||
Store 295(v) 297
|
||||
298: 82 Load 295(v)
|
||||
299: 64 UConvert 298
|
||||
Store 300(v) 302
|
||||
303: 100 Load 300(v)
|
||||
304: 118 SConvert 303
|
||||
305: 64 Bitcast 304
|
||||
Store 306(v) 308
|
||||
309: 118 Load 306(v)
|
||||
310: 64 Bitcast 309
|
||||
Store 311(v) 313
|
||||
314: 136 Load 311(v)
|
||||
315: 118 SConvert 314
|
||||
316: 64 Bitcast 315
|
||||
Store 317(v) 319
|
||||
320: 11 Load 317(v)
|
||||
321: 82 ConvertFToU 320
|
||||
Store 322(v) 324
|
||||
325: 29 Load 322(v)
|
||||
326: 82 ConvertFToU 325
|
||||
Store 327(v) 329
|
||||
330: 46 Load 327(v)
|
||||
331: 82 UConvert 330
|
||||
Store 332(v) 334
|
||||
335: 64 Load 332(v)
|
||||
336: 82 UConvert 335
|
||||
Store 337(v) 339
|
||||
Store 340(v) 342
|
||||
343: 100 Load 340(v)
|
||||
344: 136 SConvert 343
|
||||
345: 82 Bitcast 344
|
||||
Store 346(v) 348
|
||||
349: 118 Load 346(v)
|
||||
350: 136 SConvert 349
|
||||
351: 82 Bitcast 350
|
||||
Store 352(v) 354
|
||||
355: 136 Load 352(v)
|
||||
356: 82 Bitcast 355
|
||||
Store 357(v) 359
|
||||
360: 11 Load 357(v)
|
||||
361: 100 ConvertFToS 360
|
||||
Store 362(v) 364
|
||||
365: 29 Load 362(v)
|
||||
366: 100 ConvertFToS 365
|
||||
Store 367(v) 369
|
||||
370: 46 Load 367(v)
|
||||
371: 100 Bitcast 370
|
||||
Store 372(v) 374
|
||||
375: 64 Load 372(v)
|
||||
376: 46 UConvert 375
|
||||
377: 100 Bitcast 376
|
||||
Store 378(v) 380
|
||||
381: 82 Load 378(v)
|
||||
382: 46 UConvert 381
|
||||
383: 100 Bitcast 382
|
||||
Store 384(v) 386
|
||||
Store 387(v) 389
|
||||
390: 118 Load 387(v)
|
||||
391: 100 SConvert 390
|
||||
Store 392(v) 394
|
||||
395: 136 Load 392(v)
|
||||
396: 100 SConvert 395
|
||||
Store 397(v) 399
|
||||
400: 11 Load 397(v)
|
||||
401: 118 ConvertFToS 400
|
||||
Store 402(v) 404
|
||||
405: 29 Load 402(v)
|
||||
406: 118 ConvertFToS 405
|
||||
Store 407(v) 409
|
||||
410: 46 Load 407(v)
|
||||
411: 64 UConvert 410
|
||||
412: 118 Bitcast 411
|
||||
Store 413(v) 415
|
||||
416: 64 Load 413(v)
|
||||
417: 118 Bitcast 416
|
||||
Store 418(v) 420
|
||||
421: 82 Load 418(v)
|
||||
422: 64 UConvert 421
|
||||
423: 118 Bitcast 422
|
||||
Store 424(v) 426
|
||||
427: 100 Load 424(v)
|
||||
428: 118 SConvert 427
|
||||
Store 429(v) 431
|
||||
Store 432(v) 434
|
||||
435: 136 Load 432(v)
|
||||
436: 118 SConvert 435
|
||||
Store 437(v) 439
|
||||
440: 11 Load 437(v)
|
||||
441: 136 ConvertFToS 440
|
||||
Store 442(v) 444
|
||||
445: 29 Load 442(v)
|
||||
446: 136 ConvertFToS 445
|
||||
Store 447(v) 449
|
||||
450: 46 Load 447(v)
|
||||
451: 82 UConvert 450
|
||||
452: 136 Bitcast 451
|
||||
Store 453(v) 455
|
||||
456: 64 Load 453(v)
|
||||
457: 82 UConvert 456
|
||||
458: 136 Bitcast 457
|
||||
Store 459(v) 461
|
||||
462: 82 Load 459(v)
|
||||
463: 136 Bitcast 462
|
||||
Store 464(v) 466
|
||||
467: 100 Load 464(v)
|
||||
468: 136 SConvert 467
|
||||
Store 469(v) 471
|
||||
472: 118 Load 469(v)
|
||||
473: 136 SConvert 472
|
||||
Store 474(v) 476
|
||||
Return
|
||||
FunctionEnd
|
||||
@@ -0,0 +1,9 @@
|
||||
spv.coopmatKHR_constructorError.comp
|
||||
ERROR: 0:12: 'constructor' : Cooperative matrix type parameters mismatch
|
||||
ERROR: 0:13: 'constructor' : Cooperative matrix type parameters mismatch
|
||||
ERROR: 0:14: 'constructor' : Cooperative matrix type parameters mismatch
|
||||
ERROR: 0:15: 'constructor' : Cooperative matrix type parameters mismatch
|
||||
ERROR: 4 compilation errors. No code generated.
|
||||
|
||||
|
||||
SPIR-V is not generated for failed compile or link
|
||||
@@ -1,10 +1,11 @@
|
||||
spv.intcoopmat.comp
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 262
|
||||
// Id's are bound by 286
|
||||
|
||||
Capability Shader
|
||||
Capability Float16
|
||||
Capability Int16
|
||||
Capability Int8
|
||||
Capability StorageBuffer8BitAccess
|
||||
Capability VulkanMemoryModelKHR
|
||||
@@ -72,18 +73,22 @@ spv.intcoopmat.comp
|
||||
Name 207 "tempArg"
|
||||
Name 212 "shmatrix"
|
||||
Name 217 "ms"
|
||||
Name 225 "miC"
|
||||
Name 226 "muC"
|
||||
Name 231 "iarr"
|
||||
Name 236 "iarr2"
|
||||
Name 241 "uarr"
|
||||
Name 246 "uarr2"
|
||||
Name 251 "S"
|
||||
MemberName 251(S) 0 "a"
|
||||
MemberName 251(S) 1 "b"
|
||||
MemberName 251(S) 2 "c"
|
||||
Name 256 "SC"
|
||||
Name 261 "scm"
|
||||
Name 224 "i16"
|
||||
Name 230 "u16"
|
||||
Name 233 "tempArg"
|
||||
Name 239 "tempArg"
|
||||
Name 249 "miC"
|
||||
Name 250 "muC"
|
||||
Name 255 "iarr"
|
||||
Name 260 "iarr2"
|
||||
Name 265 "uarr"
|
||||
Name 270 "uarr2"
|
||||
Name 275 "S"
|
||||
MemberName 275(S) 0 "a"
|
||||
MemberName 275(S) 1 "b"
|
||||
MemberName 275(S) 2 "c"
|
||||
Name 280 "SC"
|
||||
Name 285 "scm"
|
||||
Decorate 83 ArrayStride 4
|
||||
Decorate 84 ArrayStride 4
|
||||
MemberDecorate 85(Block) 0 Offset 0
|
||||
@@ -105,8 +110,8 @@ spv.intcoopmat.comp
|
||||
Decorate 108(block8) DescriptorSet 0
|
||||
Decorate 108(block8) Binding 0
|
||||
Decorate 156(Y) SpecId 0
|
||||
Decorate 223 BuiltIn WorkgroupSize
|
||||
Decorate 256(SC) SpecId 2
|
||||
Decorate 247 BuiltIn WorkgroupSize
|
||||
Decorate 280(SC) SpecId 2
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 8 1
|
||||
@@ -196,47 +201,57 @@ spv.intcoopmat.comp
|
||||
212(shmatrix): 211(ptr) Variable Workgroup
|
||||
213: 7(int) Constant 2
|
||||
214: TypePointer Workgroup 208(ivec4)
|
||||
221: TypeVector 7(int) 3
|
||||
222: 7(int) Constant 64
|
||||
223: 221(ivec3) ConstantComposite 222 100 100
|
||||
224: TypePointer Private 166
|
||||
225(miC): 224(ptr) Variable Private
|
||||
226(muC): 162(ptr) Variable Private
|
||||
227: 7(int) SpecConstantOp 5362 166
|
||||
228: 72(int) SpecConstantOp 128 227 76
|
||||
229: TypeArray 72(int) 228
|
||||
230: TypePointer Private 229
|
||||
231(iarr): 230(ptr) Variable Private
|
||||
232: 7(int) SpecConstantOp 5362 166
|
||||
233: 72(int) SpecConstantOp 128 232 76
|
||||
234: TypeArray 72(int) 233
|
||||
235: TypePointer Private 234
|
||||
236(iarr2): 235(ptr) Variable Private
|
||||
237: 7(int) SpecConstantOp 5362 158
|
||||
238: 72(int) SpecConstantOp 128 237 76
|
||||
239: TypeArray 72(int) 238
|
||||
240: TypePointer Private 239
|
||||
241(uarr): 240(ptr) Variable Private
|
||||
242: 7(int) SpecConstantOp 5362 158
|
||||
243: 72(int) SpecConstantOp 128 242 76
|
||||
244: TypeArray 72(int) 243
|
||||
245: TypePointer Private 244
|
||||
246(uarr2): 245(ptr) Variable Private
|
||||
247: TypeCooperativeMatrixNV 72(int) 8 157(Z) 9
|
||||
248: 247 ConstantComposite 73
|
||||
249: 16(int8_t) Constant 1
|
||||
250: 17 ConstantComposite 249
|
||||
251(S): TypeStruct 72(int) 72(int) 72(int)
|
||||
252: 72(int) Constant 12
|
||||
253: 72(int) Constant 23
|
||||
254: 72(int) Constant 34
|
||||
255: 251(S) ConstantComposite 252 253 254
|
||||
256(SC): 72(int) SpecConstant 1
|
||||
257: TypeCooperativeMatrixNV 7(int) 8 256(SC) 256(SC)
|
||||
258: TypeArray 257 256(SC)
|
||||
259: TypeArray 258 256(SC)
|
||||
260: TypePointer Private 259
|
||||
261(scm): 260(ptr) Variable Private
|
||||
221: TypeInt 16 1
|
||||
222: TypeCooperativeMatrixNV 221(int16_t) 8 32 9
|
||||
223: TypePointer Function 222
|
||||
225:221(int16_t) Constant 0
|
||||
226: 222 ConstantComposite 225
|
||||
227: TypeInt 16 0
|
||||
228: TypeCooperativeMatrixNV 227(int16_t) 8 32 9
|
||||
229: TypePointer Function 228
|
||||
231:227(int16_t) Constant 0
|
||||
232: 228 ConstantComposite 231
|
||||
245: TypeVector 7(int) 3
|
||||
246: 7(int) Constant 64
|
||||
247: 245(ivec3) ConstantComposite 246 100 100
|
||||
248: TypePointer Private 166
|
||||
249(miC): 248(ptr) Variable Private
|
||||
250(muC): 162(ptr) Variable Private
|
||||
251: 7(int) SpecConstantOp 5362 166
|
||||
252: 72(int) SpecConstantOp 128 251 76
|
||||
253: TypeArray 72(int) 252
|
||||
254: TypePointer Private 253
|
||||
255(iarr): 254(ptr) Variable Private
|
||||
256: 7(int) SpecConstantOp 5362 166
|
||||
257: 72(int) SpecConstantOp 128 256 76
|
||||
258: TypeArray 72(int) 257
|
||||
259: TypePointer Private 258
|
||||
260(iarr2): 259(ptr) Variable Private
|
||||
261: 7(int) SpecConstantOp 5362 158
|
||||
262: 72(int) SpecConstantOp 128 261 76
|
||||
263: TypeArray 72(int) 262
|
||||
264: TypePointer Private 263
|
||||
265(uarr): 264(ptr) Variable Private
|
||||
266: 7(int) SpecConstantOp 5362 158
|
||||
267: 72(int) SpecConstantOp 128 266 76
|
||||
268: TypeArray 72(int) 267
|
||||
269: TypePointer Private 268
|
||||
270(uarr2): 269(ptr) Variable Private
|
||||
271: TypeCooperativeMatrixNV 72(int) 8 157(Z) 9
|
||||
272: 271 ConstantComposite 73
|
||||
273: 16(int8_t) Constant 1
|
||||
274: 17 ConstantComposite 273
|
||||
275(S): TypeStruct 72(int) 72(int) 72(int)
|
||||
276: 72(int) Constant 12
|
||||
277: 72(int) Constant 23
|
||||
278: 72(int) Constant 34
|
||||
279: 275(S) ConstantComposite 276 277 278
|
||||
280(SC): 72(int) SpecConstant 1
|
||||
281: TypeCooperativeMatrixNV 7(int) 8 280(SC) 280(SC)
|
||||
282: TypeArray 281 280(SC)
|
||||
283: TypeArray 282 280(SC)
|
||||
284: TypePointer Private 283
|
||||
285(scm): 284(ptr) Variable Private
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
35(mu): 34(ptr) Variable Function
|
||||
@@ -264,6 +279,10 @@ spv.intcoopmat.comp
|
||||
193(param): 18(ptr) Variable Function
|
||||
207(tempArg): 38(ptr) Variable Function
|
||||
217(ms): 38(ptr) Variable Function
|
||||
224(i16): 223(ptr) Variable Function
|
||||
230(u16): 229(ptr) Variable Function
|
||||
233(tempArg): 223(ptr) Variable Function
|
||||
239(tempArg): 229(ptr) Variable Function
|
||||
Store 35(mu) 36
|
||||
Store 39(mi) 41
|
||||
42: 33 Load 35(mu)
|
||||
@@ -400,6 +419,24 @@ spv.intcoopmat.comp
|
||||
219: 37 Load 217(ms)
|
||||
220: 214(ptr) AccessChain 212(shmatrix) 100
|
||||
CooperativeMatrixStoreNV 220 219 213 93 MakePointerAvailableKHR NonPrivatePointerKHR 213
|
||||
Store 224(i16) 226
|
||||
Store 230(u16) 232
|
||||
234: 214(ptr) AccessChain 212(shmatrix) 100
|
||||
235: 222 CooperativeMatrixLoadNV 234 213 93 MakePointerVisibleKHR NonPrivatePointerKHR 213
|
||||
Store 233(tempArg) 235
|
||||
236: 222 Load 233(tempArg)
|
||||
Store 224(i16) 236
|
||||
237: 222 Load 224(i16)
|
||||
238: 214(ptr) AccessChain 212(shmatrix) 100
|
||||
CooperativeMatrixStoreNV 238 237 213 93 MakePointerAvailableKHR NonPrivatePointerKHR 213
|
||||
240: 214(ptr) AccessChain 212(shmatrix) 100
|
||||
241: 228 CooperativeMatrixLoadNV 240 213 93 MakePointerVisibleKHR NonPrivatePointerKHR 213
|
||||
Store 239(tempArg) 241
|
||||
242: 228 Load 239(tempArg)
|
||||
Store 230(u16) 242
|
||||
243: 228 Load 230(u16)
|
||||
244: 214(ptr) AccessChain 212(shmatrix) 100
|
||||
CooperativeMatrixStoreNV 244 243 213 93 MakePointerAvailableKHR NonPrivatePointerKHR 213
|
||||
Return
|
||||
FunctionEnd
|
||||
14(ineg(i81;): 10 Function None 12
|
||||
|
||||
Reference in New Issue
Block a user