libcl/vk: add aligned(4) to VkCopyMemoryIndirectCommandKHR

This structure, despite containing 8-bit members, can be 4-byte
aligned:

    "VUID-VkCopyMemoryIndirectInfoKHR-copyAddressRange-10942
     copyAddressRange.address must be 4 byte aligned"

So do it like we do with the other structures.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
This commit is contained in:
Paulo Zanoni 2026-04-02 11:36:41 -07:00
parent ae1b5ca198
commit 772966d412

View file

@ -186,4 +186,4 @@ typedef struct VkCopyMemoryIndirectCommandKHR {
VkDeviceAddress srcAddress;
VkDeviceAddress dstAddress;
VkDeviceSize size;
} VkCopyMemoryIndirectCommandKHR;
} VkCopyMemoryIndirectCommandKHR __attribute__((aligned(4)));