| Age | Commit message (Collapse) | Author |
|
Recent changes to upstream CMakeFiles changed the default install
location. Explicitly specify our desired install location.
Changed for Linux only; Windows was already doing this.
Change-Id: Id71945d426ac8f0a445dca3855bfa037870aaed9
|
|
To provide flexibility in which git repositories are used as the
upstream source for LVL's externals, remove the hardcoded repo URLs
from the update scripts, and instead read those URLs from parameter
files.
Also fix typos and comments.
Change-Id: Ic1b49fcf30d37b602e20bf3f83eb5991847476dc
|
|
Python is built-in on Macs; this avoids an unnecessary dependency on greadlink
|
|
This could also switch to using gnproc from brew if needed in the future.
|
|
readlink -f is not supported on macOS
brew is already a requirement to build for macOS
|
|
Script was relying on $PWD for determining the current path which
is unreliable in some situations. Updated to a more robust method
allowing spaces in paths.
Change-Id: Ibdb780c479ad7fa831d113e445cc598830806806
|
|
Moved glslang, spirv-tools and spirv-headers revision files into
the external_revisions subdirectory. Modified the Win/Lin update
external sources files to use the new locations.
Change-Id: I56138d5ae21430bcc564e6a42723accae1bcb9de
|
|
Add quotes around shell var expansions in the update_external_sources scripts.
For Windows, remove the cmake directives to add a linker option for the DEF
files. These were redundant with the DEF files getting added via the
cmake add_library() directive. They were also causing difficult-to-fix
problems with paths that have spaces in them.
Change-Id: I741bac31bbf27deae59031b6aa916c6ab48383a6
|
|
|
|
Linux's sh file didn't clobber previous external items synced.
This is having a problem with the previous changes which reverted
the glslang texel fetch patch, and then updated the revision.
Change-Id: I0e8e28d11fa40df00a5fb9164624f113b2adf084
|
|
Previously, we had to revert a texel fetch fix in glslang as
part of the update_external_sources.bat/sh due to a bug in the
certain drivers. The drivers have been fixed and released so
we can remove the change.
Change-Id: I018a0dbbc5fb27d7fbd91bc3073f0f5bef5cd346
|
|
Restrict spirv-headers to a specific commit (just as we do to
spirv-tools and glslang) by creating a new file
(spirv-headers_revision) to track the commit we want to
syncrhonize to. Also update the update_external_sources scripts
to use it. This will make sure that we don't run into the
scenario where spirv-tools and spirv-headers are incompatible.
Change-Id: Ia4fdd921a5c1c500d7f751db08b6998b3d704f2d
|
|
Without specifying a branch, git pull fails.
|
|
This includes applying a patch to glslang to revert glslang
commit a5c33d, which fixes a texel fetch problem that many IHV
drivers are not ready to cope with yet.
|
|
Add GLSLANG_REVISION-sensitive step to update_external_sources
to patch glslang to allow compilation on Ubuntu 16.10,
Arch Linux and other platforms using g++ 5.3.
This patch won't happen if the GLSLANG_REVISION is changed.
Change-Id: I84a501cb44ee527f45f499d89b2745683e0c8e70
|
|
Change-Id: I5af06e880a7a71a42503e1ce6acdd1557e445169
|
|
Khronos/SPIRV-Headers
|
|
Have update_external_sources create a sub-directory "external" to
fetch these components into. This way the update_external_sources
does not potentially overwrite files outside the directory tree.
Change-Id: Ia03d1fb9e4dad9d9db26a46e596fb1bf24fcb033
|
|
LunarGLASS is no longer built from here since it not needed for this repo.
Rather, an update_external_sources.sh has been added to VulkanTools which
can be use to build LunarGLASS.
|
|
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
|
|
Lack of parameters builds everything, as before.
./update_external_sources.sh
Building glslang, LunarGLASS, spirv-tools
Modified parameters:
--glslang-only becomes --glslang
Current parameters:
-g | --glslang # enable glslang
-l | --LunarGLASS # enable LunarGLASS
-s | --spirv-tools # enable spirv-tools
Mix and match:
./update_external_sources.sh -g -s
Building glslang (-g)
Building spirv-tools (-s)
|
|
|
|
New usage:
update_external_sources.sh -g
or:
update_external_sources.sh --glslang-only
Building LunarGLASS by default takes a long time on systems that don't
need it.
|
|
Don't checkout HEAD or rolling back one commit will delete files.
|
|
Also remove unused R32 variable and file now that
we can get latest glslang from git.
|
|
This is the new way to get SPIR-V rev32 source.
|
|
|
|
|
|
|
|
glslang has now moved to git. The update script will
recreate the glslang folder if the existing one is
the svn version.
|
|
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.
|
|
Also contains commits:
Author: GregF <greg@LunarG.com>
Date: Thu May 28 09:30:14 2015 -0600
compiler: handle new builtIn enum in metadata
Author: Cody Northrop <cody@lunarg.com>
Date: Mon Jun 1 14:24:26 2015 -0600
compiler: Update backend for new sampler types and switches
|
|
LUNARGLASS_REVISION=1070
GLSLANG_REVISION=30939
|
|
|
|
|
|
|
|
|
|
|
|
Move ahead with versions installed by update_external_sources.sh
|
|
Make sure that a KHRONOS_ACCOUNT_NAME and necessary BIL
files exist before doing any other work. That way user
knows right away if build environment is setup correctly or not.
|
|
|
|
The BIL specification rationalized/added these, with full semantics
OpTextureQuerySizeLod,
OpTextureQuerySize,
OpTextureQueryLod,
OpTextureQueryLevels, and
OpTextureQuerySamples.
|
|
|
|
|
|
|
|
|
|
|
|
As the BIL spec is rapidly changing, we will explicitly
check out the working version at the time the driver
was tested. Need to update the REVISION values in
the update_external_sources.sh to update to later versions
of BIL.
|