mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-22 23:31:19 +00:00
Fence::GetCompletedValue introduced the first return value that's not an object which reinterpret_cast to its own type. MSVC complains about it, so instead we reinterpret_cast only if the value is an object. BUG= Change-Id: I35225cd1ff47a91868572a45a67ebe979e4b064f Reviewed-on: https://dawn-review.googlesource.com/c/2942 Reviewed-by: Stephen White <senorblanco@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>