radv: fix max_lds_per_simd on GFX10
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 28 Jan 2021 11:44:43 +0000 (11:44 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Mon, 15 Feb 2021 13:34:30 +0000 (13:34 +0000)
commit43108824ecc93dc4f666efcde04d0916feef8794
tree5c2fd5fb7572828e3db4442cd0ec7611462022c6
parent0face691b132f1db2963881ead948dc4373b6f88
radv: fix max_lds_per_simd on GFX10

num_simd_per_compute_unit was the number of SIMDs per compute unit, but
lds_size_per_workgroup was the bytes of LDS per WGP.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8761>
src/amd/vulkan/radv_shader.c