Mesa (main): panfrost: Remove duplicated #if
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Oct 23 02:35:39 UTC 2021
Module: Mesa
Branch: main
Commit: c2d522b07f9a7c719eef1b4ebea3cc5975bbe15a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2d522b07f9a7c719eef1b4ebea3cc5975bbe15a
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Tue Oct 5 18:52:13 2021 -0400
panfrost: Remove duplicated #if
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13208>
---
src/panfrost/lib/pan_cs.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/panfrost/lib/pan_cs.c b/src/panfrost/lib/pan_cs.c
index b4375a19db6..def4b27bfb9 100644
--- a/src/panfrost/lib/pan_cs.c
+++ b/src/panfrost/lib/pan_cs.c
@@ -431,11 +431,7 @@ pan_prepare_rt(const struct pan_fb_info *fb, unsigned idx,
pan_rt_init_format(rt, cfg);
-#if PAN_ARCH <= 5
- cfg->writeback_block_format = mod_to_block_fmt(rt->image->layout.modifier);
-#else
cfg->writeback_block_format = mod_to_block_fmt(rt->image->layout.modifier);
-#endif
struct pan_surface surf;
pan_iview_get_surface(rt, 0, 0, 0, &surf);
More information about the mesa-commit
mailing list