platform/upstream/glslang.git
9 years agoglslang spvIR.h: Portability improvement.
John Kessenich [Mon, 11 May 2015 18:50:01 +0000 (18:50 +0000)]
glslang spvIR.h: Portability improvement.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31139 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang: Fix rename in previous check in.
John Kessenich [Mon, 11 May 2015 16:20:43 +0000 (16:20 +0000)]
glslang: Fix rename in previous check in.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31138 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang parser: Arrays-of-arrays name-mangling and error messages (lots of A-of-A...
John Kessenich [Mon, 11 May 2015 16:16:49 +0000 (16:16 +0000)]
glslang parser: Arrays-of-arrays name-mangling and error messages (lots of A-of-A stuff to come a bit later).  This patch from Google, David Neto <dneto@google.com>.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31137 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang tear down: Include deleting the keyword map in tear down. From johnk and...
John Kessenich [Fri, 8 May 2015 02:28:33 +0000 (02:28 +0000)]
glslang tear down: Include deleting the keyword map in tear down.  From johnk and sawato shusaku (shusaku.sawato@dmprof.com).

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31115 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang linker: Make some methods static that can be static. Contributor: Lei Zhang...
John Kessenich [Fri, 8 May 2015 01:44:42 +0000 (01:44 +0000)]
glslang linker: Make some methods static that can be static.  Contributor: Lei Zhang (antiagainst@google.com).

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31113 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang tests: Correct linux ^M problem in testlist
John Kessenich [Fri, 8 May 2015 01:21:26 +0000 (01:21 +0000)]
glslang tests: Correct linux ^M problem in testlist

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31112 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang build: Always run a custom command for Bison. The Cmake BISON_TARGET rule...
John Kessenich [Fri, 8 May 2015 01:12:45 +0000 (01:12 +0000)]
glslang build: Always run a custom command for Bison. The Cmake BISON_TARGET rule doesn't understand this use of --defines, and so the targets are always rebuilt even if no source files change.  Contributor: Stefanus Du Toit (stefanus@google.com).

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31111 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang: In ShFinalize: 1) Delete CommonSymbolTable entries. 2) After deleting objec...
John Kessenich [Fri, 8 May 2015 01:03:55 +0000 (01:03 +0000)]
glslang: In ShFinalize: 1) Delete CommonSymbolTable entries.  2) After deleting objects, set the pointers to NULL. This allows us to cleanly restart glslang a second time in the same process, because it forces a new allocation. Contributor: Andrew Woloszyn (awoloszyn@google.com).

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31110 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang parser: Fix crash for ES shader with a uniform block with an unsized array...
John Kessenich [Fri, 8 May 2015 00:54:34 +0000 (00:54 +0000)]
glslang parser: Fix crash for ES shader with a uniform block with an unsized array that is later accessed. David Neto (dneto@google.com).

