Mesa (master): panfrost: Drop unused swizzles
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Nov 3 14:55:05 UTC 2020
Module: Mesa
Branch: master
Commit: 914eebb0bcebdf8b87ae7081a339358eacaba611
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=914eebb0bcebdf8b87ae7081a339358eacaba611
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Tue Nov 3 08:21:12 2020 -0500
panfrost: Drop unused swizzles
Missed during format cleanup.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7408>
---
src/panfrost/lib/pan_texture.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/src/panfrost/lib/pan_texture.c b/src/panfrost/lib/pan_texture.c
index 66cafc2c5a3..dfb2d1c609d 100644
--- a/src/panfrost/lib/pan_texture.c
+++ b/src/panfrost/lib/pan_texture.c
@@ -364,19 +364,6 @@ panfrost_emit_texture_payload_v7(mali_ptr *payload,
}
}
-#define MALI_SWIZZLE_R001 \
- (MALI_CHANNEL_R << 0) | \
- (MALI_CHANNEL_0 << 3) | \
- (MALI_CHANNEL_0 << 6) | \
- (MALI_CHANNEL_1 << 9)
-
-#define MALI_SWIZZLE_A001 \
- (MALI_CHANNEL_A << 0) | \
- (MALI_CHANNEL_0 << 3) | \
- (MALI_CHANNEL_0 << 6) | \
- (MALI_CHANNEL_1 << 9)
-
-
void
panfrost_new_texture(
void *out,
More information about the mesa-commit
mailing list