panfrost: Factor out general varying case
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 14 Aug 2020 19:19:25 +0000 (15:19 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Aug 2020 11:43:52 +0000 (11:43 +0000)
commit40b4ee9426f7b2e73e79e68da8c600cc8b4d643a
treee307365274c1ddd065147d8157c26467d98af4f6
parentb805cf9b1f4eaf91bf21ff9d0fe9b86ce7e73041
panfrost: Factor out general varying case

To avoid hard-to-follow control flow now that we return void.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6326>
src/gallium/drivers/panfrost/pan_cmdstream.c