diff options
| author | Greg Fischer <greg@lunarg.com> | 2016-06-17 12:19:46 -0600 |
|---|---|---|
| committer | Greg Fischer <greg@lunarg.com> | 2016-06-17 12:19:46 -0600 |
| commit | ae957adfb5feb5c5e67174998d9087e030bb479b (patch) | |
| tree | a886e3df2741af14c41262554409686f25cb5555 /update_external_sources.bat | |
| parent | 379a2fb69af4405a93e99597770729ef58081ca2 (diff) | |
| download | usermoji-ae957adfb5feb5c5e67174998d9087e030bb479b.tar.xz | |
update_external_sources.bat: now get headers from Khronos/SPIRV-Headers
Diffstat (limited to 'update_external_sources.bat')
| -rwxr-xr-x | update_external_sources.bat | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/update_external_sources.bat b/update_external_sources.bat index afe63d0b..b9ff00df 100755 --- a/update_external_sources.bat +++ b/update_external_sources.bat @@ -228,6 +228,14 @@ goto:eof echo spirv-tools source download failed! set errorCode=1 ) + mkdir %SPIRV_TOOLS_DIR%\external + mkdir %SPIRV_TOOLS_DIR%\external\spirv-headers + cd %SPIRV_TOOLS_DIR%\external\spirv-headers + git clone https://github.com/KhronosGroup/SPIRV-HEADERS.git . + if not exist %SPIRV_TOOLS_DIR%\external\spirv-headers\README.md ( + echo spirv-headers download failed! + set errorCode=1 + ) goto:eof :update_spirv-tools @@ -236,6 +244,16 @@ goto:eof cd %SPIRV_TOOLS_DIR% git fetch --all git checkout %SPIRV_TOOLS_REVISION% + if not exist %SPIRV_TOOLS_DIR%\external\spirv-headers\README.md ( + mkdir %SPIRV_TOOLS_DIR%\external + mkdir %SPIRV_TOOLS_DIR%\external\spirv-headers + cd %SPIRV_TOOLS_DIR%\external\spirv-headers + git clone https://github.com/KhronosGroup/SPIRV-HEADERS.git . + goto:eof + ) + cd %SPIRV_TOOLS_DIR%\external\spirv-headers + git fetch --all + git pull goto:eof :build_glslang |
