glslang/Test
John Kessenich 9839e2440e Unify the 8 grammar productions for declaring variables. This greatly simplifies making changes for this set of productions.
This change also naturally picks up redeclarations of built-in arrays and the addition of the remaining linker objects of const, arrays, etc.


git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23246 e7fa87d3-cd2b-0410-9028-fcbf551c1848
2013-09-26 00:45:21 +00:00
..
baseResults Unify the 8 grammar productions for declaring variables. This greatly simplifies making changes for this set of productions. 2013-09-26 00:45:21 +00:00
120.frag Full thread safety working: 2013-09-08 21:04:46 +00:00
120.vert Semantic checks for .length(), switch/case/default, and multidimensional arrays. 2013-06-26 05:54:40 +00:00
130.frag Add semantic checks for order of qualification and repetition within a class of qualifiers. 2013-06-24 21:22:03 +00:00
140.frag Add the GL_ES macro for ES personalities, along with a general mechanism for adding preambles in front of shaders without effecting line numbers, etc. 2013-04-11 16:31:09 +00:00
150.geom Put in infrastructure for tessellation, geometry, and compute stages, and partially flesh out with built-in functions. 2013-08-09 17:14:49 +00:00
300.frag Semantic checks for .length(), switch/case/default, and multidimensional arrays. 2013-06-26 05:54:40 +00:00
300.vert Add semantic checks for order of qualification and repetition within a class of qualifiers. 2013-06-24 21:22:03 +00:00
300block.frag Create linkage symbol nodes in the AST so a linker has access to all global objects that were declared, for error checking, etc. Use it now for all ins/outs/uniforms as well as gl_VertexID and gl_InstanceID. 2013-06-24 17:26:56 +00:00
300BuiltIns.frag Semantic checks: ES doesn't have unsized arrays or noise*(). 2013-06-13 20:16:43 +00:00
300layout.frag Track separate precision defaults for each kind of sampler, give initial defaults as per spec. Also make fragment floats have no default. Modify/add tests to adapt to these changes. 2013-06-19 05:41:25 +00:00
300layout.vert Add grammar productions for the syntax "layout(...) uniform;" for setting global defaults. 2013-06-20 22:54:40 +00:00
300operations.frag Track separate precision defaults for each kind of sampler, give initial defaults as per spec. Also make fragment floats have no default. Modify/add tests to adapt to these changes. 2013-06-19 05:41:25 +00:00
300scope.vert Get all the scoping rules right for ES and non ES, name hiding, built-in overriding, etc. 2013-06-12 06:13:17 +00:00
330.frag For all keywords already present, get correct when they could be identifiers, are reserved words, or are keywords, for all versions of ESSL and GLSL. 2013-04-25 16:44:03 +00:00
330comp.frag Allow gl_FragColor and gl_FragData in non-forward-compatible contexts for non-ES versions 150 - 410. Also add deprecation message for attribute/varying for core profile. 2013-02-27 19:02:52 +00:00
400.frag Disallow variable indexing into sampler array for ES and desktop before version 400. 2013-06-24 21:52:41 +00:00
400.geom Put in infrastructure for tessellation, geometry, and compute stages, and partially flesh out with built-in functions. 2013-08-09 17:14:49 +00:00
400.tesc Put in infrastructure for tessellation, geometry, and compute stages, and partially flesh out with built-in functions. 2013-08-09 17:14:49 +00:00
400.tese Put in infrastructure for tessellation, geometry, and compute stages, and partially flesh out with built-in functions. 2013-08-09 17:14:49 +00:00
420.tese Put in infrastructure for tessellation, geometry, and compute stages, and partially flesh out with built-in functions. 2013-08-09 17:14:49 +00:00
420.vert Give new scopes to non-compound (simple) if-then-else substatements, correcting scoping for declarations they contain. 2013-08-27 03:59:04 +00:00
430.comp Put in infrastructure for tessellation, geometry, and compute stages, and partially flesh out with built-in functions. 2013-08-09 17:14:49 +00:00
430scope.vert Get all the scoping rules right for ES and non ES, name hiding, built-in overriding, etc. 2013-06-12 06:13:17 +00:00
array100.frag Semantic checks: ES doesn't have unsized arrays or noise*(). 2013-06-13 20:16:43 +00:00
array.frag Add semantic check for precision qualifier on wrong kind of type. Added a few more tests. 2013-06-25 21:53:59 +00:00
comment.frag Support line-continuation (backslash before newline) for tokens and one-line comments in the preprocessor. 2013-06-25 21:09:47 +00:00
constErrors.frag Remove TIntermediate's dependency on infoSink, simplify folding of constant aggregates, and infoSink use in constant folding. 2013-09-03 22:14:59 +00:00
constFold.frag Remove TIntermediate's dependency on infoSink, simplify folding of constant aggregates, and infoSink use in constant folding. 2013-09-03 22:14:59 +00:00
cppComplexExpr.vert Add some CPP tests. 2013-02-06 00:14:16 +00:00
cppIndent.vert Make the default version be 100. 2013-02-08 18:56:56 +00:00
cppNest.vert Make the default version be 100. 2013-02-08 18:56:56 +00:00
cppSimple.vert Eliminate flex as the GLSL lexical analyzer, going from two nested lexical analyzers down to one, leaving just the preprocessor's lexical analysis. A new layer replaces it, to translate from the preprocessor's view of tokenization to glslang's view of tokenization. 2013-07-06 19:54:21 +00:00
dce.frag Test for and prevent any dead-code elimination, as all code is needed in the AST for static-use analysis. 2013-09-20 06:20:21 +00:00
decls.frag Unify the 8 grammar productions for declaring variables. This greatly simplifies making changes for this set of productions. 2013-09-26 00:45:21 +00:00
errors.frag Minor updates to tests. 2013-03-04 23:50:08 +00:00
forwardRef.frag Track separate precision defaults for each kind of sampler, give initial defaults as per spec. Also make fragment floats have no default. Modify/add tests to adapt to these changes. 2013-06-19 05:41:25 +00:00
lineContinuation.vert Eliminate flex as the GLSL lexical analyzer, going from two nested lexical analyzers down to one, leaving just the preprocessor's lexical analysis. A new layer replaces it, to translate from the preprocessor's view of tokenization to glslang's view of tokenization. 2013-07-06 19:54:21 +00:00
link1.frag Add basic intra-stage linking validation for matching types and qualification of uniforms/ins/outs/globals, function body duplication, and mixing ES/non-ES shaders. 2013-09-24 21:18:46 +00:00
link2.frag Add basic intra-stage linking validation for matching types and qualification of uniforms/ins/outs/globals, function body duplication, and mixing ES/non-ES shaders. 2013-09-24 21:18:46 +00:00
link3.frag Add basic intra-stage linking validation for matching types and qualification of uniforms/ins/outs/globals, function body duplication, and mixing ES/non-ES shaders. 2013-09-24 21:18:46 +00:00
mains1.frag Add link validation infrastructure for multiple compilation units per stage. Includes a new, straightforward, C++ interface to the front end. 2013-09-04 21:19:27 +00:00
mains2.frag Add link validation infrastructure for multiple compilation units per stage. Includes a new, straightforward, C++ interface to the front end. 2013-09-04 21:19:27 +00:00
mains.frag Add link validation infrastructure for multiple compilation units per stage. Includes a new, straightforward, C++ interface to the front end. 2013-09-04 21:19:27 +00:00
matrixError.vert Move the complex pieces of C++ code from glslang.y to ParseHelper.cpp. Updated some tests. 2013-08-27 05:57:15 +00:00
noMain1.geom Add link validation infrastructure for multiple compilation units per stage. Includes a new, straightforward, C++ interface to the front end. 2013-09-04 21:19:27 +00:00
noMain2.geom Add link validation infrastructure for multiple compilation units per stage. Includes a new, straightforward, C++ interface to the front end. 2013-09-04 21:19:27 +00:00
noMain.vert Add link validation infrastructure for multiple compilation units per stage. Includes a new, straightforward, C++ interface to the front end. 2013-09-04 21:19:27 +00:00
nonSquare.vert Implement non-square matrices, and make a few type improvements. Cleaned up a few old issues. Added two tests. 2013-02-04 23:54:58 +00:00
numeral.frag Allow unsigned int in the "location = " grammar, and generally improve recognition of numeric literals to be up to spec. 2013-08-04 23:51:37 +00:00
pointCoord.frag Built-in symbol tables now lazily evaluated, and driven by per version, per profile input. Got all ES 100 and ES 300 built-in symbols correct. 2013-02-17 06:01:50 +00:00
precision.frag Add semantic check for precision qualifier on wrong kind of type. Added a few more tests. 2013-06-25 21:53:59 +00:00
precision.vert Rationalize naming/access to current thread-local-storage scheme. However, the preprocessor tokenizer is not thread-safe, so this may all change. 2013-07-02 20:18:59 +00:00
runtests Add basic intra-stage linking validation for matching types and qualification of uniforms/ins/outs/globals, function body duplication, and mixing ES/non-ES shaders. 2013-09-24 21:18:46 +00:00
sample.frag Make the default version be 100. 2013-02-08 18:56:56 +00:00
sample.frag.out Add a new shader-versioning infrastructure capable of handling multiple profiles, desktop/ES, many versions, features coming and going in different versions across different profiles, and extensions. 2012-12-13 00:05:26 +00:00
sample.vert Make the default version be 100. 2013-02-08 18:56:56 +00:00
sample.vert.out Add a new shader-versioning infrastructure capable of handling multiple profiles, desktop/ES, many versions, features coming and going in different versions across different profiles, and extensions. 2012-12-13 00:05:26 +00:00
specExamples.frag For all keywords already present, get correct when they could be identifiers, are reserved words, or are keywords, for all versions of ESSL and GLSL. 2013-04-25 16:44:03 +00:00
specExamples.vert Add grammar productions for adding 'invariant' to already declared variables. 2013-06-19 20:44:17 +00:00
switch.frag 1) Don't propagate precision of built-in function arguments to return type when return type is bool (e.g., isnan). 2013-07-01 17:56:24 +00:00
testlist Unify the 8 grammar productions for declaring variables. This greatly simplifies making changes for this set of productions. 2013-09-26 00:45:21 +00:00
tokenLength.vert Eliminate flex as the GLSL lexical analyzer, going from two nested lexical analyzers down to one, leaving just the preprocessor's lexical analysis. A new layer replaces it, to translate from the preprocessor's view of tokenization to glslang's view of tokenization. 2013-07-06 19:54:21 +00:00
uint.frag Track separate precision defaults for each kind of sampler, give initial defaults as per spec. Also make fragment floats have no default. Modify/add tests to adapt to these changes. 2013-06-19 05:41:25 +00:00
versionsClean.frag Track separate precision defaults for each kind of sampler, give initial defaults as per spec. Also make fragment floats have no default. Modify/add tests to adapt to these changes. 2013-06-19 05:41:25 +00:00
versionsClean.vert Add a new shader-versioning infrastructure capable of handling multiple profiles, desktop/ES, many versions, features coming and going in different versions across different profiles, and extensions. 2012-12-13 00:05:26 +00:00
versionsErrors.frag Add a new shader-versioning infrastructure capable of handling multiple profiles, desktop/ES, many versions, features coming and going in different versions across different profiles, and extensions. 2012-12-13 00:05:26 +00:00
versionsErrors.vert Add a new shader-versioning infrastructure capable of handling multiple profiles, desktop/ES, many versions, features coming and going in different versions across different profiles, and extensions. 2012-12-13 00:05:26 +00:00