panfrost: Workaround buffer overrun with mip level
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 15 Mar 2019 02:07:55 +0000 (02:07 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 19 Mar 2019 03:50:59 +0000 (03:50 +0000)
commit60d5b85261e95e2807b18a2a848099f0cb6ce9fc
tree7090f58b4783225fcf30ccf1137021aacce113bf
parenta777c3d7cb0a89f6c63a637e6db32cc1bf33b54c
panfrost: Workaround buffer overrun with mip level

Mipmaps are still broken, but at least this way we don't crash on some
apps using mipmaps.

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