pan/indirect_dispatch: Distinguish minus-1 defs
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 9 Jun 2021 16:08:19 +0000 (12:08 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 10 Jun 2021 18:06:11 +0000 (18:06 +0000)
commit989caacc325dbc213f201b82e2ad678362632ccc
tree8223a7f845a84abba3213046419a98246751fd8c
parenta90345d4c80ea5b7f78dd4e2f03513069751e731
pan/indirect_dispatch: Distinguish minus-1 defs

This makes the logic clearer and allows the original values to be
accessed.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123>
src/panfrost/lib/pan_indirect_dispatch.c