With WINE_LG and PROTON_LG, the PW_USE_SUPPLIED_DXVK_VKD3D setting is not available

This commit is contained in:
Htylol 2025-05-09 20:14:36 +05:00
parent e287e42bfc
commit 0162b6bdd8

@ -5179,8 +5179,7 @@ gui_edit_db () {
0) 0)
# WineD3D OpenGL # WineD3D OpenGL
VKD3D_CB="DCB" VKD3D_CB="DCB"
DISABLE_EDIT_DB_LIST="PW_VKBASALT PW_VKBASALT_USER_CONF PW_USE_RAY_TRACING PW_USE_OBS_VKCAPTURE PW_USE_GALLIUM_ZINK PW_USE_DAMAVAND DISABLE_EDIT_DB_LIST="PW_VKBASALT PW_VKBASALT_USER_CONF PW_USE_RAY_TRACING PW_USE_OBS_VKCAPTURE PW_USE_GALLIUM_ZINK PW_USE_DAMAVAND"
"
;; ;;
1|2) 1|2)
# Stable, Newest # Stable, Newest
@ -5189,11 +5188,12 @@ gui_edit_db () {
5) 5)
# Legacy # Legacy
VKD3D_CB="DCB" VKD3D_CB="DCB"
DISABLE_EDIT_DB_LIST="PW_USE_RAY_TRACING DISABLE_EDIT_DB_LIST="PW_USE_RAY_TRACING"
"
;; ;;
esac esac
[[ $PW_WINE_USE =~ (PROTON_LG|WINE_LG) ]] && DISABLE_EDIT_DB_LIST+=" PW_USE_SUPPLIED_DXVK_VKD3D"
unset ADD_CHK_BOX_EDIT_DB unset ADD_CHK_BOX_EDIT_DB
for int_to_boole in "${PW_EDIT_DB_LIST[@]}" ; do for int_to_boole in "${PW_EDIT_DB_LIST[@]}" ; do
if [[ "${!int_to_boole}" == "1" ]] if [[ "${!int_to_boole}" == "1" ]]
@ -5203,8 +5203,7 @@ gui_edit_db () {
TMP_HELP_FOR_GUI="${int_to_boole}_INFO" TMP_HELP_FOR_GUI="${int_to_boole}_INFO"
int_to_boole_non_pw="${int_to_boole//PW_/}" int_to_boole_non_pw="${int_to_boole//PW_/}"
int_to_boole_non_pw="${int_to_boole_non_pw//"_"/" "}" int_to_boole_non_pw="${int_to_boole_non_pw//"_"/" "}"
if [[ ! "${PW_VULKAN_USE}" =~ ^(1|2)$ ]] \ if [[ -n $DISABLE_EDIT_DB_LIST ]] ; then
&& [[ -n $DISABLE_EDIT_DB_LIST ]] ; then
unset CHECK_BOOLE_TRUE unset CHECK_BOOLE_TRUE
for check_boole in $DISABLE_EDIT_DB_LIST ; do for check_boole in $DISABLE_EDIT_DB_LIST ; do
if [[ $check_boole == "$int_to_boole" ]] ; then if [[ $check_boole == "$int_to_boole" ]] ; then