v3dv: add some basic support for format properties

Graphics / Mesa 3D Graphics Library / Mesa - Iago Toral Quiroga [igalia.com] - 13 October 2020 21:21 UTC

This takes a subset of vk_format_info.h from Anvil which has some Intel specific elements. At some point we might want to discuss if we want to make the file reusable and move the intel bits to some other place, but it is not a lot of code and for now this works, so we keep going.

Part-of:

871ac1ed335 v3dv: add some basic support for format properties
src/broadcom/vulkan/v3dv_formats.c | 35 +++++++++++-
src/broadcom/vulkan/vk_format_info.h | 102 +++++++++++++++++++++++++++++++++++
2 files changed, 135 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share