Skip to content

Commit 90cbdce

Browse files
authored
Merge pull request #1055 from kitsune4295/4.4-MacFix
[4.4] Pin Vulkan SDK version to 1.4.313.1 for compatibility with Mac 10.3.
2 parents d064ffe + 93e22b4 commit 90cbdce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

misc/scripts/install_vulkan_sdk_macos.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ set -euo pipefail
44
IFS=$'\n\t'
55
new_ver_full=''
66

7-
# Check currently installed and latest available Vulkan SDK versions.
7+
# Versions past 1.4.313.1 require Mac 10.5, we need to support 10.3 in Redot 4.4 and older.
88
if command -v jq 2>&1 >/dev/null; then
9-
curl -L "https://sdk.lunarg.com/sdk/download/latest/mac/config.json" -o /tmp/vulkan-sdk.json
9+
curl -L "https://sdk.lunarg.com/sdk/download/1.4.313.1/mac/config.json" -o /tmp/vulkan-sdk.json
1010

1111
new_ver_full=`jq -r '.version' /tmp/vulkan-sdk.json`
1212
new_ver=`echo "$new_ver_full" | awk -F. '{ printf("%d%02d%04d%02d\n", $1,$2,$3,$4); }';`
@@ -27,8 +27,8 @@ else
2727
exit 1
2828
fi
2929

30-
# Download and install the Vulkan SDK.
31-
curl -L "https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.zip" -o /tmp/vulkan-sdk.zip
30+
# Versions past 1.4.313.1 require Mac 10.5, we need to support 10.3 in Redot 4.4 and older.
31+
curl -L "https://sdk.lunarg.com/sdk/download/1.4.313.1/mac/vulkan-sdk.zip" -o /tmp/vulkan-sdk.zip
3232
unzip /tmp/vulkan-sdk.zip -d /tmp
3333

3434
if [ -d "/tmp/vulkansdk-macOS-$new_ver_full.app" ]; then

0 commit comments

Comments
 (0)