radeonsi: add si_shader_selector into si_compute
authorMarek Olšák <marek.olsak@amd.com>
Tue, 16 Jul 2019 01:39:22 +0000 (21:39 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 20 Jul 2019 00:16:43 +0000 (20:16 -0400)
commitfd92e65febcde29f728cb570c6db9c30a9ba2a3a
tree03cf706b38a933f85fa638a26888a51eb812e402
parente2c8ff009e5e077ae93ad19c63bd06d5c23d8376
radeonsi: add si_shader_selector into si_compute

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

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/radeonsi/si_blit.c
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_compute.h
src/gallium/drivers/radeonsi/si_pipe.c