freedreno/a3xx: add support for S8 and Z32F_S8

Graphics / Mesa 3D Graphics Library / Mesa - Ilia Mirkin [alum.mit.edu] - 27 April 2015 19:17 UTC

Enables ARB_depth_buffer_float. There is no sampling support for interleaved Z32F_S8, so we store the two textures separately, one as Z32F, the other as S8. As a result, we need a lot of additional logic for restores and transfers.

9fc3f47 freedreno/a3xx: add support for S8 and Z32F_S8
docs/relnotes/10.6.0.html | 1 +
src/gallium/drivers/freedreno/a3xx/fd3_emit.c | 13 ++-
src/gallium/drivers/freedreno/a3xx/fd3_format.c | 7 ++
src/gallium/drivers/freedreno/a3xx/fd3_gmem.c | 80 +++++++++----
src/gallium/drivers/freedreno/freedreno_context.c | 8 +-
src/gallium/drivers/freedreno/freedreno_draw.c | 13 ++-
src/gallium/drivers/freedreno/freedreno_gmem.c | 29 +++--
src/gallium/drivers/freedreno/freedreno_gmem.h | 4 +-
src/gallium/drivers/freedreno/freedreno_resource.c | 122 ++++++++++++++++++--
src/gallium/drivers/freedreno/freedreno_resource.h | 3 +
10 files changed, 236 insertions(+), 44 deletions(-)

Upstream: cgit.freedesktop.org


  • Share