dawn-cmake/generator/templates/dawn/native
Corentin Wallez 7a64127a41 api_cpp.h: Fix alignas declaration following ChainedStruct.
On 32bit Windows clang warns that alignas(ChainedStruct) uint64_t
forces the uint64_t to have a smaller alignment than it naturally has.
Fix this by making the alignas decoration take the max of
alignof(ChainedStruct) and alignof(first member).

Bug: dawn:1465
Change-Id: Ia5b73fc1be1fa56f36c5c360e719ef2a1dff7dd1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94940
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Takahiro <hogehoge@gachapin.jp>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-06-29 17:37:41 +00:00
..
CacheKey.cpp Adds device-side cache key generation. 2022-04-12 23:50:56 +00:00
ChainUtils.cpp tint->dawn: Move src/dawn_native -> src/dawn/native 2022-02-04 17:07:46 +00:00
ChainUtils.h tint->dawn: Move src/dawn_native -> src/dawn/native 2022-02-04 17:07:46 +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 reflection APIs for wgpu::Buffer. 2022-06-08 14:46:41 +00:00
ValidationUtils.cpp tint->dawn: Move src/dawn_native -> src/dawn/native 2022-02-04 17:07:46 +00:00
ValidationUtils.h tint->dawn: Move src/dawn_native -> src/dawn/native 2022-02-04 17:07:46 +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 api_cpp.h: Fix alignas declaration following ChainedStruct. 2022-06-29 17:37:41 +00:00
dawn_platform.h Add reflection APIs for wgpu::Buffer. 2022-06-08 14:46:41 +00:00