panfrost: Remove MALI_POSITIVE macro

Now unused.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20445>
This commit is contained in:
Alyssa Rosenzweig 2022-12-28 16:15:21 -05:00 committed by Marge Bot
parent 131845eb84
commit cc16e7322f

View file

@ -42,14 +42,6 @@ typedef uint64_t mali_ptr;
#define MALI_EXTRACT_TYPE(fmt) ((fmt)&0xe0)
#define MALI_EXTRACT_INDEX(pixfmt) (((pixfmt) >> 12) & 0xFF)
/* Purposeful off-by-one in width, height fields. For example, a (64, 64)
* texture is stored as (63, 63) in these fields. This adjusts for that.
* There's an identical pattern in the framebuffer descriptor. Even vertex
* count fields work this way, hence the generic name -- integral fields that
* are strictly positive generally need this adjustment. */
#define MALI_POSITIVE(dim) (dim - 1)
/* Mali hardware can texture up to 65536 x 65536 x 65536 and render up to 16384
* x 16384, but 8192 x 8192 should be enough for anyone. The OpenGL game
* "Cathedral" requires a texture of width 8192 to start.