ci: also handle default wine rootfs (for testing)

Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17938>
This commit is contained in:
David Heidelberg
2022-09-13 17:18:39 +02:00
committed by Marge Bot
parent 1e27a72c81
commit e76a755044

View File

@@ -17,8 +17,16 @@ if [ "$PIGLIT_REPLAY_SUBCOMMAND" = "profile" ]; then
fi
# WINE
case "$PIGLIT_REPLAY_DEVICE_NAME" in
vk-*)
export WINEPREFIX="/dxvk-wine64"
;;
*)
export WINEPREFIX="/generic-wine64"
;;
esac
PATH="/opt/wine-stable/bin/:$PATH" # WineHQ path
export WINEPREFIX="/dxvk-wine64" # hardcode DXVK for now
# Set environment for DXVK.
export DXVK_LOG_LEVEL="info"