aco: Extract thread_id_in_threadgroup to a separate function.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 4 Sep 2020 11:35:47 +0000 (13:35 +0200)
committerTimur Kristóf <timur.kristof@gmail.com>
Fri, 9 Oct 2020 13:26:14 +0000 (15:26 +0200)
commit924f816fe1773532a46bd989b10c6f899c4913e6
treeb440c25cb7c2efaa905f64ae1de769c0d235c15c
parentb1964ad4d6c9532e3dcac87d163a0131ece5d515
aco: Extract thread_id_in_threadgroup to a separate function.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6964>
src/amd/compiler/aco_instruction_selection.cpp