diff --git a/src/compiler/libcl/libcl_vk.h b/src/compiler/libcl/libcl_vk.h index 6bb96efe30e..e3e8cf62423 100644 --- a/src/compiler/libcl/libcl_vk.h +++ b/src/compiler/libcl/libcl_vk.h @@ -186,4 +186,4 @@ typedef struct VkCopyMemoryIndirectCommandKHR { VkDeviceAddress srcAddress; VkDeviceAddress dstAddress; VkDeviceSize size; -} VkCopyMemoryIndirectCommandKHR; +} VkCopyMemoryIndirectCommandKHR __attribute__((aligned(4)));