aboutsummaryrefslogtreecommitdiff
path: root/test/opt/function_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/opt/function_test.cpp')
-rw-r--r--test/opt/function_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/opt/function_test.cpp b/test/opt/function_test.cpp
index 09cca334..34a03871 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() == spv::Op::OpExtInst) {
+ if (inst->opcode() == SpvOpExtInst) {
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() == spv::Op::OpExtInst) {
+ if (inst->opcode() == SpvOpExtInst) {
non_semantic_ids.insert(inst->result_id());
}
},