mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-04 08:48:14 +02:00
util: add a separate file for NVK 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
fc7da599fa
commit
7599fa8322
3 changed files with 25 additions and 18 deletions
|
|
@ -1004,24 +1004,6 @@ TODO: document the other workarounds.
|
|||
<option name="mesa_extension_override" value="+GL_ARB_texture_view" />
|
||||
</application>
|
||||
</device>
|
||||
<device driver="nvk">
|
||||
<application name="Artifact Classic" executable="dcg">
|
||||
<option name="force_vk_vendor" value="-1" />
|
||||
</application>
|
||||
<application name="Deep Rock Galactic" executable="FSD.exe">
|
||||
<!-- Tries to use NvAPI_D3D11_CreateCubinComputeShaderWithName otherwise -->
|
||||
<option name="force_vk_vendor" value="-1" />
|
||||
</application>
|
||||
<application name="Metro Exodus (Linux native)" application_name_match="metroexodus">
|
||||
<option name="nvk_app_layer" value="metroexodus" />
|
||||
</application>
|
||||
<application name="No Man's Sky" executable="NMS.exe">
|
||||
<option name="force_vk_vendor" value="-1" />
|
||||
</application>
|
||||
<application name="X4 Foundations" executable="X4">
|
||||
<option name="force_vk_vendor" value="-1" />
|
||||
</application>
|
||||
</device>
|
||||
<device driver="r300">
|
||||
<!-- Only one app can use Hyperz at a time. -->
|
||||
<application name="X server" executable="X">
|
||||
|
|
|
|||
21
src/util/00-nvk-defaults.conf
Normal file
21
src/util/00-nvk-defaults.conf
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0"?>
|
||||
<driconf>
|
||||
<device driver="nvk">
|
||||
<application name="Artifact Classic" executable="dcg">
|
||||
<option name="force_vk_vendor" value="-1" />
|
||||
</application>
|
||||
<application name="Deep Rock Galactic" executable="FSD.exe">
|
||||
<!-- Tries to use NvAPI_D3D11_CreateCubinComputeShaderWithName otherwise -->
|
||||
<option name="force_vk_vendor" value="-1" />
|
||||
</application>
|
||||
<application name="Metro Exodus (Linux native)" application_name_match="metroexodus">
|
||||
<option name="nvk_app_layer" value="metroexodus" />
|
||||
</application>
|
||||
<application name="No Man's Sky" executable="NMS.exe">
|
||||
<option name="force_vk_vendor" value="-1" />
|
||||
</application>
|
||||
<application name="X4 Foundations" executable="X4">
|
||||
<option name="force_vk_vendor" value="-1" />
|
||||
</application>
|
||||
</device>
|
||||
</driconf>
|
||||
|
|
@ -221,6 +221,10 @@ if with_intel_vk
|
|||
files_drirc += files('00-anv-defaults.conf')
|
||||
endif
|
||||
|
||||
if with_nouveau_vk
|
||||
files_drirc += files('00-nvk-defaults.conf')
|
||||
endif
|
||||
|
||||
if with_freedreno_vk
|
||||
files_drirc += files('00-turnip-defaults.conf')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue