Document how to add a new feature enabled by an extension in Versions.cpp. Also reorganized slightly to localize related functions.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23376 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2013-10-03 20:23:57 +00:00
parent a5830dfc0e
commit 61c2d1410a
12 changed files with 336 additions and 197 deletions

View file

@ -7,10 +7,13 @@ There are two components:
2) A standalone wrapper, glslangValidator, that can be used as a shader
validation tool.
How to add a feature protected by a version/extension/stage/profile: See the
comment in glslang/MachineIndependent/Versions.cpp.
Things left to do: See Todo.txt
Execution
---------
Execution of Standalone Wrapper
-------------------------------
There are binaries in the Install/Windows and Install/Linux directories.
@ -26,7 +29,10 @@ The applied stage-specific rules are based on the file extension:
.frag for a fragment shader
.comp for a compute shader
Source: Build and run on linux
There is also a non-shader extension
.conf for a configuration file of limits, see usage statement for example
Source: Build and run on Linux
-------------------------------
A simple bash script "BuildLinux.sh" is provided at the root directory