pan/mdg: Mask spills from texture write
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 31 Jul 2020 14:31:50 +0000 (10:31 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 3 Aug 2020 13:43:37 +0000 (09:43 -0400)
commitb4de9e035ac0afe64ebfd58cd0eb04c1a671afce
tree78b0b4368247d0e76f8c1820fb2ebe6989784589
parent26dd8f80453fdd9b9c34509b52c6c888416cee0b
pan/mdg: Mask spills from texture write

This prevents RA failures the results of reading multiple textures that
require less than 4 channels, as seen in a number of GL 3 WebRender shaders.

Closes: #3342
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reported-by: Icecream95 <ixn@keemail.me>
Tested-by: Icecream95 <ixn@keemail.me>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6144>
src/panfrost/midgard/midgard_ra.c