From e0a4d8f209c3476d2788fe12bd00991bcfa2aeb7 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Tue, 15 Dec 2020 16:49:29 +0000 Subject: [PATCH] Fix comment that says "control case" when it isn't. Bug: Change-Id: I414bdabeeb12ed53c0620ead80d54a1448bb95bb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/35720 Auto-Submit: Corentin Wallez Commit-Queue: Austin Eng Reviewed-by: Austin Eng --- src/tests/unittests/validation/UnsafeAPIValidationTests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/unittests/validation/UnsafeAPIValidationTests.cpp b/src/tests/unittests/validation/UnsafeAPIValidationTests.cpp index c6822ed22c..87b2602959 100644 --- a/src/tests/unittests/validation/UnsafeAPIValidationTests.cpp +++ b/src/tests/unittests/validation/UnsafeAPIValidationTests.cpp @@ -168,14 +168,14 @@ TEST_F(UnsafeAPIValidationTest, DynamicStorageBuffer) { device.CreateBindGroupLayout(&desc); } - // Control case: storage buffer with a dynamic offset is disallowed. + // Storage buffer with a dynamic offset is disallowed. { entry.type = wgpu::BindingType::StorageBuffer; entry.hasDynamicOffset = true; ASSERT_DEVICE_ERROR(device.CreateBindGroupLayout(&desc)); } - // Control case: readonly storage buffer with a dynamic offset is disallowed. + // Readonly storage buffer with a dynamic offset is disallowed. { entry.type = wgpu::BindingType::ReadonlyStorageBuffer; entry.hasDynamicOffset = true;