Skip to content
Snippets Groups Projects
Commit dc26c3f6 authored by Autumn Ashton's avatar Autumn Ashton :frog: Committed by Eric Engestrom
Browse files

lavapipe: Use common Vulkan format helpers


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.

Fixes: b38879f8 ("vallium: initial import of the vulkan frontend")

Signed-off-by: default avatarJoshua Ashton <joshua@froggi.es>
Reviewed-By: default avatarMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
Part-of: <mesa/mesa!11863>
(cherry picked from commit 17443727)
parent d870091d
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