ac, aco, radv: Clarify LDS size on GFX6, and NGG shaders.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 15 Mar 2023 18:59:41 +0000 (11:59 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 12 Apr 2023 17:30:02 +0000 (17:30 +0000)
commit4ae46840cde8482170c13fcf45014921272d94be
tree5cdcd78a718adc9dddcc806ac304d210df3cb599
parentedf30b1c6d54290e6f301440eeffc17daec62ad9
ac, aco, radv: Clarify LDS size on GFX6, and NGG shaders.

This information was wrong in some places, let's fix it now.

GFX6:
The GPU has 64KB LDS, but only 32KB is usable by a workgroup.

NGG:
There was some misinformation about NGG only being able to
address 32 KB LDS, it turns out this is actually not true
and it can address the full 64K.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21935>
src/amd/common/ac_gpu_info.c
src/amd/compiler/README-ISA.md
src/amd/compiler/aco_instruction_selection_setup.cpp
src/amd/compiler/aco_ir.cpp
src/amd/vulkan/winsys/null/radv_null_winsys.c