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

Author: Alyssa Rosenzweig <[email protected]>
Date:   Mon Apr 20 17:59:54 2020 -0400

pan/decode: Remove is_zs weirdness

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
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 */
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to