From c1627a1b5745026d9b15ea0539c3e63e54f48ac2 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 18 Mar 2020 21:02:42 +0100 Subject: [PATCH] [meta] Don't install d3d10 and d3d10_1 by default --- setup_dxvk.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/setup_dxvk.sh b/setup_dxvk.sh index 2b056af8..0c161447 100755 --- a/setup_dxvk.sh +++ b/setup_dxvk.sh @@ -17,7 +17,7 @@ uninstall) ;; *) echo "Unrecognized action: $action" - echo "Usage: $0 [install|uninstall] [--without-dxgi] [--symlink]" + echo "Usage: $0 [install|uninstall] [--without-dxgi] [--with-d3d10] [--symlink]" exit 1 esac @@ -25,6 +25,7 @@ esac shift with_dxgi=true +with_d3d10=false file_cmd="cp -v" while (($# > 0)); do @@ -32,6 +33,9 @@ while (($# > 0)); do "--without-dxgi") with_dxgi=false ;; + "--with-d3d10") + with_d3d10=true + ;; "--symlink") file_cmd="ln -s -v" ;; @@ -197,7 +201,11 @@ if $with_dxgi || [ "$action" == "uninstall" ]; then fi $action d3d9 -$action d3d10 -$action d3d10_1 + +if $with_d3d10 || [ "$action" == "uninstall" ]; then + $action d3d10 + $action d3d10_1 +fi + $action d3d10core $action d3d11