
With the addition of createImageWithModifiers usage flags were dropped, as it was believed at the time that modifers will be a full replacement for the usage flags. This has turned out to be untrue, as modifiers are not able to describe buffer placement. Add a new version of the interface, that allows to specifiy use flags in addition to the modifier. Signed-off-by: Simon Ser <contact@emersion.fr> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8106>