mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 07:40:38 +02:00
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:
parent
131845eb84
commit
cc16e7322f
1 changed files with 0 additions and 8 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue