mesa/src/panfrost
Alyssa Rosenzweig 6bd9c4dc57 panfrost: Fix linear depth textures
As pointed out by Boris, what we were calling PAN_LINEAR depth textures
was in fact u-interleaved tiled (!), but we never noticed since we
flipped the flag used for sampling, leading to all sorts of fun bugs
when attempting to directly acess depth textures from the CPU. Which
begs the question -- if what we called LINEAR was tiled, how do we
actually render linear depth textures? It turns out the flags for AFBC
form a mali_block_format 2-bit code just like their render-target
counterparts, so we can render to any of the above.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reported-by: Boris Brezillon <boris.brezillon@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3393>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3393>
2020-01-14 19:42:20 +00:00
..
bifrost panfrost: Unset vertex_id_zero_based 2019-12-24 22:55:04 -05:00
encoder panfrost: Remove mali_alt_func 2019-12-27 12:58:00 -05:00
include panfrost: Fix linear depth textures 2020-01-14 19:42:20 +00:00
midgard pan/midgard: Fix midgard_compile.h includes 2020-01-14 17:16:11 +00:00
pandecode panfrost: Fix linear depth textures 2020-01-14 19:42:20 +00:00
shared panfrost: Extend software tiling to larger bpp 2019-07-01 07:40:19 -07:00
Android.bifrost.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.encoder.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.midgard.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.pandecode.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.shared.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Makefile.sources panfrost: Fix Android build 2020-01-04 16:54:38 +00:00
meson.build panfrost: Move pan_invocation to shared panfrost/ 2019-08-21 08:40:51 -07:00