diff options
Diffstat (limited to 'test/opt/function_test.cpp')
-rw-r--r-- | test/opt/function_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/opt/function_test.cpp b/test/opt/function_test.cpp index 34a03871a..09cca3349 100644 --- a/test/opt/function_test.cpp +++ b/test/opt/function_test.cpp @@ -248,7 +248,7 @@ OpFunctionEnd std::unordered_set<uint32_t> non_semantic_ids; func->ForEachInst( [&non_semantic_ids](const Instruction* inst) { - if (inst->opcode() == SpvOpExtInst) { + if (inst->opcode() == spv::Op::OpExtInst) { non_semantic_ids.insert(inst->result_id()); } }, @@ -285,7 +285,7 @@ OpFunctionEnd std::unordered_set<uint32_t> non_semantic_ids; func->ForEachInst( [&non_semantic_ids](const Instruction* inst) { - if (inst->opcode() == SpvOpExtInst) { + if (inst->opcode() == spv::Op::OpExtInst) { non_semantic_ids.insert(inst->result_id()); } }, |