Module: Mesa Branch: main Commit: f5690d2e81032488d75b7234752bcb49d6b5e9b6 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5690d2e81032488d75b7234752bcb49d6b5e9b6
Author: Alyssa Rosenzweig <[email protected]> Date: Tue Aug 1 10:40:59 2023 -0400 panfrost: Drop unused decode_position for samples There's a Gallium helper for this now. Signed-off-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Italo Nicola <[email protected]> Acked-by: Faith Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24428> --- 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 f6ea9eb2bf7..5ee569c2c90 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] = {
