diff options
Diffstat (limited to 'source/text_handler.cpp')
-rw-r--r-- | source/text_handler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/text_handler.cpp b/source/text_handler.cpp index 15c1741f6..35c4b83c1 100644 --- a/source/text_handler.cpp +++ b/source/text_handler.cpp @@ -323,12 +323,12 @@ spv_result_t AssemblyContext::recordTypeDefinition( << " has already been used to generate a type"; } - if (pInst->opcode == SpvOpTypeInt) { + if (pInst->opcode == spv::Op::OpTypeInt) { if (pInst->words.size() != 4) return diagnostic() << "Invalid OpTypeInt instruction"; types_[value] = {pInst->words[2], pInst->words[3] != 0, IdTypeClass::kScalarIntegerType}; - } else if (pInst->opcode == SpvOpTypeFloat) { + } else if (pInst->opcode == spv::Op::OpTypeFloat) { if (pInst->words.size() != 3) return diagnostic() << "Invalid OpTypeFloat instruction"; types_[value] = {pInst->words[2], false, IdTypeClass::kScalarFloatType}; |