util: add a separate file for virgl 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:48:57 +02:00 committed by Marge Bot
parent f7b556cf66
commit f67ca9c529
3 changed files with 13 additions and 5 deletions

View file

@ -958,11 +958,7 @@ TODO: document the other workarounds.
</application>
</device>
<device driver="virtio_gpu">
<application name="Counter-Strike Global Offensive" executable="csgo_linux64">
<option name="format_l8_srgb_enable_readback" value="true" />
</application>
</device>
<!--
The android game hall of shame:

View file

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<driconf>
<device driver="virtio_gpu">
<application name="Counter-Strike Global Offensive" executable="csgo_linux64">
<option name="format_l8_srgb_enable_readback" value="true" />
</application>
</device>
</driconf>

View file

@ -257,6 +257,10 @@ if with_panfrost_vk
files_drirc += files('00-panvk-defaults.conf')
endif
if with_gallium_virgl
files_drirc += files('00-virtio_gpu-defaults.conf')
endif
if with_gallium_panfrost
files_drirc += files('00-panfrost-defaults.conf')
endif