From: Alyssa Rosenzweig Date: Thu, 18 Jul 2019 00:39:34 +0000 (-0700) Subject: panfrost: Handle Z24 textures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1bced0fad2feeca34ef9d2a2d28b05e234d25e36;p=mesa.git panfrost: Handle Z24 textures Just use the Z32 code. Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/gallium/drivers/panfrost/pan_format.c b/src/gallium/drivers/panfrost/pan_format.c index d5039d438a3..7c94596ec76 100644 --- a/src/gallium/drivers/panfrost/pan_format.c +++ b/src/gallium/drivers/panfrost/pan_format.c @@ -176,8 +176,8 @@ panfrost_find_format(const struct util_format_description *desc) { case PIPE_FORMAT_B10G10R10A2_UINT: return MALI_RGB10_A2UI; - /* TODO: ZS isn't really special case */ case PIPE_FORMAT_Z32_UNORM: + case PIPE_FORMAT_Z24X8_UNORM: return MALI_Z32_UNORM; case PIPE_FORMAT_B5G6R5_UNORM: