util: add a separate file for panvk drirc

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41731>
This commit is contained in:
Samuel Pitoiset 2026-05-21 16:42:20 +02:00 committed by Marge Bot
parent 31b7d17da4
commit 87860fca06
3 changed files with 18 additions and 11 deletions

View file

@ -1083,17 +1083,6 @@ TODO: document the other workarounds.
<option name="disable_explicit_sync_heuristic" value="true"/>
</application>
</device>
<device driver="panvk">
<engine engine_name_match="ANGLE">
<!--
ANGLE requires VK_EXT_transform_feedback or vertexPipelineStoresAndAtomics
to enable OpenGL 3.1 support. As we currently don't support this extension,
we enable support for vertexPipelineStoresAndAtomics to allow XFB emulation
on hardware without speculative behaviors around vertices.
-->
<option name="pan_enable_vertex_pipeline_stores_atomics" value="true" />
</engine>
</device>
<device driver="panfrost">
<application name="all-default">
<option name="allow_rgb16_configs" value="false"/>

View file

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<driconf>
<device driver="panvk">
<engine engine_name_match="ANGLE">
<!--
ANGLE requires VK_EXT_transform_feedback or vertexPipelineStoresAndAtomics
to enable OpenGL 3.1 support. As we currently don't support this extension,
we enable support for vertexPipelineStoresAndAtomics to allow XFB emulation
on hardware without speculative behaviors around vertices.
-->
<option name="pan_enable_vertex_pipeline_stores_atomics" value="true" />
</engine>
</device>
</driconf>

View file

@ -245,6 +245,10 @@ if with_asahi_vk
files_drirc += files('00-hk-defaults.conf')
endif
if with_panfrost_vk
files_drirc += files('00-panvk-defaults.conf')
endif
if with_gallium_radeonsi
files_drirc += files('00-radeonsi-defaults.conf')
endif