Skip to content

lavapipe: Use common Vulkan format helpers

Joshua Ashton requested to merge frog/mesa:lavapipe-vk-formats into main

Drops the vk_format_to_pipe (and it's outdated table) for vk_format_to_pipe_format, aswell as the duplicated vk_format_aspects function.

The old format table was missing USCALED and other values, causing incorrect rendering in many games.

Fixes rendering in Portal 1, Hat in Time, Half-Life 2 and pretty much every other D3D9 title with DXVK.

Signed-off-by: Joshua Ashton joshua@froggi.es

Merge request reports