mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-09-20 01:59:38 +00:00
This prevents dirty textures to be used when memory is recycled while destroying/creating new textures. If a texture is being used for the first time and has not yet been initialized, it will be cleared to zeros. Bug: dawn:145 Change-Id: I1140ff0535241b247b855df2afefc01fbc003470 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8380 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Natasha Lee <natlee@microsoft.com>