-
If the user passes in DRM_FORMAT_MOD_INVALID as an acceptable modifier, we can progress with implicit modifiers. Add this to a more comprehensive special case along with linear to make sure that we can still allocate when users pass in a modifier list to a driver which doesn't support modifiers. Signed-off-by:
Daniel Stone <daniels@collabora.com> Fixes: 361f3622 ("dri: Unify createImage and createImageWithModifiers") Reviewed-By:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30383>
0b16d7eb