mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-14 04:40:28 +01:00
vulkan: Replace _Alignas with alignas
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19565>
This commit is contained in:
parent
38b2402b5f
commit
956935abaf
2 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ struct vk_fence {
|
|||
*
|
||||
* This field must be last
|
||||
*/
|
||||
_Alignas(8) struct vk_sync permanent;
|
||||
alignas(8) struct vk_sync permanent;
|
||||
};
|
||||
|
||||
VK_DEFINE_NONDISP_HANDLE_CASTS(vk_fence, base, VkFence,
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ struct vk_semaphore {
|
|||
*
|
||||
* This field must be last
|
||||
*/
|
||||
_Alignas(8) struct vk_sync permanent;
|
||||
alignas(8) struct vk_sync permanent;
|
||||
};
|
||||
|
||||
VK_DEFINE_NONDISP_HANDLE_CASTS(vk_semaphore, base, VkSemaphore,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue