panfrost: Rework buffers in SFBD
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 18 Nov 2019 08:59:17 +0000 (09:59 +0100)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 20 Nov 2019 07:03:36 +0000 (08:03 +0100)
commit409f6c40ca524262e5c626996b2fb874c1085595
tree4592f3c5d0175ce2cc6c828ded2ae384b5b7910d
parent697f02c2a135d4356f0d09b383310957540e8d7d
panfrost: Rework buffers in SFBD

Support cases such as depth-only renders and only set stencil buffers
when needed, to match the blob's behaviour.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_sfbd.c