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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user