dawn-cmake/generator/templates/dawn/native
Loko Kung 14ed533565 Updates DawnInstanceDescriptor to pass in the Platform.
Notes:
- Separates ChainedStruct to be reusable without cpp header. (Also
  updates native structs to directly use it.)
- Manually implements the descriptor in DawnNative.
- Reworks ChainUtils with mapping from struct to STypes.
- Updates the tests to use either SetPlatformForTesting which is still
  required because DawnTest uses a "global" instance for all tests and
  some tests require setting (and cleaning up) a test specific platform.

Bug: dawn:1374
Change-Id: I078c78f22c5137030cf3cf0e8358fe4373ee9c6c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/132268
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Loko Kung <lokokung@google.com>
2023-05-16 04:50:32 +00:00
..
ChainUtils.cpp Updates DawnInstanceDescriptor to pass in the Platform. 2023-05-16 04:50:32 +00:00
ChainUtils.h Updates DawnInstanceDescriptor to pass in the Platform. 2023-05-16 04:50:32 +00:00
ObjectType.cpp tint->dawn: Move src/dawn_native -> src/dawn/native 2022-02-04 17:07:46 +00:00
ObjectType.h tint->dawn: Move src/dawn_native -> src/dawn/native 2022-02-04 17:07:46 +00:00
ProcTable.cpp Add an option to enable implicit device synchronization. 2023-04-05 19:35:07 +00:00
ValidationUtils.cpp Merge DAWN_FORMAT_VALIDATION_ERROR in DAWN_VALIDATION_ERROR. 2022-08-30 13:39:47 +00:00
ValidationUtils.h tint->dawn: Move src/dawn_native -> src/dawn/native 2022-02-04 17:07:46 +00:00
api_StreamImpl.cpp Use SubstituteOverride transform to implement overrides 2022-09-07 20:09:54 +00:00
api_absl_format.cpp Adds strformat code-gen for helping auto-generate readable strings for structs. 2022-03-19 00:21:48 +00:00
api_absl_format.h Adds strformat code-gen for helping auto-generate readable strings for structs. 2022-03-19 00:21:48 +00:00
api_dawn_native_proc.cpp Convert all dawn includes to use non-system include syntax. 2022-04-19 14:24:04 +00:00
api_structs.cpp tint->dawn: Move src/dawn_native -> src/dawn/native 2022-02-04 17:07:46 +00:00
api_structs.h Updates DawnInstanceDescriptor to pass in the Platform. 2023-05-16 04:50:32 +00:00
dawn_platform.h Adds To/FromAPI calls for wgpu (C++) namespace structs. 2023-02-17 22:40:13 +00:00