7a64127a41
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> |
||
---|---|---|
.. | ||
CacheKey.cpp | ||
ChainUtils.cpp | ||
ChainUtils.h | ||
ObjectType.cpp | ||
ObjectType.h | ||
ProcTable.cpp | ||
ValidationUtils.cpp | ||
ValidationUtils.h | ||
api_absl_format.cpp | ||
api_absl_format.h | ||
api_dawn_native_proc.cpp | ||
api_structs.cpp | ||
api_structs.h | ||
dawn_platform.h |