mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
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:
parent
ae1b5ca198
commit
772966d412
1 changed files with 1 additions and 1 deletions
|
|
@ -186,4 +186,4 @@ typedef struct VkCopyMemoryIndirectCommandKHR {
|
|||
VkDeviceAddress srcAddress;
|
||||
VkDeviceAddress dstAddress;
|
||||
VkDeviceSize size;
|
||||
} VkCopyMemoryIndirectCommandKHR;
|
||||
} VkCopyMemoryIndirectCommandKHR __attribute__((aligned(4)));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue