Skip to content

dri: Allow INVALID for modifier-less drivers

Daniel Stone requested to merge daniels/mesa:dri-create-image-invalid-mod into main

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.


cc @daenzer @digetx

Merge request reports