panfrost: Handle Z24_UNORM_S8_UINT as MALI_Z32_UNORM
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 19 Dec 2019 11:51:06 +0000 (12:51 +0100)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 25 Dec 2019 00:21:52 +0000 (19:21 -0500)
Fixes dEQP-GLES3.functional.texture.format.sized.2d.depth24_stencil8_pot

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
src/gallium/drivers/panfrost/pan_format.c

index 35fa012bed60b13465eddbf24c17fe94675c4b41..77a2e7f9386205a463fc40f414ceb7e76df5685f 100644 (file)
@@ -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: