mojoshader_compiler.c
Wed, 23 May 2018 11:07:59 -0400 Ethan Lee Move zeromalloc trickery to internal malloc/free functions
Fri, 04 May 2018 17:45:20 -0400 Ryan C. Gordon Always return a non-NULL pointer for malloc(0).
Wed, 31 Dec 2014 16:49:59 -0500 Ryan C. Gordon Semantic analysis was reporting a NULL datatype for funcs with void retvals.
Fri, 03 Aug 2012 13:39:36 -0400 Ryan C. Gordon Some static analysis fixes from Clang 4.0.
Thu, 20 Oct 2011 17:50:27 -0400 Ryan C. Gordon Fixed a few things clang's static analysis reported.
Sun, 29 May 2011 17:34:12 -0400 Ryan C. Gordon Parse symbols in the CTAB, export them in MOJOSHADER_parseData.
Sun, 20 Mar 2011 12:24:38 -0700 Ryan C. Gordon Moved print_whole_ir() up next to print_ir().
Sun, 20 Mar 2011 01:44:39 -0700 Ryan C. Gordon Store the IR in an array.
Sat, 19 Mar 2011 14:51:57 -0700 Ryan C. Gordon Store the unique id from push_function() in the AST during semantic analysis.
Sat, 19 Mar 2011 04:32:29 -0400 Ryan C. Gordon Fixed incorrect variable reference.
Wed, 16 Mar 2011 12:46:22 -0700 Ryan C. Gordon Fixed struct dereference reporting wrong type in the IR.
Tue, 15 Mar 2011 01:45:05 -0700 Ryan C. Gordon Implemented the Intermediate Representation.
Tue, 15 Mar 2011 01:40:04 -0700 Ryan C. Gordon Added a FIXME.
Tue, 15 Mar 2011 01:39:41 -0700 Ryan C. Gordon Note the member index in struct deref, so we don't have to calculate it again.
Thu, 03 Mar 2011 00:00:22 -0800 Ryan C. Gordon Added a pile of FIXMEs.
Wed, 02 Mar 2011 23:58:16 -0800 Ryan C. Gordon Make note of how many times a symbol is referenced.
Wed, 02 Mar 2011 21:40:18 -0800 Ryan C. Gordon Semantic analysis: make sure break and continue are inside loops and switches.
Wed, 02 Mar 2011 21:29:29 -0800 Ryan C. Gordon Switch statements were dropping the ball on semantic analysis.
Wed, 23 Feb 2011 16:46:14 -0500 Ryan C. Gordon Removed some debug code.
Tue, 22 Feb 2011 02:51:33 -0500 Ryan C. Gordon Disable debug output.
Tue, 22 Feb 2011 02:51:06 -0500 Ryan C. Gordon Fixed incorrect union accesses.
Tue, 22 Feb 2011 02:50:48 -0500 Ryan C. Gordon Fixed stupid bug in stupid debug code. :)
Tue, 22 Feb 2011 02:34:26 -0500 Ryan C. Gordon Yet another approach to overloaded function selection.
Mon, 21 Feb 2011 18:25:42 -0500 Ryan C. Gordon Yet-another attempt at getting function overloading selection correct.
Mon, 21 Feb 2011 03:06:00 -0500 Ryan C. Gordon More work on ambiguous function overloads.
Thu, 10 Feb 2011 22:20:04 -0500 Ryan C. Gordon Fixed logic in error reporting on ambiguous function calls.
Thu, 10 Feb 2011 18:37:29 -0500 Ryan C. Gordon More work on overloaded intrinsic functions.
Thu, 10 Feb 2011 00:05:36 -0800 Ryan C. Gordon More work on fixing up overloaded function selection.
Thu, 10 Feb 2011 00:05:10 -0800 Ryan C. Gordon Add more intrinsic function overloads. This is getting out of control now.
Wed, 09 Feb 2011 04:32:00 -0500 Ryan C. Gordon More work on overloaded function matching.
Sun, 06 Feb 2011 04:01:43 -0500 Ryan C. Gordon Allow constructors with sub-vectors (or whatever you'd call this).
Wed, 19 Jan 2011 01:38:01 -0800 Ryan C. Gordon Fixed some uninitialized memory reads, compliments of valgrind.
Wed, 19 Jan 2011 01:24:08 -0800 Ryan C. Gordon Vectors and matrices can be dereferenced like arrays.
Tue, 18 Jan 2011 13:49:42 -0800 Ryan C. Gordon Let type coercion deal with vectors and matrices.
Tue, 18 Jan 2011 13:44:52 -0800 Ryan C. Gordon Moved assignment into the scope where it's actually used.
Tue, 18 Jan 2011 10:42:25 -0800 Ryan C. Gordon Don't use the reduced type when choosing a swizzle.
Tue, 18 Jan 2011 00:32:15 -0500 Ryan C. Gordon Make sure swizzle isn't too large ("float2(1,2).xyz" is invalid).
Tue, 18 Jan 2011 00:29:14 -0500 Ryan C. Gordon Vector swizzling now reports correct type.
Thu, 13 Jan 2011 04:13:07 -0500 Ryan C. Gordon Fixed reference to wrong variable.
Thu, 13 Jan 2011 02:50:21 -0500 Ryan C. Gordon Added a FIXME.
Thu, 13 Jan 2011 02:50:15 -0500 Ryan C. Gordon Clean up bogus usertypes leftover from parse phase, during semantic analysis.
Wed, 12 Jan 2011 03:39:21 -0500 Ryan C. Gordon Added some FIXMEs.
Wed, 12 Jan 2011 03:44:28 -0500 Ryan C. Gordon Added in (most) HLSL intrinsic functions.
Wed, 12 Jan 2011 03:46:17 -0500 Ryan C. Gordon Cleaned up the mess of function call processing.
Tue, 11 Jan 2011 20:46:24 -0500 Ryan C. Gordon Simplified TEST_PROFILE macro in choose_src_profile().
Tue, 11 Jan 2011 20:39:09 -0500 Ryan C. Gordon Throw away our dummy usertypes from the parse phase.
Tue, 11 Jan 2011 03:37:38 -0500 Ryan C. Gordon Added a FIXME.
Tue, 11 Jan 2011 03:35:26 -0500 Ryan C. Gordon Rewrote variable declaration semantic analysis to handle comma-separated vars.
Tue, 11 Jan 2011 03:34:08 -0500 Ryan C. Gordon Fixed incorrect fall-through between case blocks.
Tue, 11 Jan 2011 03:32:17 -0500 Ryan C. Gordon Fixed incorrect variable reference.
Sun, 12 Dec 2010 02:52:17 -0500 Ryan C. Gordon Semantic analysis now tries to assign a unique id to every variable.
Mon, 06 Dec 2010 02:47:31 -0500 Ryan C. Gordon Reworked datatype processing in the compiler.
Mon, 22 Nov 2010 13:24:04 -0500 Ryan C. Gordon Fixed some AST operations to be integer-only.
Tue, 09 Nov 2010 05:05:41 -0500 Ryan C. Gordon Made ErrorList struct opaque to callers.
Thu, 04 Nov 2010 02:14:51 -0400 Ryan C. Gordon Added a bunch of FIXMEs to accurately portray current technical debt.
Wed, 03 Nov 2010 22:54:17 -0400 Ryan C. Gordon Cut-and-paste cleanup: unified the ErrorList functionality.
Tue, 02 Nov 2010 14:55:33 -0400 Ryan C. Gordon Workaround for failing parse for now.
Tue, 02 Nov 2010 14:55:10 -0400 Ryan C. Gordon Don't free the string cache in MOJOSHADER_parseAst()...the AST itself needs it!
Tue, 02 Nov 2010 02:17:58 -0400 Ryan C. Gordon More filling in of API details. Framework is mostly complete now.
Mon, 01 Nov 2010 02:20:37 -0400 Ryan C. Gordon Filled in some stubs to flesh out the AST API.
Thu, 28 Oct 2010 03:42:12 -0400 Ryan C. Gordon Heavy rework of the AST code.
Tue, 26 Oct 2010 17:27:31 -0400 Ryan C. Gordon Added a FIXME.
Tue, 26 Oct 2010 02:06:23 -0400 Ryan C. Gordon First shot at semantic analysis (take the AST and type check, make sane, etc).
Tue, 26 Oct 2010 02:05:21 -0400 Ryan C. Gordon Made struct dereference a separate expression type, not a binary expression.
Mon, 25 Oct 2010 16:47:26 -0400 Ryan C. Gordon Reworked AST to not use AST_OP_COMMA for function/constructor argument lists.
Mon, 25 Oct 2010 03:57:01 -0400 Ryan C. Gordon Renamed function "arguments" to function "parameters" in the AST.
Wed, 20 Oct 2010 02:20:10 -0400 Ryan C. Gordon Added some more basic datatype strings to the initial string cache.
Wed, 20 Oct 2010 02:19:34 -0400 Ryan C. Gordon Added boolean literals to parser.
Tue, 19 Oct 2010 17:48:24 -0400 Ryan C. Gordon Fill in some default strings in the cache, so we can always compare by pointer.
Tue, 19 Oct 2010 16:59:03 -0400 Ryan C. Gordon Cleaned up UserTypeMap into a generic symbol tracker.
Tue, 19 Oct 2010 16:15:55 -0400 Ryan C. Gordon Added a FIXME.
Tue, 19 Oct 2010 16:12:44 -0400 Ryan C. Gordon More output fixes for print_ast().
Wed, 13 Oct 2010 22:59:28 -0400 Ryan C. Gordon Clean up AST debug output.
Wed, 13 Oct 2010 17:56:41 -0400 Ryan C. Gordon Make statement blocks explicit in the AST.
Wed, 13 Oct 2010 17:29:28 -0400 Ryan C. Gordon Added a FIXME.
Tue, 21 Sep 2010 02:06:57 -0400 Ryan C. Gordon Print out "void" instead of "(null)" when printing out AST.
Mon, 31 May 2010 19:21:12 -0400 Ryan C. Gordon Handle #pragma (or at least, don't fail on them).
Wed, 03 Mar 2010 08:46:17 -0800 Ryan C. Gordon Fixed C++ compiler error.
Thu, 25 Feb 2010 02:25:42 -0500 Ryan C. Gordon Catch these tokens in the compiler, for badly-formed preprocessor source code.
Wed, 24 Feb 2010 03:20:50 -0500 Ryan C. Gordon Implemented StringMap, for future use.
Wed, 24 Feb 2010 01:21:21 -0500 Ryan C. Gordon Formalized the compiler's string cache into a real API.
Tue, 23 Feb 2010 17:38:00 -0500 Ryan C. Gordon Removed the vector/matrix datatype parser tokens.
Tue, 23 Feb 2010 17:20:58 -0500 Ryan C. Gordon Moved print_ast() elsewhere.
Tue, 23 Feb 2010 12:55:52 -0500 Ryan C. Gordon Reverse all the linked lists that we generate backwards in the parser.
Tue, 23 Feb 2010 11:34:36 -0500 Ryan C. Gordon Filled in the rest of the missing print_ast() cases.
Mon, 22 Feb 2010 12:43:55 -0500 Ryan C. Gordon Bunch More Work on print_ast().
Mon, 22 Feb 2010 03:07:29 -0500 Ryan C. Gordon Temporary (and incomplete!) debug code to print the AST.
Mon, 22 Feb 2010 02:23:32 -0500 Ryan C. Gordon Cleaned up compiler framework a little.
Mon, 22 Feb 2010 02:22:24 -0500 Ryan C. Gordon Fixed pop_scope().
Mon, 22 Feb 2010 02:22:06 -0500 Ryan C. Gordon Removed some debug code.
Mon, 22 Feb 2010 01:57:53 -0500 Ryan C. Gordon Added a FIXME.
Mon, 22 Feb 2010 01:57:37 -0500 Ryan C. Gordon Added better (?) USERTYPE management.
Mon, 22 Feb 2010 01:56:12 -0500 Ryan C. Gordon Removed incorrect assertion.
Sun, 21 Feb 2010 19:37:38 -0500 Ryan C. Gordon Make AST nodes a little more generic, add source position info to them.
Sun, 21 Feb 2010 14:54:54 -0500 Ryan C. Gordon Keep track of token location when parsing.
Sun, 21 Feb 2010 01:02:34 -0500 Ryan C. Gordon A little work on error handling in the compiler.
Sat, 20 Feb 2010 21:50:48 -0500 Ryan C. Gordon Clean up context at the end.
Sat, 20 Feb 2010 20:31:00 -0500 Ryan C. Gordon Removed SEMANTIC token...we can do this with IDENTIFIER.
Sat, 20 Feb 2010 00:27:28 -0500 Ryan C. Gordon Uncommented some grammar bits that got masked out in the calculator experiment.
Fri, 19 Feb 2010 02:28:44 -0500 Ryan C. Gordon Bunch More Work on HLSL parser.
Fri, 19 Feb 2010 02:25:51 -0500 Ryan C. Gordon Added boilerplate comment to start of file.
Tue, 09 Feb 2010 02:55:38 -0500 Ryan C. Gordon Moved the calculator experiment work back into the compiler. calculator-experiment
Wed, 26 Aug 2009 00:02:31 -0400 Ryan C. Gordon Forgot to add DEPTH to the list of valid semantics.
Tue, 25 Aug 2009 23:20:02 -0400 Ryan C. Gordon Added statement block attributes to the HLSL grammar.
Sun, 23 Aug 2009 01:43:14 -0400 Ryan C. Gordon Removed some debug code.
Sun, 23 Aug 2009 01:04:49 -0400 Ryan C. Gordon Added some structure for user types (struct at the moment).
Sat, 04 Apr 2009 02:10:43 -0400 Ryan C. Gordon Corrected function name coding style.
Sat, 04 Apr 2009 02:09:48 -0400 Ryan C. Gordon Fixed semantic name parsing in HLSL grammar.
Fri, 06 Mar 2009 22:58:21 -0500 Ryan C. Gordon Initial work on parsing sampler declarations.
Fri, 06 Mar 2009 19:26:47 -0500 Ryan C. Gordon Rewrote HLSL grammar, mostly from scratch.
Sat, 28 Feb 2009 15:44:43 -0500 Ryan C. Gordon Cleaned up HLSL parser tracing.
Sat, 28 Feb 2009 15:31:46 -0500 Ryan C. Gordon Make parser generate a header, to avoid external project build confusion.
Sat, 28 Feb 2009 15:26:39 -0500 Ryan C. Gordon Don't include a file we don't generate anymore.
Sat, 28 Feb 2009 14:35:09 -0500 Ryan C. Gordon Removed some ANSI C things from the HLSL grammar that shaders don't do.
Sat, 28 Feb 2009 04:30:56 -0500 Ryan C. Gordon Added some basic compiler stub stuff, just to get this building at all.
less more (0) tip