radeonsi: use shader_info::cs::local_size_variable to clean up some code
authorMarek Olšák <marek.olsak@amd.com>
Sun, 6 Sep 2020 15:38:53 +0000 (11:38 -0400)
committerVivek Pandya <vivekvpandya@gmail.com>
Mon, 7 Sep 2020 15:55:17 +0000 (21:25 +0530)
commit76f9eae7bb2b503e46ebe2847619bba1cec393b6
tree1b6d1e469da703c0e53a104bfc083f9587ca6f59
parent64349a60e17a03de4bb7e03d942bfc1679dfe8ab
radeonsi: use shader_info::cs::local_size_variable to clean up some code

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6624>
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_shader_llvm.c
src/gallium/drivers/radeonsi/si_shader_nir.c