aboutsummaryrefslogtreecommitdiff
path: root/test/fuzz/fuzzer_pass_donate_modules_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/fuzz/fuzzer_pass_donate_modules_test.cpp')
-rw-r--r--test/fuzz/fuzzer_pass_donate_modules_test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/fuzz/fuzzer_pass_donate_modules_test.cpp b/test/fuzz/fuzzer_pass_donate_modules_test.cpp
index 81687ac3..fe8e671d 100644
--- a/test/fuzz/fuzzer_pass_donate_modules_test.cpp
+++ b/test/fuzz/fuzzer_pass_donate_modules_test.cpp
@@ -2025,9 +2025,9 @@ TEST(FuzzerPassDonateModulesTest, HandlesCapabilities) {
&transformation_sequence, false, {});
ASSERT_TRUE(donor_context->get_feature_mgr()->HasCapability(
- spv::Capability::VariablePointersStorageBuffer));
+ SpvCapabilityVariablePointersStorageBuffer));
ASSERT_FALSE(recipient_context->get_feature_mgr()->HasCapability(
- spv::Capability::VariablePointersStorageBuffer));
+ SpvCapabilityVariablePointersStorageBuffer));
fuzzer_pass.DonateSingleModule(donor_context.get(), false);
@@ -2040,12 +2040,12 @@ TEST(FuzzerPassDonateModulesTest, HandlesCapabilities) {
// have different OpCapability instructions but the same capabilities. In our
// example, VariablePointers implicitly declares
// VariablePointersStorageBuffer. Thus, two modules must be compatible.
- recipient_context->AddCapability(spv::Capability::VariablePointers);
+ recipient_context->AddCapability(SpvCapabilityVariablePointers);
ASSERT_TRUE(donor_context->get_feature_mgr()->HasCapability(
- spv::Capability::VariablePointersStorageBuffer));
+ SpvCapabilityVariablePointersStorageBuffer));
ASSERT_TRUE(recipient_context->get_feature_mgr()->HasCapability(
- spv::Capability::VariablePointersStorageBuffer));
+ SpvCapabilityVariablePointersStorageBuffer));
fuzzer_pass.DonateSingleModule(donor_context.get(), false);