panfrost: Hoist instance_shift/instance_odd fetch
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 14 Aug 2020 16:25:18 +0000 (12:25 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Aug 2020 11:43:52 +0000 (11:43 +0000)
commite9dc22512202f793f89d6cb86a780f81c2b88cd5
treebd94d2c50869eb2bea8a8c0ae7a4a7746a2bbcf4
parent27f8b879cce4e396d3ca352f1366f5711346e96f
panfrost: Hoist instance_shift/instance_odd fetch

We'll want to pass it as an argument shortly.

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