From f107059bb2fc4455675b6579e502d49a30dab620 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Thu, 19 Dec 2019 12:51:06 +0100 Subject: [PATCH] panfrost: Handle Z24_UNORM_S8_UINT as MALI_Z32_UNORM Fixes dEQP-GLES3.functional.texture.format.sized.2d.depth24_stencil8_pot Signed-off-by: Tomeu Vizoso --- src/gallium/drivers/panfrost/pan_format.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/panfrost/pan_format.c b/src/gallium/drivers/panfrost/pan_format.c index 35fa012bed6..77a2e7f9386 100644 --- a/src/gallium/drivers/panfrost/pan_format.c +++ b/src/gallium/drivers/panfrost/pan_format.c @@ -182,6 +182,7 @@ panfrost_find_format(const struct util_format_description *desc) { case PIPE_FORMAT_Z32_UNORM: case PIPE_FORMAT_Z24X8_UNORM: + case PIPE_FORMAT_Z24_UNORM_S8_UINT: return MALI_Z32_UNORM; case PIPE_FORMAT_B5G6R5_UNORM: -- 2.30.2