mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
Generalize multi-aspect formats
Removes special casing depth-stencil or multi-planar formats. Like depth-stencil, NV12 views can be created but not sampled. BUG=dawn:551 Change-Id: I3cd43d079253f4ee45660d0efd2723e1650f88d3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/41342 Commit-Queue: Bryan Bernhart <bryan.bernhart@intel.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Bryan Bernhart <bryan.bernhart@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
6dd34f7e34
commit
536c7aea7d
@@ -43,9 +43,6 @@ namespace {
|
||||
wgpu::Texture videoTexture = CreateVideoTextureForTest(
|
||||
wgpu::TextureFormat::R8BG8Biplanar420Unorm, wgpu::TextureUsage::None);
|
||||
|
||||
// Create a default view with no plane selected.
|
||||
ASSERT_DEVICE_ERROR(videoTexture.CreateView());
|
||||
|
||||
wgpu::TextureViewDescriptor viewDesc = {};
|
||||
|
||||
// Correct plane index but incompatible view format.
|
||||
|
||||
Reference in New Issue
Block a user