mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-18 01:15:39 +00:00
Add nonzero_clear_resources_on_creation_for_testing toggle for d3d12
Forces texture to clear to non-zero on creation to test the logic of lazy clearing. Bug: dawn:145 Change-Id: Ia738bf03be29dc620caf5f6d04b57c29b6919e85 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/7280 Commit-Queue: Natasha Lee <natlee@microsoft.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
8aa036e9e4
commit
58ae08e132
@@ -94,8 +94,8 @@ TEST_P(NonzeroTextureCreationTests, ArrayLayerClears) {
|
||||
EXPECT_TEXTURE_RGBA8_EQ(expected.data(), texture, 0, 0, kSize, kSize, 0, 2);
|
||||
}
|
||||
|
||||
DAWN_INSTANTIATE_TEST(NonzeroTextureCreationTests,
|
||||
ForceWorkaround(OpenGLBackend,
|
||||
"nonzero_clear_resources_on_creation_for_testing"),
|
||||
ForceWorkaround(VulkanBackend,
|
||||
"nonzero_clear_resources_on_creation_for_testing"));
|
||||
DAWN_INSTANTIATE_TEST(
|
||||
NonzeroTextureCreationTests,
|
||||
ForceWorkaround(D3D12Backend, "nonzero_clear_resources_on_creation_for_testing"),
|
||||
ForceWorkaround(OpenGLBackend, "nonzero_clear_resources_on_creation_for_testing"),
|
||||
ForceWorkaround(VulkanBackend, "nonzero_clear_resources_on_creation_for_testing"));
|
||||
|
||||
Reference in New Issue
Block a user