Instead of crashing, exit early from the implicit-sized-array-size-update routine so we can get to a real error message which is emitted later.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31109 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang->SPV: Fix addStringOperand so it saves the string argument early, before...
John Kessenich [Fri, 8 May 2015 00:45:31 +0000 (00:45 +0000)]
glslang->SPV: Fix addStringOperand so it saves the string argument early, before the str parameter variable is modified. Otherwise you save a garbage string (buffer overrun?) because "str" has run past the terminating NUL.  Contributor: Â Lei Zhang antiagainst@google.com

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31108 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang parser: Fix precedence bug, submitted (as was the previous one) by Andrew...
John Kessenich [Thu, 7 May 2015 16:23:04 +0000 (16:23 +0000)]
glslang parser: Fix precedence bug, submitted (as was the previous one) by Andrew Woloszyn (awoloszyn@google.com).

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31103 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang preprocassor: Fix operator precedence bug.
John Kessenich [Thu, 7 May 2015 01:04:29 +0000 (01:04 +0000)]
glslang preprocassor: Fix operator precedence bug.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31087 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang portability: add a #include <cassert>.
John Kessenich [Wed, 6 May 2015 22:16:30 +0000 (22:16 +0000)]
glslang portability: add a #include <cassert>.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31082 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoupdate linux binary
John Kessenich [Wed, 6 May 2015 16:19:02 +0000 (16:19 +0000)]
update linux binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31076 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoupdate Window's binary
John Kessenich [Wed, 6 May 2015 16:18:08 +0000 (16:18 +0000)]
update Window's binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31075 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang -> SPV: 1) Include post switch-break unreachable blocks and 2) Generally...
John Kessenich [Sun, 3 May 2015 22:38:16 +0000 (22:38 +0000)]
glslang -> SPV: 1) Include post switch-break unreachable blocks and 2) Generally, don't emit degenerate (basically empty) unreachable blocks.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31023 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang: Bug 13724: ES global initializers must be constant.
John Kessenich [Thu, 30 Apr 2015 03:22:41 +0000 (03:22 +0000)]
glslang: Bug 13724: ES global initializers must be constant.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30990 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang: Correct global precision qualifiers to make the qualifier global instead...
John Kessenich [Wed, 29 Apr 2015 11:00:28 +0000 (11:00 +0000)]
glslang: Correct global precision qualifiers to make the qualifier global instead of temp (local).

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30975 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang AST output: include global vs. temp (local) in the printed output. This...
John Kessenich [Wed, 29 Apr 2015 10:16:56 +0000 (10:16 +0000)]
glslang AST output: include global vs. temp (local) in the printed output.  This only effects test results, but a future check-in is going to fix some globals.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30973 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoSPV: Emit layout(index=) as Index decoration.
John Kessenich [Mon, 27 Apr 2015 10:03:25 +0000 (10:03 +0000)]
SPV: Emit layout(index=) as Index decoration.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30939 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang: support negation of doubles.
John Kessenich [Fri, 17 Apr 2015 22:03:30 +0000 (22:03 +0000)]
glslang: support negation of doubles.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30795 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang and SPIR-V: Some basic turn on for doubles (previously untested but existed...
John Kessenich [Fri, 17 Apr 2015 21:47:07 +0000 (21:47 +0000)]
glslang and SPIR-V: Some basic turn on for doubles (previously untested but existed code).  Partly from a submission, partly addressing bug 13772.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30794 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang: Allow GL_ARB_explicit_attrib_location to add "layout" keyword pre version...
John Kessenich [Thu, 9 Apr 2015 21:04:44 +0000 (21:04 +0000)]
glslang: Allow GL_ARB_explicit_attrib_location to add "layout" keyword pre version 140.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30647 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang: include 0 as not being a power of 2
John Kessenich [Wed, 8 Apr 2015 15:51:14 +0000 (15:51 +0000)]
glslang: include 0 as not being a power of 2

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30613 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoupdate Window's binary
John Kessenich [Fri, 3 Apr 2015 00:19:37 +0000 (00:19 +0000)]
update Window's binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30512 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoupdate linux binary
John Kessenich [Fri, 3 Apr 2015 00:19:19 +0000 (00:19 +0000)]
update linux binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30511 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang -> SPIR-V: Correct renaming mistake made in moving to the auto-generated...
John Kessenich [Fri, 3 Apr 2015 00:10:51 +0000 (00:10 +0000)]
glslang -> SPIR-V: Correct renaming mistake made in moving to the auto-generated headers.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30510 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang GLSL -> SPIR-V: Final delta to bump to revision 30 of the specification.
John Kessenich [Thu, 2 Apr 2015 16:32:51 +0000 (16:32 +0000)]
glslang GLSL -> SPIR-V: Final delta to bump to revision 30 of the specification.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30488 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang -> SPIR-V: some built-in decoration code was turned off; turn it on.
John Kessenich [Wed, 1 Apr 2015 20:35:23 +0000 (20:35 +0000)]
glslang -> SPIR-V: some built-in decoration code was turned off; turn it on.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30466 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoGLSL AST -> SPIR-V: Update to explicit enum values for the GLSL extended instruction...
John Kessenich [Tue, 31 Mar 2015 01:46:57 +0000 (01:46 +0000)]
GLSL AST -> SPIR-V: Update to explicit enum values for the GLSL extended instruction set.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30443 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang AST -> SPIR-V: Move to new auto-generated official headers, and for the disas...
John Kessenich [Mon, 30 Mar 2015 17:41:16 +0000 (17:41 +0000)]
glslang AST -> SPIR-V: Move to new auto-generated official headers, and for the disassembler, mirror the split done between the auto-generation header database and the specification.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30434 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang -> SPIR-V: Correct code generated for EmitStreamVertex and EndStreamPrimitive.
John Kessenich [Tue, 24 Mar 2015 00:32:50 +0000 (00:32 +0000)]
glslang -> SPIR-V: Correct code generated for EmitStreamVertex and EndStreamPrimitive.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30270 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoupdate Window's binary
John Kessenich [Wed, 4 Mar 2015 16:35:14 +0000 (16:35 +0000)]
update Window's binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30042 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoupdate linux binary
John Kessenich [Wed, 4 Mar 2015 16:33:39 +0000 (16:33 +0000)]
update linux binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30041 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang: Add SPIR-V human readable form. (Use -H.): Fix Linux build problems.
John Kessenich [Wed, 4 Mar 2015 03:55:31 +0000 (03:55 +0000)]
glslang: Add SPIR-V human readable form.  (Use -H.): Fix Linux build problems.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30039 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslang: Add SPIR-V human readable form. (Use -H.)
John Kessenich [Wed, 4 Mar 2015 03:48:38 +0000 (03:48 +0000)]
glslang: Add SPIR-V human readable form.  (Use -H.)

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30038 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoupdate Window's binary
John Kessenich [Tue, 3 Mar 2015 17:50:34 +0000 (17:50 +0000)]
update Window's binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30035 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoupdate linux binary
John Kessenich [Tue, 3 Mar 2015 17:50:04 +0000 (17:50 +0000)]
update linux binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30034 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslangValidator: Add straightforward SPIR-V support (non-optimizing, ~3.x functional...
John Kessenich [Tue, 3 Mar 2015 17:15:07 +0000 (17:15 +0000)]
glslangValidator: Add straightforward SPIR-V support (non-optimizing, ~3.x functionality): fix linux case issue.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30033 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoglslangValidator: Add straightforward SPIR-V support (non-optimizing, ~3.x functional...
John Kessenich [Tue, 3 Mar 2015 17:09:43 +0000 (17:09 +0000)]
glslangValidator: Add straightforward SPIR-V support (non-optimizing, ~3.x functionality).

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30032 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoupdate Window's binary
John Kessenich [Wed, 7 Jan 2015 18:48:49 +0000 (18:48 +0000)]
update Window's binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29355 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoupdate linux binary
John Kessenich [Wed, 7 Jan 2015 18:48:34 +0000 (18:48 +0000)]
update linux binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29354 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoImplement ES-3.0-specific error semantics for redefining predefined macros.
John Kessenich [Wed, 7 Jan 2015 18:47:57 +0000 (18:47 +0000)]
Implement ES-3.0-specific error semantics for redefining predefined macros.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29353 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoInclude ?: in the tests for flow control.
John Kessenich [Wed, 7 Jan 2015 06:36:55 +0000 (06:36 +0000)]
Include ?: in the tests for flow control.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29348 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoImplement barrier() control-flow rules: in flow control, non-main, and post-return.
John Kessenich [Wed, 7 Jan 2015 06:14:06 +0000 (06:14 +0000)]
Implement barrier() control-flow rules: in flow control, non-main, and post-return.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29347 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoupdate Window's binary
John Kessenich [Sun, 21 Dec 2014 20:31:28 +0000 (20:31 +0000)]
update Window's binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29283 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoupdate linux binary
John Kessenich [Sun, 21 Dec 2014 20:31:09 +0000 (20:31 +0000)]
update linux binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29282 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoFix default precision check for formal parameters; it was one level too deep. This...
John Kessenich [Sun, 21 Dec 2014 20:30:04 +0000 (20:30 +0000)]
Fix default precision check for formal parameters; it was one level too deep.  This will accept more fragment shaders with no default precision before declaring functions.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29281 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoStill generate switch statement when WARNING about missing statements is given. ...
John Kessenich [Sun, 21 Dec 2014 16:48:29 +0000 (16:48 +0000)]
Still generate switch statement when WARNING about missing statements is given.  It was correct behave when this used to be an error, but not now that it is a warning.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29279 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoFix public bug 1277: #line L sets the next line to L+1 or just L, based on the versio...
John Kessenich [Sat, 20 Dec 2014 07:03:18 +0000 (07:03 +0000)]
Fix public bug 1277: #line L sets the next line to L+1 or just L, based on the version of the language.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29277 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoupdate Window's binary
John Kessenich [Thu, 11 Dec 2014 00:19:46 +0000 (00:19 +0000)]
update Window's binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29197 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoupdate linux binary
John Kessenich [Thu, 11 Dec 2014 00:19:22 +0000 (00:19 +0000)]
update linux binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29196 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoImplement specification change in 'restrict', allowing it to come and go across funct...
John Kessenich [Thu, 11 Dec 2014 00:17:42 +0000 (00:17 +0000)]
Implement specification change in 'restrict', allowing it to come and go across function calls.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29195 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoCorrect test result for previous check in.
John Kessenich [Mon, 17 Nov 2014 16:46:15 +0000 (16:46 +0000)]
Correct test result for previous check in.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28969 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoAdd memory qualifiers (coherent volatile restrict) to imageSize(), imageLoad(), image...
John Kessenich [Mon, 17 Nov 2014 16:45:10 +0000 (16:45 +0000)]
Add memory qualifiers (coherent volatile restrict) to imageSize(), imageLoad(), imageStore(), atomic*(), and imageAtomic*(), to remove errors about dropping qualifiers.

Several bugs are related to this, and this is a slightly speculative fix, bit it is certainly wrong to either do it the way it was or to reflect the current specifications.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28968 e7fa87d3-cd2b-0410-9028-fcbf551c1848

9 years agoNon-functional: Change %pure_parser to %pure-parser, to improve portability.
John Kessenich [Wed, 5 Nov 2014 16:36:44 +0000 (16:36 +0000)]
Non-functional:  Change %pure_parser to %pure-parser, to improve portability.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28857 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoES check for vertex out or fragment in containing any of
John Kessenich [Tue, 28 Oct 2014 05:24:14 +0000 (05:24 +0000)]
ES check for vertex out or fragment in containing any of
• An array of arrays
• An array of structures
• A structure containing an array
• A structure containing a structure

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28745 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoImplement GL_ARB_viewport_array extension.
John Kessenich [Fri, 17 Oct 2014 20:01:27 +0000 (20:01 +0000)]
Implement GL_ARB_viewport_array extension.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28653 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoupdate Window's binary
John Kessenich [Wed, 8 Oct 2014 21:58:20 +0000 (21:58 +0000)]
update Window's binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28508 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoupdate linux binary
John Kessenich [Wed, 8 Oct 2014 21:58:04 +0000 (21:58 +0000)]
update linux binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28507 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoMissing test results from last check in.
John Kessenich [Wed, 8 Oct 2014 21:57:17 +0000 (21:57 +0000)]
Missing test results from last check in.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28506 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoAdd patch in/out block tests.
John Kessenich [Wed, 8 Oct 2014 21:48:34 +0000 (21:48 +0000)]
Add patch in/out block tests.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28505 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoDo qualifier-based checking independent of declaring a variable. Bug 11903.
John Kessenich [Wed, 8 Oct 2014 21:29:29 +0000 (21:29 +0000)]
Do qualifier-based checking independent of declaring a variable.  Bug 11903.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28502 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoInclude GL_FRAGMENT_PRECISION_HIGH in ES 300/310.
John Kessenich [Wed, 8 Oct 2014 16:31:44 +0000 (16:31 +0000)]
Include GL_FRAGMENT_PRECISION_HIGH in ES 300/310.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28494 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoupdate Window's binary
John Kessenich [Mon, 6 Oct 2014 20:05:22 +0000 (20:05 +0000)]
update Window's binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28446 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoupdate linux binary
John Kessenich [Mon, 6 Oct 2014 20:04:41 +0000 (20:04 +0000)]
update linux binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28445 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoIncrease portability. (Submission from Nikita Kindt, as were some recent related...
John Kessenich [Mon, 6 Oct 2014 19:57:34 +0000 (19:57 +0000)]
Increase portability. (Submission from Nikita Kindt, as were some recent related submissions.)

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28444 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoAdd missing precision qualifier checks to function formal parameter declarations.
John Kessenich [Mon, 6 Oct 2014 19:39:13 +0000 (19:39 +0000)]
Add missing precision qualifier checks to function formal parameter declarations.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28442 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoRemove lod argument from texture2DRect built-ins. (Submission from matt.helsley)
John Kessenich [Mon, 6 Oct 2014 16:38:53 +0000 (16:38 +0000)]
Remove lod argument from texture2DRect built-ins.  (Submission from matt.helsley)

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28440 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoAdd missing gl_MaxGeometryTextureImageUnits.
John Kessenich [Mon, 6 Oct 2014 15:44:02 +0000 (15:44 +0000)]
Add missing gl_MaxGeometryTextureImageUnits.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28439 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoRemove dead call.
John Kessenich [Wed, 1 Oct 2014 01:08:21 +0000 (01:08 +0000)]
Remove dead call.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28368 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoRemove unneeded skeletal work.
John Kessenich [Sun, 28 Sep 2014 18:43:52 +0000 (18:43 +0000)]
Remove unneeded skeletal work.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28345 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoNonfunctional: fix a typo.
John Kessenich [Thu, 18 Sep 2014 13:12:00 +0000 (13:12 +0000)]
Nonfunctional: fix a typo.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28194 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoHave memory counters normally turned off, to avoid cross-windows-platform linking...
John Kessenich [Fri, 12 Sep 2014 17:25:16 +0000 (17:25 +0000)]
Have memory counters normally turned off, to avoid cross-windows-platform linking problems.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28078 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoAdd option for printing documentation (empty).
John Kessenich [Mon, 8 Sep 2014 21:01:09 +0000 (21:01 +0000)]
Add option for printing documentation (empty).

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27966 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoAdd skeleton for generating documentation of a side project.
John Kessenich [Fri, 5 Sep 2014 17:36:54 +0000 (17:36 +0000)]
Add skeleton for generating documentation of a side project.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27950 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoMinor change in command-line options.
John Kessenich [Mon, 25 Aug 2014 20:07:55 +0000 (20:07 +0000)]
Minor change in command-line options.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27840 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoFix linux build error from last check in.
John Kessenich [Sun, 24 Aug 2014 18:23:24 +0000 (18:23 +0000)]
Fix linux build error from last check in.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27836 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoNon-functional misc. changes. Slight increase in performance from moving two perform...
John Kessenich [Sun, 24 Aug 2014 18:21:00 +0000 (18:21 +0000)]
Non-functional misc. changes.  Slight increase in performance from moving two performance path methods into a header.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27835 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoupdate Window's binary
John Kessenich [Tue, 19 Aug 2014 20:34:55 +0000 (20:34 +0000)]
update Window's binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27767 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoupdate linux binary
John Kessenich [Tue, 19 Aug 2014 20:34:40 +0000 (20:34 +0000)]
update linux binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27766 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoImplement write-only semantic checking, the non-r32f/i/u readonly/writeonly check...
John Kessenich [Tue, 19 Aug 2014 20:32:48 +0000 (20:32 +0000)]
Implement write-only semantic checking, the non-r32f/i/u readonly/writeonly check, and ES 3.1 support of volatile.  Also, fix a typo in MaxComputeGroupY.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27765 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoupdate Window's binary
John Kessenich [Tue, 19 Aug 2014 06:10:12 +0000 (06:10 +0000)]
update Window's binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27762 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoupdate linux binary
John Kessenich [Tue, 19 Aug 2014 06:09:51 +0000 (06:09 +0000)]
update linux binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27761 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoImplement atomic counter offset semantics.
John Kessenich [Tue, 19 Aug 2014 06:08:38 +0000 (06:08 +0000)]
Implement atomic counter offset semantics.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27760 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoImplement 'index' layout qualifier for fragment outputs. Based partly on a submission.
John Kessenich [Tue, 19 Aug 2014 02:12:44 +0000 (02:12 +0000)]
Implement 'index' layout qualifier for fragment outputs.  Based partly on a submission.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27759 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoImplement conservative depth layout qualifiers. Based partly on a submission.
John Kessenich [Mon, 18 Aug 2014 21:27:53 +0000 (21:27 +0000)]
Implement conservative depth layout qualifiers.  Based partly on a submission.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27758 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoA patch submitted for MinGW building.
John Kessenich [Mon, 18 Aug 2014 19:42:35 +0000 (19:42 +0000)]
A patch submitted for MinGW building.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27757 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoupdate Window's binary
John Kessenich [Fri, 15 Aug 2014 01:59:17 +0000 (01:59 +0000)]
update Window's binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27744 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoupdate linux binary
John Kessenich [Fri, 15 Aug 2014 01:50:47 +0000 (01:50 +0000)]
update linux binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27743 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoTurn on the sampler 2DMS types for ES 3.1.
John Kessenich [Thu, 14 Aug 2014 23:30:11 +0000 (23:30 +0000)]
Turn on the sampler 2DMS types for ES 3.1.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27741 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoAdd fma(), tie the 2x16 stuff to the correct versions.
John Kessenich [Thu, 14 Aug 2014 20:05:57 +0000 (20:05 +0000)]
Add fma(), tie the 2x16 stuff to the correct versions.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27739 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoImplement frexp, ldexp, packUnorm2x16, unpackUnorm2x16, packUnorm4x8, packSnorm4x8...
John Kessenich [Thu, 14 Aug 2014 19:45:52 +0000 (19:45 +0000)]
Implement frexp, ldexp, packUnorm2x16, unpackUnorm2x16, packUnorm4x8, packSnorm4x8, unpackUnorm4x8, unpackSnorm4x8, and unpackDouble2x32().

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27738 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoUpdate Window's binary.
John Kessenich [Thu, 14 Aug 2014 07:18:07 +0000 (07:18 +0000)]
Update Window's binary.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27734 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoupdate linux binary
John Kessenich [Thu, 14 Aug 2014 07:16:53 +0000 (07:16 +0000)]
update linux binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27733 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoMiscellaneous ES 3.1 semantics, and identification of all missing features.
John Kessenich [Thu, 14 Aug 2014 07:07:21 +0000 (07:07 +0000)]
Miscellaneous ES 3.1 semantics, and identification of all missing features.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27732 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoUpdate Window's binary.
John Kessenich [Wed, 13 Aug 2014 20:20:38 +0000 (20:20 +0000)]
Update Window's binary.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27731 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoupdate linux binary
John Kessenich [Wed, 13 Aug 2014 20:19:15 +0000 (20:19 +0000)]
update linux binary

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27730 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoAdd -d option for desktop default for missing #version.
John Kessenich [Wed, 13 Aug 2014 20:17:19 +0000 (20:17 +0000)]
Add -d option for desktop default for missing #version.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27729 e7fa87d3-cd2b-0410-9028-fcbf551c1848

10 years agoAdd the bitField built-in functions. Mark 330 as being complete.
John Kessenich [Wed, 13 Aug 2014 20:04:19 +0000 (20:04 +0000)]
Add the bitField built-in functions.  Mark 330 as being complete.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27728 e7fa87d3-cd2b-0410-9028-fcbf551c1848