ac/nir,radv: add 1 dword to ES/GS item size
authorQiang Yu <yuq825@gmail.com>
Wed, 31 May 2023 08:33:34 +0000 (16:33 +0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 9 Jun 2023 02:05:20 +0000 (02:05 +0000)
commitb44bbe7daa45d6ccca1440d89dda662f9d1503e4
tree5b85b1d057537b8a3b3527160e5f8a6a49912e27
parent2e1092095a49f0f1b13b4f4f65883ab4ecb181fd
ac/nir,radv: add 1 dword to ES/GS item size

This reduce LDS bank conflict and align with radeonsi,
so we don't assume LDS access 16 byte aligned for both
driver.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23314>
src/amd/common/ac_nir_lower_esgs_io_to_mem.c
src/amd/vulkan/radv_shader_info.c