John Kessenich
|
40e391184c
|
glslang -> SPV: Use the new TBuiltInVariable instead of string compares to get the type of SPV built in. Also fixed gl_FragData and gl_PrimitiveIDIn.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31226 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-18 23:25:32 +00:00 |
|
John Kessenich
|
dff18a2be0
|
glslang: Formally track all built-in variables, right from the beginning, to enable avoiding all textual compares at any subsequent stage in the stack. (To be used in future check ins.)
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31224 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-18 16:45:49 +00:00 |
|
John Kessenich
|
ca3457f1a7
|
glslang: Fix a few more warnings, and see it using nullptr causes anyone problems (testing c++11 portability).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31218 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-18 01:59:45 +00:00 |
|
John Kessenich
|
b06127c513
|
glslang PP: make decimal number parser clearer and add boundary tests. Also, disable the warning for "do {} while (true);"
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31215 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-16 01:15:41 +00:00 |
|
John Kessenich
|
84ea15f444
|
glslang tests: Add Success/Failed message to summarize results.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31214 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-15 21:54:24 +00:00 |
|
John Kessenich
|
abde37f6ec
|
glslang SPV tests: Add two more source tests for the last check in.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31213 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-15 21:36:01 +00:00 |
|
John Kessenich
|
39374dadb5
|
glslang SPV tests: Add a set of SPV tests.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31212 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-15 21:32:46 +00:00 |
|
John Kessenich
|
e7cbfa5cab
|
glslang tests: Get same form of IEEE INF across platforms. Submitted by Lei Zhang (antiagainst@google.com) and David Neto (dneto@google.com).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31210 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-15 20:26:13 +00:00 |
|
John Kessenich
|
b38c969e34
|
glslang tests: Track accumulative success/fail result. Contributed by Lei Zhang (antiagainst@google.com).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31207 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-15 19:01:17 +00:00 |
|
John Kessenich
|
98e9964d79
|
glslang -> SPV testing: Add two missing test results.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31206 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-15 18:50:14 +00:00 |
|
John Kessenich
|
593a3f7f6b
|
glslang -> SPV: improved support for do-while/continue. Contributed by David Neto (dneto@google.com).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31205 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-15 18:44:16 +00:00 |
|
John Kessenich
|
93dfbe1309
|
glslang: Fix over 100 warnings from MSVC warning level 4.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31202 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-15 17:30:55 +00:00 |
|
John Kessenich
|
2aa7f3a671
|
SPV compression: Remove file/path manipulation stuff, setting up for that to be a separate tool. Added copyright messages as well.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31201 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-15 16:02:07 +00:00 |
|
John Kessenich
|
ccc7acc969
|
SPIR-V compression: restore a line of code deleted by the previous submission.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31181 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-13 20:53:52 +00:00 |
|
John Kessenich
|
4217d2ea22
|
SPIR-V compression: Add stripping and remapping tools for compressibility of generated SPIR-V.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31180 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-13 20:38:44 +00:00 |
|
John Kessenich
|
3a44d7fee8
|
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
|
2015-05-11 18:50:01 +00:00 |
|
John Kessenich
|
5d3e1233a0
|
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
|
2015-05-11 16:20:43 +00:00 |
|
John Kessenich
|
af9ab5f743
|
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
|
2015-05-11 16:16:49 +00:00 |
|
John Kessenich
|
f75276ba5c
|
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
|
2015-05-08 02:28:33 +00:00 |
|
John Kessenich
|
6add20a835
|
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
|
2015-05-08 01:44:42 +00:00 |
|
John Kessenich
|
b330d467fc
|
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
|
2015-05-08 01:21:26 +00:00 |
|
John Kessenich
|
0f4ef5b088
|
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
|
2015-05-08 01:12:45 +00:00 |
|
John Kessenich
|
57193ecdc3
|
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
|
2015-05-08 01:03:55 +00:00 |
|
John Kessenich
|
bb8c3de8b3
|
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
|
2015-05-08 00:54:34 +00:00 |
|
John Kessenich
|
1cfc71b73e
|
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
|
2015-05-08 00:45:31 +00:00 |
|
John Kessenich
|
a0096021d9
|
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
|
2015-05-07 16:23:04 +00:00 |
|
John Kessenich
|
11f5fc04b8
|
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
|
2015-05-07 01:04:29 +00:00 |
|
John Kessenich
|
b7cc33116a
|
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
|
2015-05-06 22:16:30 +00:00 |
|
John Kessenich
|
95eaea5989
|
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
|
2015-05-06 16:19:02 +00:00 |
|
John Kessenich
|
63d7d420dd
|
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
|
2015-05-06 16:18:08 +00:00 |
|
John Kessenich
|
735a2efa70
|
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
|
2015-05-03 22:38:16 +00:00 |
|
John Kessenich
|
968c8f8e78
|
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
|
2015-04-30 03:22:41 +00:00 |
|
John Kessenich
|
09388459a8
|
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
|
2015-04-29 11:00:28 +00:00 |
|
John Kessenich
|
8b37b04ecc
|
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
|
2015-04-29 10:16:56 +00:00 |
|
John Kessenich
|
bcef333a78
|
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
|
2015-04-27 10:03:25 +00:00 |
|
John Kessenich
|
6dc09cd0f3
|
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
|
2015-04-17 22:03:30 +00:00 |
|
John Kessenich
|
edd181944e
|
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
|
2015-04-17 21:47:07 +00:00 |
|
John Kessenich
|
87a5e2a84b
|
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
|
2015-04-09 21:04:44 +00:00 |
|
John Kessenich
|
837c6380f3
|
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
|
2015-04-08 15:51:14 +00:00 |
|
John Kessenich
|
24c9cc57ad
|
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
|
2015-04-03 00:19:37 +00:00 |
|
John Kessenich
|
d74951e2de
|
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
|
2015-04-03 00:19:19 +00:00 |
|
John Kessenich
|
5302c7d836
|
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
|
2015-04-03 00:10:51 +00:00 |
|
John Kessenich
|
d8132e164d
|
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
|
2015-04-02 16:32:51 +00:00 |
|
John Kessenich
|
9a3399450a
|
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
|
2015-04-01 20:35:23 +00:00 |
|
John Kessenich
|
0016eaf1b9
|
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
|
2015-03-31 01:46:57 +00:00 |
|
John Kessenich
|
b40d6ac9e7
|
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
|
2015-03-30 17:41:16 +00:00 |
|
John Kessenich
|
1f77cacd69
|
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
|
2015-03-24 00:32:50 +00:00 |
|
John Kessenich
|
34a7e67769
|
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
|
2015-03-04 16:35:14 +00:00 |
|
John Kessenich
|
1aa7b89510
|
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
|
2015-03-04 16:33:39 +00:00 |
|
John Kessenich
|
43bc2d857d
|
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
|
2015-03-04 03:55:31 +00:00 |
|