diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/run_blit_mode.bat | 6 | ||||
| -rwxr-xr-x | scripts/run_flip_mode.bat | 7 | ||||
| -rwxr-xr-x | scripts/shaderc_deps.sh | 8 |
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 ../ |