mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-02 12:41:36 +00:00
Make this a standalone function instead of a dawn::native::Instance's member method. Some code base don't use dawn::native::Instance but instead use wgpu::Instance. And InstanceProcessEvents() function actually returns a bool unlike wgpu::Instance::ProcessEvents() which returns void. Bug: dawn:752 Change-Id: Ia354a4ed5b5568ee23bcc70935c104059a9f6fc8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125660 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Quyen Le <lehoangquyen@chromium.org>