pan/decode: Remove is_zs weirdness
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 20 Apr 2020 21:59:54 +0000 (17:59 -0400)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 24 Apr 2020 04:54:36 +0000 (06:54 +0200)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4680>

src/panfrost/pandecode/decode.c

index ec61445a21c350647f5bfe6d13eafabd548e7180..567da3d13ea5300eb396796d22a6592106e265c3 100644 (file)
@@ -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 */