mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-02 04:31:26 +00:00
Introduces the idea of a CommandRecordingContext to the Metal backend, similar to other backends. This is a class to track which Metal encoder is open on the device-global pending MTLCommandBuffer. It will be needed to open/close encoders for lazy clearing. Bug: dawn:145 Change-Id: Ief6b71a079d73943677d2b61382d1c36b88a4f87 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14780 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>