aboutsummaryrefslogtreecommitdiff
path: root/source/fuzz/transformation_add_type_boolean.cpp
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2023-01-19 20:23:21 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-01-19 20:23:38 +0000
commit12f5c853ee9e06ba6565006d8d36ee261a140d91 (patch)
treec8ac54510931ab3549d323a0056bed2dd7d8237f /source/fuzz/transformation_add_type_boolean.cpp
parentd75f78543eeb24bd8441f2f07f34d273613c64fa (diff)
downloadspirv-tools-ndk-r26-release.tar.gz
Revert submission 2388945-update-shaderc Reason for revert: Breaks NDK build on darwin. Reverted changes: /q/submissionid:2388945-update-shaderc Change-Id: I6c9b1918c98bcc3a68bbfabd40d4310e26337c24
Diffstat (limited to 'source/fuzz/transformation_add_type_boolean.cpp')
-rw-r--r--source/fuzz/transformation_add_type_boolean.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fuzz/transformation_add_type_boolean.cpp b/source/fuzz/transformation_add_type_boolean.cpp
index 47fc744f..30ff43e2 100644
--- a/source/fuzz/transformation_add_type_boolean.cpp
+++ b/source/fuzz/transformation_add_type_boolean.cpp
@@ -43,7 +43,7 @@ void TransformationAddTypeBoolean::Apply(
opt::IRContext* ir_context, TransformationContext* /*unused*/) const {
opt::Instruction::OperandList empty_operands;
auto type_instruction = MakeUnique<opt::Instruction>(
- ir_context, spv::Op::OpTypeBool, 0, message_.fresh_id(), empty_operands);
+ ir_context, SpvOpTypeBool, 0, message_.fresh_id(), empty_operands);
auto type_instruction_ptr = type_instruction.get();
ir_context->module()->AddType(std::move(type_instruction));