84ea15f444
glslang tests: Add Success/Failed message to summarize results.
John Kessenich
2015-05-15 21:54:24 +00:00
abde37f6ec
glslang SPV tests: Add two more source tests for the last check in.
John Kessenich
2015-05-15 21:36:01 +00:00
39374dadb5
glslang SPV tests: Add a set of SPV tests.
John Kessenich
2015-05-15 21:32:46 +00:00
e7cbfa5cab
glslang tests: Get same form of IEEE INF across platforms. Submitted by Lei Zhang (antiagainst@google.com) and David Neto (dneto@google.com).
John Kessenich
2015-05-15 20:26:13 +00:00
b38c969e34
glslang tests: Track accumulative success/fail result. Contributed by Lei Zhang (antiagainst@google.com).
John Kessenich
2015-05-15 19:01:17 +00:00
98e9964d79
glslang -> SPV testing: Add two missing test results.
John Kessenich
2015-05-15 18:50:14 +00:00
593a3f7f6b
glslang -> SPV: improved support for do-while/continue. Contributed by David Neto (dneto@google.com).
John Kessenich
2015-05-15 18:44:16 +00:00
93dfbe1309
glslang: Fix over 100 warnings from MSVC warning level 4.
John Kessenich
2015-05-15 17:30:55 +00:00
2aa7f3a671
SPV compression: Remove file/path manipulation stuff, setting up for that to be a separate tool. Added copyright messages as well.
John Kessenich
2015-05-15 16:02:07 +00:00
ccc7acc969
SPIR-V compression: restore a line of code deleted by the previous submission.
John Kessenich
2015-05-13 20:53:52 +00:00
4217d2ea22
SPIR-V compression: Add stripping and remapping tools for compressibility of generated SPIR-V.
John Kessenich
2015-05-13 20:38:44 +00:00
3a44d7fee8
glslang spvIR.h: Portability improvement.
John Kessenich
2015-05-11 18:50:01 +00:00
5d3e1233a0
glslang: Fix rename in previous check in.
John Kessenich
2015-05-11 16:20:43 +00:00
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>.
John Kessenich
2015-05-11 16:16:49 +00:00
f75276ba5c
glslang tear down: Include deleting the keyword map in tear down. From johnk and sawato shusaku (shusaku.sawato@dmprof.com).
John Kessenich
2015-05-08 02:28:33 +00:00
6add20a835
glslang linker: Make some methods static that can be static. Contributor: Lei Zhang (antiagainst@google.com).
John Kessenich
2015-05-08 01:44:42 +00:00
b330d467fc
glslang tests: Correct linux ^M problem in testlist
John Kessenich
2015-05-08 01:21:26 +00:00
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).
John Kessenich
2015-05-08 01:12:45 +00:00
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).
John Kessenich
2015-05-08 01:03:55 +00:00
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).
John Kessenich
2015-05-08 00:54:34 +00:00
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
John Kessenich
2015-05-08 00:45:31 +00:00
a0096021d9
glslang parser: Fix precedence bug, submitted (as was the previous one) by Andrew Woloszyn (awoloszyn@google.com).
John Kessenich
2015-05-07 16:23:04 +00:00
b7cc33116a
glslang portability: add a #include <cassert>.
John Kessenich
2015-05-06 22:16:30 +00:00
95eaea5989
update linux binary
John Kessenich
2015-05-06 16:19:02 +00:00
63d7d420dd
update Window's binary
John Kessenich
2015-05-06 16:18:08 +00:00
735a2efa70
glslang -> SPV: 1) Include post switch-break unreachable blocks and 2) Generally, don't emit degenerate (basically empty) unreachable blocks.
John Kessenich
2015-05-03 22:38:16 +00:00
968c8f8e78
glslang: Bug 13724: ES global initializers must be constant.
John Kessenich
2015-04-30 03:22:41 +00:00
09388459a8
glslang: Correct global precision qualifiers to make the qualifier global instead of temp (local).
John Kessenich
2015-04-29 11:00:28 +00:00
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.
John Kessenich
2015-04-29 10:16:56 +00:00
bcef333a78
SPV: Emit layout(index=) as Index decoration.
John Kessenich
2015-04-27 10:03:25 +00:00
6dc09cd0f3
glslang: support negation of doubles.
John Kessenich
2015-04-17 22:03:30 +00:00
edd181944e
glslang and SPIR-V: Some basic turn on for doubles (previously untested but existed code). Partly from a submission, partly addressing bug 13772.
John Kessenich
2015-04-17 21:47:07 +00:00
87a5e2a84b
glslang: Allow GL_ARB_explicit_attrib_location to add "layout" keyword pre version 140.
John Kessenich
2015-04-09 21:04:44 +00:00
837c6380f3
glslang: include 0 as not being a power of 2
John Kessenich
2015-04-08 15:51:14 +00:00
24c9cc57ad
update Window's binary
John Kessenich
2015-04-03 00:19:37 +00:00
d74951e2de
update linux binary
John Kessenich
2015-04-03 00:19:19 +00:00
5302c7d836
glslang -> SPIR-V: Correct renaming mistake made in moving to the auto-generated headers.
John Kessenich
2015-04-03 00:10:51 +00:00
d8132e164d
glslang GLSL -> SPIR-V: Final delta to bump to revision 30 of the specification.
John Kessenich
2015-04-02 16:32:51 +00:00
9a3399450a
glslang -> SPIR-V: some built-in decoration code was turned off; turn it on.
John Kessenich
2015-04-01 20:35:23 +00:00
0016eaf1b9
GLSL AST -> SPIR-V: Update to explicit enum values for the GLSL extended instruction set.
John Kessenich
2015-03-31 01:46:57 +00:00
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.
John Kessenich
2015-03-30 17:41:16 +00:00
1f77cacd69
glslang -> SPIR-V: Correct code generated for EmitStreamVertex and EndStreamPrimitive.
John Kessenich
2015-03-24 00:32:50 +00:00
34a7e67769
update Window's binary
John Kessenich
2015-03-04 16:35:14 +00:00
1aa7b89510
update linux binary
John Kessenich
2015-03-04 16:33:39 +00:00
43bc2d857d
glslang: Add SPIR-V human readable form. (Use -H.): Fix Linux build problems.
John Kessenich
2015-03-04 03:55:31 +00:00
acba77200b
glslang: Add SPIR-V human readable form. (Use -H.)
John Kessenich
2015-03-04 03:48:38 +00:00
6b40b0a15d
update Window's binary
John Kessenich
2015-03-03 17:50:34 +00:00
19fdb20ee6
update linux binary
John Kessenich
2015-03-03 17:50:04 +00:00
00dfa06f89
glslangValidator: Add straightforward SPIR-V support (non-optimizing, ~3.x functionality): fix linux case issue.
John Kessenich
2015-03-03 17:15:07 +00:00
0df0cdeeeb
glslangValidator: Add straightforward SPIR-V support (non-optimizing, ~3.x functionality).
John Kessenich
2015-03-03 17:09:43 +00:00
1899e83369
update Window's binary
John Kessenich
2015-01-07 18:48:49 +00:00
4ec10181b6
update linux binary
John Kessenich
2015-01-07 18:48:34 +00:00
50d542e6b9
Implement ES-3.0-specific error semantics for redefining predefined macros.
John Kessenich
2015-01-07 18:47:57 +00:00
548ec2c12c
Include ?: in the tests for flow control.
John Kessenich
2015-01-07 06:36:55 +00:00
05a62bf528
Implement barrier() control-flow rules: in flow control, non-main, and post-return.
John Kessenich
2015-01-07 06:14:06 +00:00
cbc7dd979a
update Window's binary
John Kessenich
2014-12-21 20:31:28 +00:00
d93ec05a1f
update linux binary
John Kessenich
2014-12-21 20:31:09 +00:00
c311d35500
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.
John Kessenich
2014-12-21 20:30:04 +00:00
33a5423f76
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.
John Kessenich
2014-12-21 16:48:29 +00:00
2b20dcb64d
Fix public bug 1277: #line L sets the next line to L+1 or just L, based on the version of the language.
John Kessenich
2014-12-20 07:03:18 +00:00
560df75970
update Window's binary
John Kessenich
2014-12-11 00:19:46 +00:00
1faae74e4e
update linux binary
John Kessenich
2014-12-11 00:19:22 +00:00
6df2904391
Implement specification change in 'restrict', allowing it to come and go across function calls.
John Kessenich
2014-12-11 00:17:42 +00:00
1575e0d7c7
Correct test result for previous check in.
John Kessenich
2014-11-17 16:46:15 +00:00
c47175c7bb
Add memory qualifiers (coherent volatile restrict) to imageSize(), imageLoad(), imageStore(), atomic*(), and imageAtomic*(), to remove errors about dropping qualifiers.
John Kessenich
2014-11-17 16:45:10 +00:00
6ab7bf20f0
Non-functional: Change %pure_parser to %pure-parser, to improve portability.
John Kessenich
2014-11-05 16:36:44 +00:00
b07957cf22
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
John Kessenich
2014-10-28 05:24:14 +00:00
ad54b24fba
Implement GL_ARB_viewport_array extension.
John Kessenich
2014-10-17 20:01:27 +00:00
54c04408ad
update Window's binary
John Kessenich
2014-10-08 21:58:20 +00:00
343f7b67d6
update linux binary
John Kessenich
2014-10-08 21:58:04 +00:00
7169338189
Missing test results from last check in.
John Kessenich
2014-10-08 21:57:17 +00:00
f0fce80aa7
Do qualifier-based checking independent of declaring a variable. Bug 11903.
John Kessenich
2014-10-08 21:29:29 +00:00
39cf638945
Include GL_FRAGMENT_PRECISION_HIGH in ES 300/310.
John Kessenich
2014-10-08 16:31:44 +00:00
39805bb3f7
update Window's binary
John Kessenich
2014-10-06 20:05:22 +00:00
79a866f60e
update linux binary
John Kessenich
2014-10-06 20:04:41 +00:00
3ce4e59090
Increase portability. (Submission from Nikita Kindt, as were some recent related submissions.)
John Kessenich
2014-10-06 19:57:34 +00:00
f57aa7bd91
Add missing precision qualifier checks to function formal parameter declarations.
John Kessenich
2014-10-06 19:39:13 +00:00
758c15720d
Remove lod argument from texture2DRect built-ins. (Submission from matt.helsley)
John Kessenich
2014-10-06 16:38:53 +00:00
e91cde52cb
Add missing gl_MaxGeometryTextureImageUnits.
John Kessenich
2014-10-06 15:44:02 +00:00
167b6d1b30
Remove dead call.
John Kessenich
2014-10-01 01:08:21 +00:00
fccfb5a90e
Remove unneeded skeletal work.
John Kessenich
2014-09-28 18:43:52 +00:00
55901efb0d
Nonfunctional: fix a typo.
John Kessenich
2014-09-18 13:12:00 +00:00
cf74ae1b2d
Have memory counters normally turned off, to avoid cross-windows-platform linking problems.
John Kessenich
2014-09-12 17:25:16 +00:00
01fd50e4f2
Add option for printing documentation (empty).
John Kessenich
2014-09-08 21:01:09 +00:00
5bb0356ef4
Add skeleton for generating documentation of a side project.
John Kessenich
2014-09-05 17:36:54 +00:00
d78e3512ac
Minor change in command-line options.
John Kessenich
2014-08-25 20:07:55 +00:00
777cb2bfd8
Fix linux build error from last check in.
John Kessenich
2014-08-24 18:23:24 +00:00
a7a68a9b32
Non-functional misc. changes. Slight increase in performance from moving two performance path methods into a header.
John Kessenich
2014-08-24 18:21:00 +00:00
5041bcb35d
update Window's binary
John Kessenich
2014-08-19 20:34:55 +00:00
98999c45db
update linux binary
John Kessenich
2014-08-19 20:34:40 +00:00
da66bc7d29
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.
John Kessenich
2014-08-19 20:32:48 +00:00
bd2d8fb004
update Window's binary
John Kessenich
2014-08-19 06:10:12 +00:00
888be0288b
update linux binary
John Kessenich
2014-08-19 06:09:51 +00:00