From: Tomeu Vizoso Date: Thu, 19 Dec 2019 11:51:06 +0000 (+0100) Subject: panfrost: Handle Z24_UNORM_S8_UINT as MALI_Z32_UNORM X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f107059bb2fc4455675b6579e502d49a30dab620;p=mesa.git 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 --- 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: