Update build instructions to reference new repository names in GitHub
Update all references to the new public GitHub repository names, and
also switches from SSH access to the repositories to HTTPS access.
Update glslang_revision to reference new GitHub repo
glslang hash: e6f7988adec197e0590fb8274b0412811456d3e6
LunarGLASS revision: 1093
Also, ensure update_external_sources.* fetches the repo before
checking out the hash.
We don't have any tags to pull from, but we can pull specific
commits that are tested and known to work.
The current commit matches up with the previous subversion
version of glslang, so there is no functional change.
Summary:
Add Windows version of update_external_sources, and relocate
glslang and LunarGLASS target revisions to external files shared
with Linux.
Details:
On Linux, we've successfully been using update_external_sources.sh
to get on the target version of glslang (which generates SPIR-V) and
LunarGLASS (which consumes SPIR-V). Both of these components are
peers to the typical Vulkan directory structure:
/LoaderAndTools
/layers
/loader
/demos
/...
/glslang
/LunarGLASS
There hasn't been an equivalent on Windows, so tedious manual steps
and GUIs have been used on individual systems.
This commit introduces a Windows batch script that automates the
process similar to Linux. It detects if you have the required
dependendcies and early-outs for any problems.
If you are a Windows developer that only wants spirv headers, run:
update_external_sources.bat --sync-glslang
If you want to build the Windows version of glslangValidator.exe, run:
update_external_sources.bat --build-glslang
If you want to run LunarGOO with SPIR-V support on Windows, run:
update_external_sources.bat --build-LunarGLASS
The script builds Debug and Release x64 versions, and should be run from:
Developer Command Prompt for VS2013
This commit also relocates the target version of glslang and LunarGLASS
to an external shared file that only contains the version number of
each. Both scripts read the value from the file, therefore they
cannot get out of sync.