panfrost: Allocate extra data for depth buffer
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Wed, 13 Mar 2019 00:53:34 +0000 (00:53 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Thu, 14 Mar 2019 22:47:12 +0000 (22:47 +0000)
commit54e45d1d736954bd9f11d6825c7b242e16f8283b
treed9264bb849e4d82e59dddca046df9d5fcdae1b5b
parent79e474fa46d560e1f6bdab345f88f657513dc96f
panfrost: Allocate extra data for depth buffer

It's not clear why the hardware "spills" a little bit, but if we don't
do this, we get MMU faults with linear depth buffers.

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