Skip to content
Snippets Groups Projects
Commit 24f839f5 authored by Lina Versace's avatar Lina Versace
Browse files

anv: Refactor get_buffer_format_properties()


Make it a stand-alone function. Pre-patch, for some formats the function
returned incorrect VkFormatFeatureFlags which were cleaned up by the
caller.

This prepares for a cleaner implementation of
VK_EXT_image_drm_format_modifier.

Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
parent 39f8866a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment