summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorVasily Khoruzhick <[email protected]>2020-03-14 16:33:00 -0700
committerMarge Bot <[email protected]>2020-03-18 08:36:17 +0000
commitdbceabed72977ffd49d84f926c59ff97554f349d (patch)
tree5f8005220b059b98e2efee7ee16750a5326bd763 /src/gallium
parent8b8af6d398a94cb07015c695fdfdb5c157aa72cf (diff)
lima: disable Z16 format
Unfortunately we don't know how to reload Z16 buffers yet and blob is using Z24 for dEQP tests that need depth reload. Reviewed-by: Icenowy Zheng <[email protected]> Reviewed-by: Andreas Baierl <[email protected]> Signed-off-by: Vasily Khoruzhick <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4197>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/lima/lima_format.c2
-rw-r--r--src/gallium/drivers/lima/lima_screen.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/lima/lima_format.c b/src/gallium/drivers/lima/lima_format.c
index 126a9a5c59c..5fe7e406b31 100644
--- a/src/gallium/drivers/lima/lima_format.c
+++ b/src/gallium/drivers/lima/lima_format.c
@@ -83,8 +83,6 @@ static const struct lima_format lima_format_table[] = {
LIMA_FORMAT(B4G4R4A4_UNORM, BGRA_4444, B4G4R4A4, false, 0x8444),
LIMA_FORMAT(Z24_UNORM_S8_UINT, Z24S8, Z24S8, false, 0x0000),
LIMA_FORMAT(Z24X8_UNORM, Z24S8, Z24S8, false, 0x0000),
- /* Blob uses L16 for Z16 */
- LIMA_FORMAT(Z16_UNORM, L16, Z16, false, 0x0000),
LIMA_FORMAT(L16_UNORM, L16, NONE, false, 0x0000),
LIMA_FORMAT(L8_UNORM, L8, NONE, false, 0x0000),
LIMA_FORMAT(A16_UNORM, A16, NONE, false, 0x0000),
diff --git a/src/gallium/drivers/lima/lima_screen.c b/src/gallium/drivers/lima/lima_screen.c
index 16c9fefcf04..1a6ff22dc44 100644
--- a/src/gallium/drivers/lima/lima_screen.c
+++ b/src/gallium/drivers/lima/lima_screen.c
@@ -312,7 +312,6 @@ lima_screen_is_format_supported(struct pipe_screen *pscreen,
if (usage & PIPE_BIND_DEPTH_STENCIL) {
switch (format) {
- case PIPE_FORMAT_Z16_UNORM:
case PIPE_FORMAT_Z24_UNORM_S8_UINT:
case PIPE_FORMAT_Z24X8_UNORM:
break;