Support multisampled rendering on D3D12

This patch adds the basic support of multisampled rendering on D3D12
backends and enables the related end2end test on D3D12 backends.

D3D12 render pass is not used in this patch. We plan to make use of it
in the future.

BUG=dawn:56
TEST=dawn_end2end_tests

Change-Id: I63759431654ec0abe9d21157f679d4c971cd92a8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/6200
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
This commit is contained in:
Jiawei Shao
2019-04-02 07:42:09 +00:00
committed by Commit Bot service account
parent 941a04cd43
commit 8e50ba19ba
5 changed files with 102 additions and 28 deletions

View File

@@ -466,4 +466,4 @@ TEST_P(MultisampledRenderingTest, ResolveInto2DArrayTexture) {
}
// TODO(jiawei.shao@intel.com): enable multisampled rendering on all Dawn backends.
DAWN_INSTANTIATE_TEST(MultisampledRenderingTest, OpenGLBackend);
DAWN_INSTANTIATE_TEST(MultisampledRenderingTest, D3D12Backend, OpenGLBackend);