mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-04 13:08:15 +02:00
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:
parent
f7b556cf66
commit
f67ca9c529
3 changed files with 13 additions and 5 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
8
src/util/00-virtio_gpu-defaults.conf
Normal file
8
src/util/00-virtio_gpu-defaults.conf
Normal 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>
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue