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 to opengl
Forces texture to clear to nonzero on creation to test the logic of lazy clearing. Bug: dawn:145 Change-Id: Ib1f6e8f961927008e3c09960ad0219f975d86cc6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/7240 Commit-Queue: Natasha Lee <natlee@microsoft.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
2bc3169f0d
commit
2a7b631482
@@ -95,5 +95,7 @@ TEST_P(NonzeroTextureCreationTests, ArrayLayerClears) {
|
||||
}
|
||||
|
||||
DAWN_INSTANTIATE_TEST(NonzeroTextureCreationTests,
|
||||
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