mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 15:46:28 +00:00
Backdoor to get the number of texture lazy clears for testing
Bug: dawn:145 Change-Id: Ie01b21ce490832c459e74c76a7b8d9f203552bfe Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/9400 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
506ce9bba4
commit
e69627f35e
@@ -222,6 +222,7 @@ namespace dawn_native { namespace opengl {
|
||||
}
|
||||
}
|
||||
SetIsSubresourceContentInitialized(baseMipLevel, levelCount, baseArrayLayer, layerCount);
|
||||
GetDevice()->IncrementLazyClearCountForTesting();
|
||||
}
|
||||
|
||||
void Texture::EnsureSubresourceContentInitialized(uint32_t baseMipLevel,
|
||||
|
||||
Reference in New Issue
Block a user