aboutsummaryrefslogtreecommitdiff
path: root/source/val/validate_type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/val/validate_type.cpp')
-rw-r--r--source/val/validate_type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/val/validate_type.cpp b/source/val/validate_type.cpp
index 612fc5c2..4376b52c 100644
--- a/source/val/validate_type.cpp
+++ b/source/val/validate_type.cpp
@@ -596,7 +596,7 @@ spv_result_t ValidateTypeCooperativeMatrixNV(ValidationState_t& _,
if (!cols || !_.IsIntScalarType(cols->type_id()) ||
!spvOpcodeIsConstant(cols->opcode())) {
return _.diag(SPV_ERROR_INVALID_ID, inst)
- << "OpTypeCooperativeMatrixNV Cols <id> '" << _.getIdName(rows_id)
+ << "OpTypeCooperativeMatrixNV Cols <id> '" << _.getIdName(cols_id)
<< "' is not a constant instruction with scalar integer type.";
}