From ad4024968eedebc4fd05322c3346c30aa5d4d56d Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 20 Apr 2020 17:59:54 -0400 Subject: [PATCH] pan/decode: Remove is_zs weirdness Signed-off-by: Alyssa Rosenzweig Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig Part-of: --- src/panfrost/pandecode/decode.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index ec61445a21c..567da3d13ea 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -2019,13 +2019,6 @@ pandecode_texture(mali_ptr u, pandecode_make_indent(); - /* TODO: Are there others? */ - bool is_zs = f.format == MALI_Z32_UNORM; - - /* Recall Z/S switched the meaning of linear/tiled .. */ - if (is_zs && f.layout == MALI_TEXTURE_LINEAR) - pandecode_msg("XXX: depth/stencil cannot be tiled\n"); - /* Print the layout. Default is linear; a modifier can denote AFBC or * u-interleaved/tiled modes */ -- 2.30.2