mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-04 06:38:19 +02:00
util: add a separate file for dozen 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
c2f397c90f
commit
f7b556cf66
3 changed files with 26 additions and 19 deletions
22
src/util/00-dzn-defaults.conf
Normal file
22
src/util/00-dzn-defaults.conf
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0"?>
|
||||
<driconf>
|
||||
<device driver="dzn">
|
||||
<application name="DOOMEternal" executable="DOOMEternalx64vk.exe">
|
||||
<option name="dzn_enable_8bit_loads_stores" value="true" />
|
||||
<option name="dzn_claim_wide_lines" value="true" />
|
||||
</application>
|
||||
<application name="No Man's Sky" executable="NMS.exe">
|
||||
<option name="dzn_claim_wide_lines" value="true" />
|
||||
</application>
|
||||
<!-- RDR2 will default to Vulkan despite having a D3D path. Ideally
|
||||
dzn would be "just as efficient" as the native path, but in practice
|
||||
it's currently broken. Just disable dzn and let the app use native. -->
|
||||
<application name="Red Dead Redemption 2" executable="RDR2.exe">
|
||||
<option name="dzn_disable" value="true" />
|
||||
</application>
|
||||
<!-- Similar to RDR2, but selects dzn instead of native drivers. -->
|
||||
<application name="Baldur's Gate 3" executable="bg3.exe">
|
||||
<option name="dzn_disable" value="true" />
|
||||
</application>
|
||||
</device>
|
||||
</driconf>
|
||||
|
|
@ -943,25 +943,6 @@ TODO: document the other workarounds.
|
|||
<option name="no_16bit" value="true" />
|
||||
</engine>
|
||||
</device>
|
||||
<device driver="dzn">
|
||||
<application name="DOOMEternal" executable="DOOMEternalx64vk.exe">
|
||||
<option name="dzn_enable_8bit_loads_stores" value="true" />
|
||||
<option name="dzn_claim_wide_lines" value="true" />
|
||||
</application>
|
||||
<application name="No Man's Sky" executable="NMS.exe">
|
||||
<option name="dzn_claim_wide_lines" value="true" />
|
||||
</application>
|
||||
<!-- RDR2 will default to Vulkan despite having a D3D path. Ideally
|
||||
dzn would be "just as efficient" as the native path, but in practice
|
||||
it's currently broken. Just disable dzn and let the app use native. -->
|
||||
<application name="Red Dead Redemption 2" executable="RDR2.exe">
|
||||
<option name="dzn_disable" value="true" />
|
||||
</application>
|
||||
<!-- Similar to RDR2, but selects dzn instead of native drivers. -->
|
||||
<application name="Baldur's Gate 3" executable="bg3.exe">
|
||||
<option name="dzn_disable" value="true" />
|
||||
</application>
|
||||
</device>
|
||||
<device driver="d3d12">
|
||||
<application name="Blender" executable="blender.exe">
|
||||
<!-- Blender needs GL4.3, but that requires a D3D feature that not all in-market
|
||||
|
|
|
|||
|
|
@ -225,6 +225,10 @@ if with_nouveau_vk
|
|||
files_drirc += files('00-nvk-defaults.conf')
|
||||
endif
|
||||
|
||||
if with_microsoft_vk
|
||||
files_drirc += files('00-dzn-defaults.conf')
|
||||
endif
|
||||
|
||||
if with_freedreno_vk
|
||||
files_drirc += files('00-turnip-defaults.conf')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue