hk: clean out unused driconf

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35189>
This commit is contained in:
Alyssa Rosenzweig 2025-05-26 12:01:51 -04:00 committed by Marge Bot
parent 870bde17d0
commit 25d24b5a59
4 changed files with 0 additions and 25 deletions

View file

@ -94,7 +94,6 @@ static const driOptionDescription hk_dri_options[] = {
DRI_CONF_SECTION_END
DRI_CONF_SECTION_MISCELLANEOUS
DRI_CONF_HK_DISABLE_RGBA4_BORDER_COLOR_WORKAROUND(false)
DRI_CONF_HK_DISABLE_BORDER_EMULATION(false)
DRI_CONF_HK_FAKE_MINMAX(false)
DRI_CONF_SECTION_END
@ -114,9 +113,6 @@ hk_init_dri_options(struct hk_instance *instance)
instance->force_vk_vendor =
driQueryOptioni(&instance->dri_options, "force_vk_vendor");
instance->workaround_rgba4 = !driQueryOptionb(
&instance->dri_options, "hk_disable_rgba4_border_color_workaround");
instance->no_border =
driQueryOptionb(&instance->dri_options, "hk_disable_border_emulation");

View file

@ -20,7 +20,6 @@ struct hk_instance {
uint8_t driver_build_sha[20];
uint32_t force_vk_vendor;
bool workaround_rgba4;
bool no_border;
bool fake_minmax;
};

View file

@ -1276,22 +1276,6 @@ TODO: document the other workarounds.
</device>
<device driver="hk">
<engine engine_name_match="DXVK">
<!--
Apple hardware natively supports D3D-order RGBA4 but not
Vulkan-order RGBA4. Technically, D3D added Vulkan-order RGBA4 to
support Dozen, but DXVK does not support it and no known games
use it. Disabling the workaround is safe for DXVK and reduces the
number of custom border titles.
-->
<option name="hk_disable_rgba4_border_color_workaround" value="true" />
</engine>
<application name="vkcube" executable="vkcube">
<option name="hk_disable_border_emulation" value="true" />
</application>
<application name="vkmark" executable="vkmark">
<option name="hk_disable_border_emulation" value="true" />
</application>
<application name="Party Animals" executable="PartyAnimals.exe">
<option name="hk_disable_border_emulation" value="true" />
</application>

View file

@ -643,10 +643,6 @@
DRI_CONF_OPT_B(hk_disable_border_emulation, def, \
"Disable custom border colour emulation")
#define DRI_CONF_HK_DISABLE_RGBA4_BORDER_COLOR_WORKAROUND(def) \
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")