Commit graph

  • edadf45605 glslang: Add API override of version and profile for testing purposes. From Lei Zhang <antiagainst@google.com>. John Kessenich 2015-06-16 19:01:56 +00:00
  • 99a3c59fae glslang tests: Fix error propagation. From David Neto <dneto@google.com>. John Kessenich 2015-06-16 18:40:40 +00:00
  • 9e41f362a6 glslang AEP: Full semantics for *_shader_io_blocks. John Kessenich 2015-06-15 15:08:41 +00:00
  • f6deb6203a glslang AEP: Geometry shader features nominally working. (Full semantic check and turn on pending.) Also picked up partial tessellation shader interface, shader_io_blocks, and mirrored OES set of extensions functionality. John Kessenich 2015-06-14 21:36:44 +00:00
  • e5e0f6e37a glslang -> SPV: swap arguments as needed for OpVectorTimesScalar and OpMatrixTimesScalar, and check for correct types for those as well as OpMatrixTimesVector, OpVectorTimesMatrix, and OpMatrixTimesMatrix. John Kessenich 2015-06-13 00:48:48 +00:00
  • 8d64d44c3f glslang -> SPV: fix degenerate switch topologies (bug 14118). John Kessenich 2015-06-12 22:34:37 +00:00
  • 93930d6f9a glslang ES reference: Don't allow std430 on uniform blocks (bug 14095). John Kessenich 2015-06-12 22:09:25 +00:00
  • 453bb26ef5 glslang AEP: The extension scheme, extension-enabled stage-existence testing, and compute-shader interface. Still needs in/out blocks, unsized arrays, etc. before real testing can be done. John Kessenich 2015-06-12 05:01:25 +00:00
  • 4751ce3fc1 glslang front-end: Support relaxed error checking for bug 13724 "...initializer must be a constant expression..." because that change breaks existing shipping applications. (Normal validation for portability testing still gives an error.) John Kessenich 2015-06-11 16:39:01 +00:00
  • fae38ee277 glslang portability: Fixed a slew of OSX compilation warnings (but not all). John Kessenich 2015-06-10 23:23:12 +00:00
  • 79eaa91e6f glslang portability: Resolve OSX errors, some other OS warnings. John Kessenich 2015-06-10 22:05:48 +00:00
  • 3ef22f2139 SPV compressor: Fixes a possible asserts. Attribution: spvremapper@lunarg.com John Kessenich 2015-06-09 02:01:53 +00:00
  • b8478d7eac glslang: Allow programmatically prepending code to a shader without worrying about #version being first, to implement command-line-defined macros. From Dejan Mircevski <deki@google.com>. John Kessenich 2015-06-08 18:31:23 +00:00
  • a49fe84a4e glslang ref. front-end: Add missing image format for desktop (but these are still yet to be used.) John Kessenich 2015-06-08 17:48:26 +00:00
  • 2fde45a1eb Requesting input on Bug 1346: checking in, turned off, enum-based operators for texturing and image operations. Please reply there with any input, thanks. John Kessenich 2015-05-26 01:36:50 +00:00
  • 92993c5e2f glslang tests: Update test result from test-file change. John Kessenich 2015-05-25 22:14:41 +00:00
  • bd7b669213 update Window's binary John Kessenich 2015-05-22 23:32:53 +00:00
  • fea9835685 update linux binary John Kessenich 2015-05-22 23:32:33 +00:00
  • 06e1d0b434 glslang -> SPV: Improvements in swizzles on access chains: Bug 14007 (wrong type), simplications, tests, support mixed swizzle with dynamic component selection. John Kessenich 2015-05-22 21:57:58 +00:00
  • 6b3fd19d89 glslang -> SPV: add decorations for built-ins that are inside blocks. John Kessenich 2015-05-22 01:53:15 +00:00
  • ea543986f9 glslang -> SPV: translate the source profile to the SPV source language. John Kessenich 2015-05-22 01:21:31 +00:00
  • e61ed59726 glsl -> SPV: fix OpVectorInsertDynamic result type bug. John Kessenich 2015-05-22 00:58:41 +00:00
  • 3a13a0c71b Correct some English spellings of SPIR-V. John Kessenich 2015-05-20 16:13:01 +00:00
  • 01685c3ff8 SPV compression: Final check-in enabling this on MSVC 2012. All compression submissions from Steve (spvremapper@lunarg.com). John Kessenich 2015-05-20 16:04:17 +00:00
  • 3c4a276282 SPIR-V compression: Requires rerunning CMake. Adds a standalone tool for running the SPV compression. John Kessenich 2015-05-19 21:07:04 +00:00
  • 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. John Kessenich 2015-05-18 23:25:32 +00:00
  • 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.) John Kessenich 2015-05-18 16:45:49 +00:00
  • ca3457f1a7 glslang: Fix a few more warnings, and see it using nullptr causes anyone problems (testing c++11 portability). John Kessenich 2015-05-18 01:59:45 +00:00
  • b06127c513 glslang PP: make decimal number parser clearer and add boundary tests. Also, disable the warning for "do {} while (true);" John Kessenich 2015-05-16 01:15:41 +00:00
  • 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
  • 11f5fc04b8 glslang preprocassor: Fix operator precedence bug. John Kessenich 2015-05-07 01:04:29 +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