2d0007ca8f
Change backend connection in Instance.cpp to store a bitset of backends that have been connected. This lets us only connect to a single backend if AdapterDiscoveryOptions are passed explicitly, and track which connections have/have not been made. Later, we can connect to the rest of the backends if more are requested. This is part of some improvements to the existing code so we can selectively discover adapters and control discovery of the high-performance, low-power, and fallback WebGPU adapters. Bug: chromium:1266550 Change-Id: Iceb0d3f71751f5aac6218996ace3cf89deda8a29 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/69521 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> |
||
---|---|---|
.. | ||
templates | ||
BUILD.gn | ||
CMakeLists.txt | ||
dawn_generator.gni | ||
dawn_json_generator.py | ||
extract_json.py | ||
generator_lib.gni | ||
generator_lib.py | ||
opengl_loader_generator.py | ||
remove_files.py |