Mesa (master): pan/decode: Remove is_zs weirdness

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 24 05:34:40 UTC 2020


Module: Mesa
Branch: master
Commit: ad4024968eedebc4fd05322c3346c30aa5d4d56d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad4024968eedebc4fd05322c3346c30aa5d4d56d

Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Apr 20 17:59:54 2020 -0400

pan/decode: Remove is_zs weirdness

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4680>

---

 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 */
 



More information about the mesa-commit mailing list