mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-04 13:08:15 +02:00
util: add a separate file for Zink 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
a33f1dfd2c
commit
c8da45dd99
3 changed files with 35 additions and 28 deletions
|
|
@ -891,34 +891,6 @@ TODO: document the other workarounds.
|
|||
<option name="radeonsi_zerovram" value="true" />
|
||||
</application>
|
||||
</device>
|
||||
<device driver="zink">
|
||||
<application name="Hyperdimension Neptunia Re;Birth1" executable="NeptuniaReBirth1.exe">
|
||||
<!-- glthread uploads need too much vram and exceed 32bit VA limit -->
|
||||
<!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/8333 -->
|
||||
<option name="mesa_glthread_app_profile" value="0"/>
|
||||
</application>
|
||||
|
||||
<application name="Borderlands 2 (Native, OpenGL, 32bit)" executable="Borderlands2">
|
||||
<!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/9205 -->
|
||||
<option name="glsl_correct_derivatives_after_discard" value="true" />
|
||||
</application>
|
||||
<application name="SPECviewperf13" executable="viewperf">
|
||||
<option name="mesa_extension_override" value="+GL_EXT_shader_image_load_store" />
|
||||
</application>
|
||||
<!-- GL_POINT_SMOOTH is used in Quake II to render particles -->
|
||||
<application name="Quake II" executable="quake2-engine">
|
||||
<option name="zink_emulate_point_smooth" value="true"/>
|
||||
</application>
|
||||
<application name="Quake II (yamagi)" executable="yamagi-quake2">
|
||||
<option name="zink_emulate_point_smooth" value="true"/>
|
||||
</application>
|
||||
<application name="Quake II (wine)" executable="quake2.exe">
|
||||
<option name="zink_emulate_point_smooth" value="true"/>
|
||||
</application>
|
||||
<application name="Tomb Raider 2013" executable="TombRaider">
|
||||
<option name="zink_shader_object_enable" value="true" />
|
||||
</application>
|
||||
</device>
|
||||
<device driver="iris">
|
||||
<application name="Middle Earth: Shadow of Mordor" executable="ShadowOfMordor">
|
||||
<option name="vs_position_always_invariant" value="true" />
|
||||
|
|
|
|||
31
src/util/00-zink-defaults.conf
Normal file
31
src/util/00-zink-defaults.conf
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0"?>
|
||||
<driconf>
|
||||
<device driver="zink">
|
||||
<application name="Hyperdimension Neptunia Re;Birth1" executable="NeptuniaReBirth1.exe">
|
||||
<!-- glthread uploads need too much vram and exceed 32bit VA limit -->
|
||||
<!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/8333 -->
|
||||
<option name="mesa_glthread_app_profile" value="0"/>
|
||||
</application>
|
||||
|
||||
<application name="Borderlands 2 (Native, OpenGL, 32bit)" executable="Borderlands2">
|
||||
<!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/9205 -->
|
||||
<option name="glsl_correct_derivatives_after_discard" value="true" />
|
||||
</application>
|
||||
<application name="SPECviewperf13" executable="viewperf">
|
||||
<option name="mesa_extension_override" value="+GL_EXT_shader_image_load_store" />
|
||||
</application>
|
||||
<!-- GL_POINT_SMOOTH is used in Quake II to render particles -->
|
||||
<application name="Quake II" executable="quake2-engine">
|
||||
<option name="zink_emulate_point_smooth" value="true"/>
|
||||
</application>
|
||||
<application name="Quake II (yamagi)" executable="yamagi-quake2">
|
||||
<option name="zink_emulate_point_smooth" value="true"/>
|
||||
</application>
|
||||
<application name="Quake II (wine)" executable="quake2.exe">
|
||||
<option name="zink_emulate_point_smooth" value="true"/>
|
||||
</application>
|
||||
<application name="Tomb Raider 2013" executable="TombRaider">
|
||||
<option name="zink_shader_object_enable" value="true" />
|
||||
</application>
|
||||
</device>
|
||||
</driconf>
|
||||
|
|
@ -217,6 +217,10 @@ if with_amd_vk
|
|||
files_drirc += files('00-radv-defaults.conf')
|
||||
endif
|
||||
|
||||
if with_gallium_zink
|
||||
files_drirc += files('00-zink-defaults.conf')
|
||||
endif
|
||||
|
||||
drirc_gen = files('drirc_gen.py')
|
||||
|
||||
if with_tests
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue