diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-17 17:39:34 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-07-18 10:42:43 -0700 |
commit | 1bced0fad2feeca34ef9d2a2d28b05e234d25e36 (patch) | |
tree | bc91dba5382a5450d31b74a84b01028ed045786f /src/gallium/drivers/panfrost/pan_format.c | |
parent | f29c08496000482bfd56265942418df94adaf609 (diff) |
panfrost: Handle Z24 textures
Just use the Z32 code.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_format.c')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_format.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |