hk: fake min/max filtering for proton

this gets us to fl12_0.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
This commit is contained in:
Alyssa Rosenzweig
2025-02-21 11:51:43 -05:00
committed by Marge Bot
parent 383a3065b8
commit 839b01bd2d
5 changed files with 22 additions and 4 deletions
+9
View File
@@ -1489,5 +1489,14 @@ TODO: document the other workarounds.
<application name="Control (DX11)" executable="Control_DX11.exe">
<option name="hk_disable_border_emulation" value="true" />
</application>
<engine engine_name_match="DXVK|vkd3d">
<!--
Apple hardware lacks min/max filtering, but this is required for
FL12_0. Fortunately, this is an obscure feature and we support
the rest of FL12_0, so we prefer to fake support and fail D3D
conformance rather than be limited to FL11.
-->
<option name="hk_fake_minmax" value="true" />
</engine>
</device>
</driconf>
+4
View File
@@ -641,6 +641,10 @@
DRI_CONF_OPT_B(hk_disable_rgba4_border_color_workaround, def, \
"Use hardware opaque_black, breaking certain RGBA4 formats")
#define DRI_CONF_HK_FAKE_MINMAX(def) \
DRI_CONF_OPT_B(hk_fake_minmax, def, \
"Fake support for min/max filtering")
/**
* \brief venus specific configuration options
*/