dawn-cmake/generator/templates/dawn_native
Austin Eng 2d0007ca8f Don't connect to backends that aren't needed
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>
2021-12-02 18:12:57 +00:00
..
ChainUtils.cpp Add helper functions to iterate over ChainedStructs 2021-04-22 17:49:42 +00:00
ChainUtils.h Improve validation messages for surface/swap chain 2021-10-21 19:25:04 +00:00
ObjectType.cpp Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
ObjectType.h Fix build on GCC: Add missing include 2021-09-28 19:52:35 +00:00
ProcTable.cpp Improve validation errors, Part 1 2021-09-23 21:26:33 +00:00
ValidationUtils.cpp Make dawn_native use the webgpu.h header 2019-10-23 11:57:41 +00:00
ValidationUtils.h Make dawn_native use the webgpu.h header 2019-10-23 11:57:41 +00:00
dawn_platform.h Don't connect to backends that aren't needed 2021-12-02 18:12:57 +00:00
webgpu_absl_format.cpp Make validation error formatting more consistent 2021-11-03 01:31:19 +00:00
webgpu_absl_format.h Improve validation errors for ShaderModule 2021-10-08 10:16:27 +00:00
wgpu_structs.cpp Add a mechanism for finding the best tier for a set of limits 2021-09-28 01:04:10 +00:00
wgpu_structs.h Add a mechanism for finding the best tier for a set of limits 2021-09-28 01:04:10 +00:00