llvmpipe: fix subgroup id construction
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 11 Mar 2022 22:03:30 +0000 (17:03 -0500)
committerMarge Bot <emma+marge@anholt.net>
Mon, 21 Mar 2022 04:09:48 +0000 (04:09 +0000)
commit102f6ebc57523c3e6637e8af9fb635c4b8e414c4
treee2dfffb573e6854d19dce586fc5d2cd070df6a04
parentf33399aa9e9cd284b0810c5eefd0f9f45330ed43
llvmpipe: fix subgroup id construction

the coroutine idx is based on the number of x loops, but the subgroup id
is based on the coroutine's total loops

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15354>
src/gallium/drivers/llvmpipe/lp_state_cs.c