aco: compute the CS workgroup size from the shader NIR info
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 8 Oct 2020 11:51:27 +0000 (13:51 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 14 Oct 2020 15:09:34 +0000 (15:09 +0000)
commit112e66fa090929401b2193e32a905221c3233a49
tree09b047f64c4a1e08e8a0fb7323511709b33f1631
parente3e8d13ada6c855e2f87be82c33d20ef9d43a875
aco: compute the CS workgroup size from the shader NIR info

cs.block_size is copied from cs.local_size during the shader info pass.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7061>
src/amd/compiler/aco_instruction_selection_setup.cpp