Implement readonly depth/stencil attachment on Metal

Bug: dawn:485
Change-Id: Ifb119361d8c383c43b4fad51f6a1f6b12ccea434
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/76040
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Yunchao He <yunchao.he@intel.com>
This commit is contained in:
Yunchao He 2022-01-12 19:21:35 +00:00 committed by Dawn LUCI CQ
parent fc2666486e
commit b765c59c7d
1 changed files with 2 additions and 2 deletions

View File

@ -316,10 +316,10 @@ TEST_P(ReadOnlyStencilAttachmentTests, NotSampleFromAttachment) {
}
DAWN_INSTANTIATE_TEST_P(ReadOnlyDepthAttachmentTests,
{D3D12Backend(), VulkanBackend()},
{D3D12Backend(), MetalBackend(), VulkanBackend()},
std::vector<wgpu::TextureFormat>(utils::kDepthFormats.begin(),
utils::kDepthFormats.end()));
DAWN_INSTANTIATE_TEST_P(ReadOnlyStencilAttachmentTests,
{D3D12Backend(), VulkanBackend()},
{D3D12Backend(), MetalBackend(), VulkanBackend()},
std::vector<wgpu::TextureFormat>(utils::kStencilFormats.begin(),
utils::kStencilFormats.end()));