radeonsi: pass at most 3 images and/or shader buffers via user SGPRs for compute
authorMarek Olšák <marek.olsak@amd.com>
Thu, 21 May 2020 09:13:25 +0000 (05:13 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Jun 2020 20:47:49 +0000 (20:47 +0000)
commit85a6bcca615f9aae1ffd2a1e790ee5d980e7cc43
tree20d26b77f31b31c9c8c0237b95b087403404449d
parent877c56bfdcb97e47453b86f23a13033438f0daa1
radeonsi: pass at most 3 images and/or shader buffers via user SGPRs for compute

This should slightly decrease shader lifetime.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5209>
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_shader_internal.h
src/gallium/drivers/radeonsi/si_shader_llvm_resources.c
src/gallium/drivers/radeonsi/si_shader_nir.c