mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 15:46:28 +00:00
Clear through loadop instead of standalone clear operation to optimize efficiency on modern desktop GPUs and mobile GPUs. Removed clear calls in TransitionForPass for render pass to help optimize clearing using loadop instead. Compute pass textures and sampled textures are still cleared in transition. Bug: dawn:145 Change-Id: I84082bdea3ed7be75683389132d8b296051731b7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8641 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Natasha Lee <natlee@microsoft.com>