summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-07-02 17:52:27 -0400
committerAndrew Opalach <andrew@akon.city> 2026-07-02 17:52:27 -0400
commit34933b7e1d682e67702999270cd3ceec0e167316 (patch)
treea6777f793fe658ad0facb85876e41cb66dbec2c2 /scripts
parentef3f687db0f53f026e808c4284e084255c9e9dd5 (diff)
downloadcamu-34933b7e1d682e67702999270cd3ceec0e167316.tar.gz
camu-34933b7e1d682e67702999270cd3ceec0e167316.tar.bz2
camu-34933b7e1d682e67702999270cd3ceec0e167316.zip
Update deps, build fixes, cleanup
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run_blit_mode.bat6
-rwxr-xr-xscripts/run_flip_mode.bat7
-rwxr-xr-xscripts/shaderc_deps.sh8
3 files changed, 14 insertions, 7 deletions
diff --git a/scripts/run_blit_mode.bat b/scripts/run_blit_mode.bat
index 8467e5d..c314a2f 100755
--- a/scripts/run_blit_mode.bat
+++ b/scripts/run_blit_mode.bat
@@ -1,3 +1,5 @@
+@echo off
set SINK_DXGI_FLIP=0
-set /p code=<host_code
-.\sink-d-%code%.exe \ No newline at end of file
+set SINK_DIR=%~dp0
+set /p code=<%SINK_DIR%\host_code
+%SINK_DIR%\sink-d-%code%.exe %* \ No newline at end of file
diff --git a/scripts/run_flip_mode.bat b/scripts/run_flip_mode.bat
index e6e9f31..c9e2c3c 100755
--- a/scripts/run_flip_mode.bat
+++ b/scripts/run_flip_mode.bat
@@ -1,3 +1,6 @@
+@echo off
set SINK_DXGI_FLIP=1
-set /p code=<host_code
-.\sink-d-%code%.exe \ No newline at end of file
+set SINK_FORCE_LOCAL=1
+set SINK_DIR=%~dp0
+set /p code=<%SINK_DIR%\host_code
+%SINK_DIR%\sink-d-%code%.exe %* \ No newline at end of file
diff --git a/scripts/shaderc_deps.sh b/scripts/shaderc_deps.sh
index 89aaf38..c9c793f 100755
--- a/scripts/shaderc_deps.sh
+++ b/scripts/shaderc_deps.sh
@@ -2,17 +2,19 @@
# We need a better way to do this.
+# https://github.com/google/shaderc/blob/known-good/known_good.json
+
git clone https://github.com/KhronosGroup/SPIRV-Tools.git spirv-tools
cd spirv-tools
-git checkout fbe4f3ad913c44fe8700545f8ffe35d1382b7093
+git checkout c1cb30bb04e2bf911755a40df1242cc6e3d83e26
cd ../
git clone https://github.com/KhronosGroup/SPIRV-Headers.git spirv-headers
cd spirv-headers
-git checkout 04f10f650d514df88b76d25e83db360142c7b174
+git checkout ad9184e76a66b1001c29db9b0a3e87f646c64de0
cd ../
git clone https://github.com/KhronosGroup/glslang.git glslang
cd glslang
-git checkout f0bd0257c308b9a26562c1a30c4748a0219cc951
+git checkout 5ed4003a18a10a9d1bd7e43aaf1664499abffa83
cd ../