aboutsummaryrefslogtreecommitdiff
path: root/source/val/validate_arithmetics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/val/validate_arithmetics.cpp')
-rw-r--r--source/val/validate_arithmetics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/val/validate_arithmetics.cpp b/source/val/validate_arithmetics.cpp
index 433330d7..bae9b5dc 100644
--- a/source/val/validate_arithmetics.cpp
+++ b/source/val/validate_arithmetics.cpp
@@ -155,7 +155,7 @@ spv_result_t ArithmeticsPass(ValidationState_t& _, const Instruction* inst) {
first_vector_num_components = num_components;
} else if (num_components != first_vector_num_components) {
return _.diag(SPV_ERROR_INVALID_DATA, inst)
- << "Expected operands to have the same number of componenets: "
+ << "Expected operands to have the same number of components: "
<< spvOpcodeString(opcode);
}
}