From 5e155b23d26fc0e885d5aacb4a77373b329951e3 Mon Sep 17 00:00:00 2001 From: Loko Kung Date: Wed, 10 May 2023 01:45:54 +0000 Subject: [PATCH] Remove lingering disallow_unsafe_apis toggle usage. Bug: dawn:1685 Change-Id: I6c9da45efac12986095be5dd1a3ed2a536b76d64 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/132302 Commit-Queue: Loko Kung Reviewed-by: Austin Eng Kokoro: Loko Kung Auto-Submit: Loko Kung Kokoro: Kokoro --- .../validation/OverridableConstantsValidationTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dawn/tests/unittests/validation/OverridableConstantsValidationTests.cpp b/src/dawn/tests/unittests/validation/OverridableConstantsValidationTests.cpp index 8a518f6a73..77b4c81c35 100644 --- a/src/dawn/tests/unittests/validation/OverridableConstantsValidationTests.cpp +++ b/src/dawn/tests/unittests/validation/OverridableConstantsValidationTests.cpp @@ -25,7 +25,7 @@ class ComputePipelineOverridableConstantsValidationTest : public ValidationTest std::vector enabledToggles; std::vector disabledToggles; - disabledToggles.push_back("disallow_unsafe_apis"); + enabledToggles.push_back("allow_unsafe_apis"); wgpu::DawnTogglesDescriptor deviceTogglesDesc; deviceTogglesDesc.enabledToggles = enabledToggles.data();