mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
asahi: add fallback for DRM_FORMAT_MOD_INVALID on macOS
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19879>
This commit is contained in:
parent
a6d7d2a525
commit
fcb207a4d3
1 changed files with 3 additions and 0 deletions
|
|
@ -62,6 +62,9 @@
|
|||
#ifndef DRM_FORMAT_MOD_LINEAR
|
||||
#define DRM_FORMAT_MOD_LINEAR 1
|
||||
#endif
|
||||
#ifndef DRM_FORMAT_MOD_INVALID
|
||||
#define DRM_FORMAT_MOD_INVALID ((1ULL << 56) - 1)
|
||||
#endif
|
||||
|
||||
#ifndef DRM_FORMAT_MOD_APPLE_TWIDDLED
|
||||
#define DRM_FORMAT_MOD_APPLE_TWIDDLED (2)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue