mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
panfrost: Drop unused decode_position for samples
There's a Gallium helper for this now. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Italo Nicola <italonicola@collabora.com> Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24428>
This commit is contained in:
parent
21790954a6
commit
f5690d2e81
1 changed files with 0 additions and 6 deletions
|
|
@ -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] = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue