Commit graph

  • 780a2f4426 Use requireExtensions() to check extension and turn on more tests. Lei Zhang 2015-07-28 11:59:24 -04:00
  • 5011fbebc3 Extend the syntax of #line and __FILE__ to support filename strings. Lei Zhang 2015-06-25 17:53:54 -04:00
  • c777fc2c4c Scanning: 1) rationalize end-of-input everywhere, 2) prevent infinite loop at end-of-input, 3) use positive chars. John Kessenich 2015-07-27 09:37:55 -06:00
  • 91b977e172 Issue #39: Prevent problem of inserting a zero-length symbol after cascading errors. John Kessenich 2015-07-25 18:14:09 -06:00
  • aead93aafd Preprocessor: Allow '\' as a token, which gets actual use in #error, but should have no other use. John Kessenich 2015-07-25 17:34:32 -06:00
  • f330f08129 Consolidate all token length limits (1024), including one bad one (80) hardcoded on the stack (issue #40, issue #41). John Kessenich 2015-07-25 14:02:53 -06:00
  • 1070e629a9 Merge pull request #44 from fkaa/osx-const-key-fix John Kessenich 2015-07-25 12:51:02 -06:00
  • 09d16c3ec1 Fix missing const qualifier on TUnorderedMap template type Felix Kaaman 2015-07-25 16:31:50 +02:00
  • 2b3442ada1 Portability: Make previous merge work with MSVS 2012. John Kessenich 2015-07-24 15:15:55 -06:00
  • b159bd5821 Merge pull request #38 from google/preprocessing-line-number John Kessenich 2015-07-24 15:05:17 -06:00
  • 79f6451b53 DoPreprocessing() should consider source string change. Lei Zhang 2015-07-09 16:58:42 -04:00
  • d67e15e9b4 Create a new class to keep track of line number in preprocessor. Lei Zhang 2015-07-15 11:41:20 -04:00
  • 62aa5bdfca AST -> SPV testing: Update test for using new TbdFunctionality() that is non-fatal and uniquifies printed TBDs. John Kessenich 2015-07-23 10:25:20 -06:00
  • 426394d0c8 AST -> SPV: Add basic atomic_uint and atomic*() built-in function functionality. John Kessenich 2015-07-23 10:22:48 -06:00
  • 917ec4ac8c Front-end atomics: Finish adding atomic built-in functions (non-image) into the AST. John Kessenich 2015-07-22 19:58:15 -06:00
  • d1a6846ba2 Todo.txt: Added key, including notation for who's working on something. John Kessenich 2015-07-22 16:39:12 -06:00
  • 7ed16efaf6 Update Todo.txt. John Kessenich 2015-07-22 16:36:38 -06:00
  • c040e76c58 Portability: Remove unneeded "= default" to work with older compilers. John Kessenich 2015-07-22 15:24:53 -06:00
  • 96d8042a64 Merge pull request #31 from google/explicit-extension-directive John Kessenich 2015-07-22 15:20:54 -06:00
  • 12a383379c Issue 32: Guard against constructors consuming unsized arrays. John Kessenich 2015-07-22 11:44:59 -06:00
  • f498400945 Merge pull request #33 from google/spv-builder-loop-ctor-inits-all-members John Kessenich 2015-07-22 11:39:29 -06:00
  • 3e6a33cedf spv::Builder::Loop constructor inits all members. David Neto 2015-07-17 17:11:22 -04:00
  • 8ba301c7c2 Issue #28: Correctly handle a single input argument conversion when the input argument is an aggregate. John Kessenich 2015-07-21 16:00:34 -06:00
  • 1d2996db68 Only output explicit extension directives in preprocessing. Lei Zhang 2015-07-16 18:34:55 -04:00
  • efb8461722 Issue #26: Detect empty array constructors, require at least on operand. John Kessenich 2015-07-21 14:35:39 -06:00
  • 222457054e g++: Fix compilation issue with templates in g++. John Kessenich 2015-07-21 00:07:52 -06:00
  • 1056110c30 Perf: Put in a portable std::hash that works with the pool. This turns on the 10-15% perf gain. John Kessenich 2015-07-20 23:59:32 -06:00
  • 96f4911351 SPV: Make previous commit compile with MSVC 2012. John Kessenich 2015-07-20 22:34:49 -06:00
  • 37e8337958 Merge pull request #22 from google/structured-do-while John Kessenich 2015-07-20 22:14:38 -06:00
  • d2762564dc Preprocessor: Prevent (and give an error on) expression division by 0. John Kessenich 2015-07-20 12:29:41 -06:00
  • e9022e1ffe Tests: Increase testing around incorrect use of block names and instances. John Kessenich 2015-07-20 12:03:04 -06:00
  • 78a5a0d7d8 Front end: Prevent use of a block name, which has no other use in a shader. John Kessenich 2015-07-20 11:35:51 -06:00
  • 68965c0fa9 Fix g++ build break (portibility problems with stl hash). This partly turns off the stl improvements. John Kessenich 2015-07-20 02:06:22 -06:00
  • 6ab3d582d6 Preprocessor: 1) Rationalize the "fixed atom" scheme, 2) remove redundant lookups when the text is already available. John Kessenich 2015-07-19 15:49:03 -06:00
  • 2f273369e4 Performance: Simple upgrade/cleanup of stl c++11 containers (10% perf. increase). John Kessenich 2015-07-18 22:34:27 -06:00
  • f4673162b7 Building: Fix a couple of new warnings. John Kessenich 2015-07-18 11:25:54 -06:00
  • 2b4b9bd65b Front-end: Add error-recovery code for a switch statement that ends with a case/default that has no statements. John Kessenich 2015-07-18 11:13:14 -06:00
  • c22f37cfb4 Generate correctly structured do-while loops. David Neto 2015-07-15 16:21:26 -04:00
  • 51b31b5785 Merge pull request #21 from google/allow_non_null_strings John Kessenich 2015-07-17 11:51:56 -06:00
  • 72becbe5a2 Merge pull request #20 from google/remove_exception John Kessenich 2015-07-17 11:45:31 -06:00
  • 6a6aaeffd3 Added a setStringsWithLengths() method to TShader. Andrew Woloszyn 2015-07-16 09:48:47 -04:00
  • e837f99afb Removed the single usage of exceptions in all of glslang. Andrew Woloszyn 2015-07-10 16:11:00 -04:00
  • e3933d684d Front-end: Implement GL_OES_gpu_shader5. John Kessenich 2015-07-15 19:42:59 -06:00
  • ace4c45afc Merge pull request #18 from srk-lunarg/v30_static_analysis_fixes John Kessenich 2015-07-15 15:06:39 -06:00
  • 465a14666a Comment out some dead assignments per suggestion from static analysis tools. Code is left in as comments for clarity to humans. Steve 2015-07-15 14:34:35 -06:00
  • a417f01041 Merge pull request #17 from google/non-existing-string John Kessenich 2015-07-15 14:03:33 -06:00
  • 6c9a38161b Protect location setting methods from writing to non-existing strings. Lei Zhang 2015-07-10 11:18:47 -04:00
  • 9e55f633bc Include specification revision as part of the version string. John Kessenich 2015-07-15 10:03:39 -06:00
  • 279012d8c4 Merge pull request #16 from google/pp-directive John Kessenich 2015-07-14 19:36:29 -06:00
  • fdfa6bbdfe Front-end: enforce qualifiers that cannot appear on block declarations. John Kessenich 2015-07-14 19:30:11 -06:00
  • 8318878c89 Fix compile errors: about 25 .PpError didn't compile, need to be .ppError. John Kessenich 2015-07-14 15:33:38 -06:00
  • 4a22f9a4e2 Merge pull request #15 from google/preprocessing-error John Kessenich 2015-07-14 15:29:13 -06:00
  • aae1ad8296 Added error output to the preprocessor. Andrew Woloszyn 2015-06-24 17:00:46 -04:00
  • 6aa6d9d3d0 Remove uncessary line break. Lei Zhang 2015-07-03 01:35:26 -04:00
  • 46ea5396ef Fix empty line handling in line directive callback. Lei Zhang 2015-07-04 22:30:59 -04:00
  • 5cbc990a0a Fix line number handling in line directive callback. Lei Zhang 2015-07-03 01:25:47 -04:00
  • 4d036c455e Merge pull request #14 from google/extensionturnedon John Kessenich 2015-07-14 12:30:26 -06:00
  • eebb20511f Merge pull request #11 from baldurk/size-t-int-warning-fixes John Kessenich 2015-07-14 12:25:55 -06:00
  • c4d20e0041 Simplify function calls for extensionsTurnedOn(). Lei Zhang 2015-07-05 17:48:53 -04:00
  • 3a194f7ba4 Update readme to point to Khronos landing page. John Kessenich 2015-07-13 11:41:06 -06:00
  • f98ee23415 Fix incorrect used of snprintf() John Kessenich 2015-07-12 19:39:51 -06:00
  • 68d78fd31e Updated command-line options, adding -o for saving binaries, -G for OpenGL SPIR-V validation, -v etc. John Kessenich 2015-07-12 19:28:10 -06:00
  • d76692dfb8 on x64, size_t is 64-bit and int is 32-bit, so needs an explicit cast baldurk 2015-07-12 11:32:58 +02:00
  • b329715caf Fix clang static analyzer issues, as reported by floooh. John Kessenich 2015-07-11 18:01:03 -06:00
  • 1f654e1603 Merge pull request #4 from baldurk/relative-include-paths John Kessenich 2015-07-11 16:41:38 -06:00
  • 549c2932af Merge pull request #5 from floooh/fix-clang-warnings John Kessenich 2015-07-11 16:36:08 -06:00
  • 73fcdefaac Add some missing 'const' and texture-op guards, for future change to enum-based texture calls. John Kessenich 2015-07-11 13:37:02 -06:00
  • a5ade51363 Fix most clang warnings Andre Weissflog 2015-07-11 14:45:57 +02:00
  • 42169c5fee include by relative path, so root doesn't need to be in the search path baldurk 2015-07-08 15:11:59 +02:00
  • e6f7988ade Linux build: fix case problem with new file. John Kessenich 2015-07-07 00:53:26 -06:00
  • ff5abf34a8 Clear up a C++ compile warning John Kessenich 2015-07-06 21:02:26 -06:00
  • e0603a441e Front-end: move to rational internal array-of-array interfaces and design. (A-of-A is not yet implemented though.) John Kessenich 2015-07-06 19:08:03 -06:00
  • dcab977055 docs: Update missing features list John Kessenich 2015-07-06 14:17:11 -06:00
  • ec43d0abec glslang -> SPIR-V: smear scalars for integer (scalar * vector). OpVectorTimesScalar is only for floats. John Kessenich 2015-07-04 17:17:31 -06:00
  • 9b0d9c8aa4 Use E_ prefix instead of _ for distinguishing extension strings from glext.h John Kessenich 2015-07-03 09:24:46 -06:00
  • fd1e048b9c Merge pull request #2 from nwnk/glext-compatibility John Kessenich 2015-07-03 09:15:03 -06:00
  • 7867e07631 Merge pull request #3 from fkaa/include-fix John Kessenich 2015-07-03 09:12:50 -06:00
  • 61deffd92a Fix include directive depending on root folder name Felix Kaaman 2015-07-02 15:25:23 +02:00
  • 93deac5295 Fix incompatibility with <GL/glext.h> Adam Jackson 2015-06-30 10:11:38 -04:00
  • 1189a7bc4a Make double underscore "__" an error for ES 300, but a warning for 310. John Kessenich 2015-06-29 17:19:17 -06:00
  • 63cebdb4c2 Building README: Update to CMake information. John Kessenich 2015-06-29 10:42:27 -06:00
  • 8acc32bd89 Merge pull request #1 from antiagainst/markdown-readme John Kessenich 2015-06-29 10:30:13 -06:00
  • 65299b9ef0 Format README using markdown. Lei Zhang 2015-06-27 18:43:26 -04:00
  • 140f3df134 Final round for line endings. John Kessenich 2015-06-26 16:58:36 -06:00
  • b63263267d Second round line ending clean up, from fresh round trip. John Kessenich 2015-06-26 16:42:50 -06:00
  • d49d524b1c Add .gitattributes and normalize a few stray file's line endings John Kessenich 2015-06-26 16:29:10 -06:00
  • 0e7674afa0 Make the "switch-label not followed by statement" warning an error, depending on version. John Kessenich 2015-06-26 12:24:28 -06:00
  • add1a4d88d Add +x to two more scripts. John Kessenich 2015-06-26 10:48:26 -06:00
  • 2f22291a94 Add +x to two executables. John Kessenich 2015-06-26 00:40:05 -06:00
  • 02ad18a2a6 Make smoother use in GitHub johnkslang 2015-06-26 00:12:31 -06:00
  • 33e075faad glslang build: force the use of -std=c++11 when building with Clang. David Neto <dneto@google.com>. John Kessenich 2015-06-24 16:05:50 +00:00
  • b61b82182f glslang front-end: Implement AEP *_point_size extensions. John Kessenich 2015-06-23 04:14:00 +00:00
  • 6e76bdc88d glslang front-end: Full turn-on of AEP tessellation semantics. John Kessenich 2015-06-19 23:03:32 +00:00
  • 105704eff2 glslang: Finish turn on of AEP geometry shaders for ES 3.1. John Kessenich 2015-06-19 06:28:59 +00:00
  • 6626cadbad glslang front-end: Don't emit blank lines for empty info logs. From Andrew Woloszyn <awoloszyn@google.com>. John Kessenich 2015-06-19 05:14:19 +00:00
  • 2f21fccee9 glslang testing: Remove dependence on testfiles from LunarGLASS. John Kessenich 2015-06-17 16:15:09 +00:00
  • ab556eaaea fix linux ^M issues with previous check-in John Kessenich 2015-06-17 02:41:51 +00:00
  • c555dddd53 glslang preprocessing: Add -E option to print out preprocessed GLSL, and do the work needed to generate a preprocessed stream. From Andrew Woloszyn <awoloszyn@google.com>. John Kessenich 2015-06-17 02:38:44 +00:00
  • 9288f46b95 glslang front-end: Added a callback mechanism for #line/#pragma/#version/#extension. From Andrew Woloszyn <awoloszyn@google.com>. John Kessenich 2015-06-16 23:08:00 +00:00
  • 47632b7aaf glslang front-end: track column numbers (they don't go anywhere yet, just get tracked). Andrew Woloszyn <awoloszyn@google.com>. John Kessenich 2015-06-16 19:49:22 +00:00