radv: fix IB alignment
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 6 Oct 2023 10:04:50 +0000 (12:04 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 10 Oct 2023 06:26:59 +0000 (06:26 +0000)
commite1622dcca1a1ea27a803c8185c5e1fca253e0290
treeb3974319c4b8f7d8908855d2d550c0f41372538b
parentaf062126ae1f26b01cad1165a4e31dc40e141b6b
radv: fix IB alignment

This re-introduces "radv: fix alignment of DGC command buffers" and
"radv/amdgpu: fix alignment of command buffers" which were valid
changes.

IBs need to be aligned to the IB size requirement, not the number of
padded NOPs.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25588>
src/amd/vulkan/radv_device_generated_commands.c
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c