panfrost/mfbd: Implement linear depth buffers
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 12 Mar 2019 22:49:33 +0000 (22:49 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Thu, 14 Mar 2019 22:47:11 +0000 (22:47 +0000)
commit9bf6024c6bccae34fb992db6ede6485c045cafde
tree8195f28174e266faa54697da9bfc80c1bae0db5e
parent23e01357235273994c5e7b8658d360c84fba30ff
panfrost/mfbd: Implement linear depth buffers

This removes a clunky hack where the depth buffer was enabled during the
*clear*, instead of during depth buffer linking. That said, this does
not yet support writeback like AFBC depth buffers.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/pan_mfbd.c