mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-08 14:15:58 +00:00
Added implementation of writeTexture in Metal. It's using a staging buffer instead of writing directly from the CPU to the texture, because Dawn uses the private storage mode for most of the Metal textures. Bug: dawn:483 Change-Id: I6b85ee8bbe343881337bdb203a122dc1f1523177 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24581 Commit-Queue: Tomek Ponitka <tommek@google.com> Reviewed-by: Austin Eng <enga@chromium.org>