From f5690d2e81032488d75b7234752bcb49d6b5e9b6 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 1 Aug 2023 10:40:59 -0400 Subject: [PATCH] panfrost: Drop unused decode_position for samples There's a Gallium helper for this now. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Italo Nicola Acked-by: Faith Ekstrand Part-of: --- src/panfrost/lib/pan_samples.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/panfrost/lib/pan_samples.c b/src/panfrost/lib/pan_samples.c index f6ea9eb..5ee569c 100644 --- a/src/panfrost/lib/pan_samples.c +++ b/src/panfrost/lib/pan_samples.c @@ -60,12 +60,6 @@ struct mali_sample_positions { #define SAMPLE8(x, y) SAMPLE16((x)*2, (y)*2) #define SAMPLE4(x, y) SAMPLE16((x)*4, (y)*4) -static float -decode_position(int16_t raw) -{ - return ((float)raw) / 256.0; -} - /* clang-format off */ const struct mali_sample_positions sample_position_lut[] = { [MALI_SAMPLE_PATTERN_SINGLE_SAMPLED] = { -- 2.7.4