Remove Unsafe API Toggle Check For Multiplane External Textures

Removes check for Unsafe API toggle for multiplane external textures.
This is no longer needed now that the the implementation is functional.

Bug: dawn:1409
Bug: chromium:1323647
Change-Id: Iaf1c1b6bd053b68e306df61759ee9d81777f9b87
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89460
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Brandon1 Jones <brandon1.jones@intel.com>
This commit is contained in:
Brandon Jones 2022-05-09 20:35:43 +00:00 committed by Dawn LUCI CQ
parent 357bfa89d8
commit 7378612ca5
1 changed files with 0 additions and 4 deletions

View File

@ -57,10 +57,6 @@ MaybeError ValidateExternalTextureDescriptor(const DeviceBase* device,
wgpu::TextureFormat plane0Format = descriptor->plane0->GetFormat().format;
if (descriptor->plane1) {
DAWN_INVALID_IF(
device->IsToggleEnabled(Toggle::DisallowUnsafeAPIs),
"Bi-planar external textures are disabled until the implementation is completed.");
DAWN_INVALID_IF(descriptor->colorSpace != wgpu::PredefinedColorSpace::Srgb,
"The specified color space (%s) is not %s.", descriptor->colorSpace,
wgpu::PredefinedColorSpace::Srgb);