mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-04 04:06:01 +00:00
On macOS 10.15 on AMD GPU, WriteTimestamp cannot be called without any copy commands on MTLBlitCommandEncoder, otherwise crash occurs. But this issue is not reproduced on macOS 11.0, just disable timestamp query on the bad version on AMD. BUG: dawn:545 Change-Id: I69a012b2091b8ccd251d23ddb26b72e06c07492f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/53581 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Hao Li <hao.x.li@intel.com>