radeonsi: don't count unusable vertices to the NGG LDS size
authorMarek Olšák <marek.olsak@amd.com>
Thu, 30 Jul 2020 12:19:48 +0000 (08:19 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 7 Aug 2020 15:22:22 +0000 (11:22 -0400)
commit68b3e92fef09330ac880e713a744dc7a57e78f05
tree544ec766c8da11508e5cee7e2798671cebd84485
parent64c741ffb7aa0ae40c4302bc065fef0192123c6a
radeonsi: don't count unusable vertices to the NGG LDS size

Now we get optimal LDS usage.

Fixes: a23802bcb9a - ac,radeonsi: start adding support for gfx10.3
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6137>
src/gallium/drivers/radeonsi/gfx10_shader_ngg.c