[Mesa-dev] [PATCH] st/dri: Initialise modifier to INVALID for DRI2

Eric Anholt eric at anholt.net
Mon Apr 2 17:52:34 UTC 2018


Daniel Stone <daniels at collabora.com> writes:

> When allocating a buffer for DRI2, set the modifier to INVALID to inform
> the backend that we have no supplied modifiers and it should do its own
> thing. The missed initialisation forced linear, even if the
> implementation had made other decisions.

This makes sense.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180402/0cede479/attachment.sig>


More information about the mesa-dev mailing list