pan/midgard: Don't spill near a branch
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 24 Feb 2020 14:36:18 +0000 (09:36 -0500)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 27 Feb 2020 15:31:32 +0000 (16:31 +0100)
commita0b90b45a9bcef058c8fc6ac88ba5e71a8cedade
treec269a7b791552ab9447997044876a8976b349eb4
parented528556807378f376d8e8699a73bf5481c69a38
pan/midgard: Don't spill near a branch

Fixes
dEQP-GLES2.functional.shaders.indexing.varying_array.vec2_dynamic_loop_write_
static_read with register pressure forced down.

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/3950>
src/panfrost/midgard/midgard_schedule.c