From 9fc3f472784b2ba53655b715d602268bef5bf12e Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Wed, 22 Apr 2015 14:35:00 -0400 Subject: [PATCH] freedreno/a3xx: add support for S8 and Z32F_S8 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. Signed-off-by: Ilia Mirkin --- 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(-) diff --git a/docs/relnotes/10.6.0.html b/docs/relnotes/10.6.0.html index 5695ae4..ff24842 100644 --- a/docs/relnotes/10.6.0.html +++ b/docs/relnotes/10.6.0.html @@ -46,6 +46,7 @@ Note: some of the new features are only available with certain drivers.