From: Alyssa Rosenzweig Date: Mon, 20 Apr 2020 21:59:54 +0000 (-0400) Subject: pan/decode: Remove is_zs weirdness X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad4024968eedebc4fd05322c3346c30aa5d4d56d;p=mesa.git pan/decode: Remove is_zs weirdness Signed-off-by: Alyssa Rosenzweig Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig Part-of: --- 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 */