pan/mdg: Factor out mir_adjust_constant
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 11 May 2020 19:52:18 +0000 (15:52 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 21 May 2020 17:49:14 +0000 (17:49 +0000)
commit8b4e278628baac10c0cef5a19906362cefb3ab61
tree7bbd696497a65563e351b7f9ca948622745fa057
parentb833702cc1b53cb6e0f0e486a56aa62d9650e79b
pan/mdg: Factor out mir_adjust_constant

Each source is semi-independent, we don't need the extra indentation
when the logic is already so complex.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5151>
src/panfrost/midgard/midgard_schedule.c