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:
Yonggang Luo 2022-11-08 05:25:28 +08:00 committed by Marge Bot
parent 38b2402b5f
commit 956935abaf
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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,