Implement depth/stencil texture-to-texture copies for OpenGL ES 3.1.

Bug: dawn:634
Change-Id: I30f0c1496e5443bda9bee1905162eae39ce2461c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/38940
Commit-Queue: Stephen White <senorblanco@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
Stephen White
2021-01-27 23:58:35 +00:00
committed by Commit Bot service account
parent 78440d66f3
commit a194a48ba2
3 changed files with 77 additions and 42 deletions

View File

@@ -475,9 +475,6 @@ TEST_P(DepthStencilCopyTests, T2TBothAspectsThenCopyNonRenderableNonZeroMipStenc
// Test copying both aspects in a T2T copy, then copying only depth.
TEST_P(DepthStencilCopyTests, T2TBothAspectsThenCopyDepth) {
// TODO(crbug.com/dawn/634): Diagnose and fix ANGLE failure.
DAWN_SKIP_TEST_IF(IsANGLE());
constexpr uint32_t kWidth = 4;
constexpr uint32_t kHeight = 4;
@@ -496,9 +493,6 @@ TEST_P(DepthStencilCopyTests, T2TBothAspectsThenCopyDepth) {
// Test copying both aspects in a T2T copy, then copying only depth at a nonzero mip.
TEST_P(DepthStencilCopyTests, T2TBothAspectsThenCopyNonZeroMipDepth) {
// TODO(crbug.com/dawn/634): Diagnose and fix ANGLE failure.
DAWN_SKIP_TEST_IF(IsANGLE());
wgpu::Texture texture = CreateInitializeDepthStencilTextureAndCopyT2T(
0.1f, 0.3f, 1u, 3u, 8, 8, wgpu::TextureUsage::RenderAttachment, 1);