radeonsi: add si_shader_selector into si_compute

Graphics / Mesa 3D Graphics Library / Mesa - Marek Olšák [amd.com] - 20 July 2019 00:16 EDT

Now we can assume that shader->selector is always set. This will simplify some code.

fd92e65febc radeonsi: add si_shader_selector into si_compute
src/gallium/drivers/radeonsi/si_blit.c | 4 +-
src/gallium/drivers/radeonsi/si_compute.c | 109 ++++++++++++++----------------
src/gallium/drivers/radeonsi/si_compute.h | 20 +-----
src/gallium/drivers/radeonsi/si_pipe.c | 5 --
4 files changed, 57 insertions(+), 81 deletions(-)

Upstream: cgit.freedesktop.org


  • Share