mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +00:00
Create nonzero_clear_resources_on_creation_for_testing toggle
Created toggle to force texture clearing to 1 bits in order to test the logic of lazy clearing. Bug: dawn:145 Change-Id: I83bc32f046159c709c426b77458fbdf115f7bfd0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/7120 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Natasha Lee <natlee@microsoft.com>
This commit is contained in:
committed by
Commit Bot service account
parent
efef0e4b1f
commit
97f08fa2e6
@@ -67,7 +67,13 @@ namespace dawn_native {
|
||||
"not support MTLStoreActionStoreAndMultisampleResolve. To support StoreOp::Store on "
|
||||
"those platforms, we should do MSAA resolve in another render pass after ending the "
|
||||
"previous one.",
|
||||
"https://bugs.chromium.org/p/dawn/issues/detail?id=56"}}}};
|
||||
"https://bugs.chromium.org/p/dawn/issues/detail?id=56"}},
|
||||
{Toggle::NonzeroClearResourcesOnCreationForTesting,
|
||||
{"nonzero_clear_resources_on_creation_for_testing",
|
||||
"Clears texture to full 1 bits as soon as they are created, but doesn't update "
|
||||
"the tracking state of the texture. This way we can test the logic of clearing "
|
||||
"textures that use recycled memory.",
|
||||
"https://bugs.chromium.org/p/dawn/issues/detail?id=145"}}}};
|
||||
|
||||
} // anonymous namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user