pan/midgard: Pipe uniform mask through when spilling
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 5 Aug 2019 16:19:39 +0000 (09:19 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 12 Aug 2019 19:43:00 +0000 (12:43 -0700)
commita8639b91b5e90dc8cf40a683a16cd8c4cb51193c
tree2f2bab12106d7413e8fa6371a53c852fc72d5820
parent63e240dd0573968a3602424da3b963ba82d5cf6b
pan/midgard: Pipe uniform mask through when spilling

This is a corner case that happens a lot with SSBOs. Basically, if we
only read a few components of a uniform, we need to only spill a few
components or otherwise we try to spill what we spilled and RA hangs.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/midgard_schedule.c
src/panfrost/midgard/mir_promote_uniforms.c