ail: drop fake modifiers

this just existed so upstream could build.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34075>
This commit is contained in:
Alyssa Rosenzweig 2025-03-14 10:27:46 -04:00 committed by Marge Bot
parent ba8eeaee8c
commit 8b39b75308

View file

@ -500,14 +500,6 @@ ail_is_view_compatible(struct ail_layout *layout, enum pipe_format view)
return !layout->compressed || ail_formats_compatible(layout->format, view);
}
/* Fake values, pending UAPI upstreaming */
#ifndef DRM_FORMAT_MOD_APPLE_GPU_TILED
#define DRM_FORMAT_MOD_APPLE_GPU_TILED (2)
#endif
#ifndef DRM_FORMAT_MOD_APPLE_GPU_TILED_COMPRESSED
#define DRM_FORMAT_MOD_APPLE_GPU_TILED_COMPRESSED (3)
#endif
/*
* We generally use ail enums instead of DRM format modifiers. These helpers
* bridges the gap.