@@ -206,8 +206,7 @@ bool SPIRVType::isTypeStruct() const { return OpCode == OpTypeStruct; }
206
206
bool SPIRVType::isTypeVector () const { return OpCode == OpTypeVector; }
207
207
208
208
bool SPIRVType::isTypeJointMatrixINTEL () const {
209
- return OpCode == internal::OpTypeJointMatrixINTEL ||
210
- OpCode == internal::OpTypeJointMatrixINTELv2;
209
+ return OpCode == internal::OpTypeJointMatrixINTEL;
211
210
}
212
211
213
212
bool SPIRVType::isTypeCooperativeMatrixKHR () const {
@@ -290,21 +289,14 @@ void SPIRVTypeForwardPointer::decode(std::istream &I) {
290
289
Decoder >> PointerId >> SC;
291
290
}
292
291
293
- SPIRVTypeJointMatrixINTEL::SPIRVTypeJointMatrixINTEL (
294
- SPIRVModule *M, SPIRVId TheId, Op OC, SPIRVType *CompType,
295
- std::vector<SPIRVValue *> Args)
296
- : SPIRVType(M, FixedWC + Args.size(), OC, TheId), CompType(CompType),
297
- Args(std::move(Args)) {}
298
-
299
292
SPIRVTypeJointMatrixINTEL::SPIRVTypeJointMatrixINTEL (
300
293
SPIRVModule *M, SPIRVId TheId, SPIRVType *CompType,
301
294
std::vector<SPIRVValue *> Args)
302
- : SPIRVType(M, FixedWC + Args.size(), internal::OpTypeJointMatrixINTEL,
303
- TheId),
304
- CompType(CompType), Args(std::move(Args)) {}
295
+ : SPIRVType(M, FixedWC + Args.size(), OC, TheId), CompType(CompType),
296
+ Args(Args) {}
305
297
306
298
SPIRVTypeJointMatrixINTEL::SPIRVTypeJointMatrixINTEL ()
307
- : SPIRVType(internal::OpTypeJointMatrixINTEL ), CompType(nullptr ),
299
+ : SPIRVType(OC ), CompType(nullptr ),
308
300
Args({nullptr , nullptr , nullptr , nullptr }) {}
309
301
310
302
void SPIRVTypeJointMatrixINTEL::encode (spv_ostream &O) const {
0 commit comments