Mercurial
Mercurial
>
icculus
>
mojoshader
/ graph
summary
|
shortlog
|
changelog
| graph |
tags
|
bookmarks
|
branches
|
files
|
help
less
more
|
(0)
-240
+240
tip
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
The revision graph only works with JavaScript-enabled browsers.
Fixed reference to wrong variable.
2011-01-13, by Ryan C. Gordon
Added a FIXME.
2011-01-13, by Ryan C. Gordon
Clean up bogus usertypes leftover from parse phase, during semantic analysis.
2011-01-13, by Ryan C. Gordon
Added some FIXMEs.
2011-01-12, by Ryan C. Gordon
Added in (most) HLSL intrinsic functions.
2011-01-12, by Ryan C. Gordon
Cleaned up the mess of function call processing.
2011-01-12, by Ryan C. Gordon
Simplified TEST_PROFILE macro in choose_src_profile().
2011-01-11, by Ryan C. Gordon
Throw away our dummy usertypes from the parse phase.
2011-01-11, by Ryan C. Gordon
Added a FIXME.
2011-01-11, by Ryan C. Gordon
Rewrote variable declaration semantic analysis to handle comma-separated vars.
2011-01-11, by Ryan C. Gordon
Fixed incorrect fall-through between case blocks.
2011-01-11, by Ryan C. Gordon
Fixed incorrect variable reference.
2011-01-11, by Ryan C. Gordon
Semantic analysis now tries to assign a unique id to every variable.
2010-12-12, by Ryan C. Gordon
Added hash_iter() function, for iterating all matching entries in a hashtable.
2010-12-12, by Ryan C. Gordon
Reworked datatype processing in the compiler.
2010-12-06, by Ryan C. Gordon
Removed return statement from void function.
2010-12-06, by Ryan C. Gordon
Technically, a typecast is a unary operator.
2010-12-06, by Ryan C. Gordon
Added unit test for half-float suffix.
2010-11-22, by Ryan C. Gordon
Updated re2c-generated lexer code.
2010-11-22, by Ryan C. Gordon
HLSL uses h or H as a float literal suffix, meaning "half".
2010-11-22, by Ryan C. Gordon
Fixed some AST operations to be integer-only.
2010-11-22, by Ryan C. Gordon
More Visual Studio fixes for Lemon.
2010-11-18, by Ryan C. Gordon
Patched to compile on Windows.
2010-11-18, by Ryan C. Gordon
Cleaned up MOJOSHADER_preprocessor().
2010-11-17, by Ryan C. Gordon
Unit tests for previous bugfix.
2010-11-16, by Ryan C. Gordon
Preprocessor: Fixed macro arguments prepended with > 1 char of whitespace.
2010-11-16, by Ryan C. Gordon
Preprocessor: fixed logic bug introduced when migrating to Buffer.
2010-11-15, by Ryan C. Gordon
Preprocessor: Moved pushing of predefined macros over to Buffer.
2010-11-15, by Ryan C. Gordon
Preprocessor: Don't push predefined macro null terminator to the include stack.
2010-11-15, by Ryan C. Gordon
Hook up preprocessor string cache to MallocBridge().
2010-11-11, by Ryan C. Gordon
Minor FIXME cleanup.
2010-11-11, by Ryan C. Gordon
Cleaned up error position reporting.
2010-11-11, by Ryan C. Gordon
Technical debt: cleaned up things in the assembler that should've used Buffer.
2010-11-10, by Ryan C. Gordon
Made ErrorList struct opaque to callers.
2010-11-09, by Ryan C. Gordon
Paying off more technical debt: unified growable buffers into one place.
2010-11-09, by Ryan C. Gordon
Removed the Big Scratch Buffer. Saves 4 kilobytes of heap per bytecode parse.
2010-11-08, by Ryan C. Gordon
Unit tests for previous fix.
2010-11-04, by Ryan C. Gordon
Preprocessor: fix include stack when there's an identifier in an expression.
2010-11-04, by Ryan C. Gordon
Added a bunch of FIXMEs to accurately portray current technical debt.
2010-11-04, by Ryan C. Gordon
Cut-and-paste cleanup: unified the ErrorList functionality.
2010-11-03, by Ryan C. Gordon
Fixed spacing for binary operators in print_ast().
2010-11-02, by Ryan C. Gordon
Workaround for failing parse for now.
2010-11-02, by Ryan C. Gordon
Don't free the string cache in MOJOSHADER_parseAst()...the AST itself needs it!
2010-11-02, by Ryan C. Gordon
More filling in of API details. Framework is mostly complete now.
2010-11-02, by Ryan C. Gordon
Whoops, forgot to free return value when finished with it.
2010-11-01, by Ryan C. Gordon
Finished cleaning up AST tools and moving them into application level.
2010-11-01, by Ryan C. Gordon
Filled in some stubs to flesh out the AST API.
2010-11-01, by Ryan C. Gordon
Heavy rework of the AST code.
2010-10-28, by Ryan C. Gordon
Added a FIXME.
2010-10-26, by Ryan C. Gordon
First shot at semantic analysis (take the AST and type check, make sane, etc).
2010-10-26, by Ryan C. Gordon
Made struct dereference a separate expression type, not a binary expression.
2010-10-26, by Ryan C. Gordon
Reworked AST to not use AST_OP_COMMA for function/constructor argument lists.
2010-10-25, by Ryan C. Gordon
Renamed function "arguments" to function "parameters" in the AST.
2010-10-25, by Ryan C. Gordon
Added some more basic datatype strings to the initial string cache.
2010-10-20, by Ryan C. Gordon
Added boolean literals to parser.
2010-10-20, by Ryan C. Gordon
Fill in some default strings in the cache, so we can always compare by pointer.
2010-10-19, by Ryan C. Gordon
Cleaned up UserTypeMap into a generic symbol tracker.
2010-10-19, by Ryan C. Gordon
Added a FIXME.
2010-10-19, by Ryan C. Gordon
More output fixes for print_ast().
2010-10-19, by Ryan C. Gordon
Fixed constructor syntax parsing.
2010-10-14, by Ryan C. Gordon
Clean up AST debug output.
2010-10-13, by Ryan C. Gordon
Make statement blocks explicit in the AST.
2010-10-13, by Ryan C. Gordon
Added a FIXME.
2010-10-13, by Ryan C. Gordon
Print out "void" instead of "(null)" when printing out AST.
2010-09-21, by Ryan C. Gordon
Closing obsolete calculator-experiment branch.
calculator-experiment
2010-06-04, by Ryan C. Gordon
Fixed crash when pushing an empty string on the include_stack.
2010-05-31, by Ryan C. Gordon
Added unit test for crash bug.
2010-05-31, by Ryan C. Gordon
Added test for line break after #pragma.
2010-05-31, by Ryan C. Gordon
Handle #pragma (or at least, don't fail on them).
2010-05-31, by Ryan C. Gordon
Backed out changeset 93e2e2f17bbb ... that fix was wrong.
2010-04-06, by Ryan C. Gordon
Fixed GLSL source register swizzles. Kinda scary that never got caught before.
2010-04-06, by Ryan C. Gordon
Corrected MSDN URL.
2010-04-06, by Ryan C. Gordon
Fix vertex attribute array toggling, again.
2010-03-31, by Ryan C. Gordon
If binding a NULL program, disable any vertex arrays we previously enabled.
2010-03-31, by Ryan C. Gordon
Added data argument to GL entry point lookup callback.
2010-03-30, by Ryan C. Gordon
Updated copyright year on LICENSE.txt.
2010-03-29, by Ryan C. Gordon
Report actual filename in errors.
2010-03-24, by Ryan C. Gordon
Report changeset, not version.
2010-03-24, by Ryan C. Gordon
Don't keep processing bytecode if the data is clearly not a shader at all.
2010-03-24, by Ryan C. Gordon
Added another unit test.
2010-03-12, by Ryan C. Gordon
Don't replace macros with args until later in preprocessing.
2010-03-12, by Ryan C. Gordon
Added more unit tests.
2010-03-12, by Ryan C. Gordon
Handle __FILE__ and __LINE__ better.
2010-03-12, by Ryan C. Gordon
Corrected FIXME comment.
2010-03-12, by Ryan C. Gordon
Serious reworking of preprocessor macro replacement code.
2010-03-12, by Ryan C. Gordon
Updated .hgignore for Lemon header output.
2010-03-10, by Ryan C. Gordon
Added a --version command line to mojoshader-compiler.
2010-03-10, by Ryan C. Gordon
Added another unit test.
2010-03-07, by Ryan C. Gordon
Forgot to add this test before.
2010-03-07, by Ryan C. Gordon
List subsection in the condensed error output.
2010-03-04, by Ryan C. Gordon
Make failed tests more clear in the output.
2010-03-04, by Ryan C. Gordon
Added more unit tests.
2010-03-04, by Ryan C. Gordon
Finished preprocessor/errors/too-many-macro-args test.
2010-03-04, by Ryan C. Gordon
Implemented error output unit test harness.
2010-03-04, by Ryan C. Gordon
Merged some lemon diffs from sqlite's fossil repo: Visual Studio compile fixes.
2010-03-03, by Ryan C. Gordon
Fixed C++ compiler error.
2010-03-03, by Ryan C. Gordon
Did some Ryanification of Aras's Windows #include handling code.
2010-03-03, by Ryan C. Gordon
When processing identifiers in macro "calls", check both args and #defines.
2010-03-03, by Ryan C. Gordon
Added another failing test.
2010-03-02, by Ryan C. Gordon
Added indirect stringify test.
2010-03-02, by Ryan C. Gordon
Added another failing test.
2010-03-02, by Ryan C. Gordon
Added basic tests for __FILE__ and __LINE__.
2010-03-02, by Ryan C. Gordon
Changed where we spawn mojoshader-compiler from, for __FILE__ testing.
2010-03-02, by Ryan C. Gordon
Added support for __FILE__ and __LINE__ to the preprocessor.
2010-03-02, by Ryan C. Gordon
Added unit test for better coverage of bug I just fixed.
2010-02-26, by Ryan C. Gordon
Macro args in macro args need to be replaced inline.
2010-02-26, by Ryan C. Gordon
Added some unit tests for the preprocessor #line directive.
2010-02-25, by Ryan C. Gordon
filename in #line is optional
2010-02-25, by Aras Pranckevicius
make compile on MSVC, and fix stringmap_insert
2010-02-25, by Aras Pranckevicius
Added concat operator ("##") to the preprocessor.
2010-02-25, by Ryan C. Gordon
Catch these tokens in the compiler, for badly-formed preprocessor source code.
2010-02-25, by Ryan C. Gordon
Don't reference built-in include functions if we preprocessed them out.
2010-02-24, by Ryan C. Gordon
Regenerated lexer with stringify operator.
2010-02-24, by Ryan C. Gordon
Added stringify operator ("#") to preprocessor.
2010-02-24, by Ryan C. Gordon
Check for "##" at the start and end of macro definitions.
2010-02-24, by Ryan C. Gordon
Added unit tests for preprocessor's macro concat operator.
2010-02-24, by Ryan C. Gordon
Removed unused struct member.
2010-02-24, by Ryan C. Gordon
preprocessor open impl on MSVC
2010-02-24, by Aras Pranckevicius
Patched to compile.
2010-02-24, by Ryan C. Gordon
Implemented StringMap, for future use.
2010-02-24, by Ryan C. Gordon
Formalized the compiler's string cache into a real API.
2010-02-24, by Ryan C. Gordon
Removed the vector/matrix datatype parser tokens.
2010-02-23, by Ryan C. Gordon
Moved print_ast() elsewhere.
2010-02-23, by Ryan C. Gordon
Reverse all the linked lists that we generate backwards in the parser.
2010-02-23, by Ryan C. Gordon
Filled in the rest of the missing print_ast() cases.
2010-02-23, by Ryan C. Gordon
Bunch More Work on print_ast().
2010-02-22, by Ryan C. Gordon
Temporary (and incomplete!) debug code to print the AST.
2010-02-22, by Ryan C. Gordon
Cleaned up compiler framework a little.
2010-02-22, by Ryan C. Gordon
Fixed pop_scope().
2010-02-22, by Ryan C. Gordon
Removed some debug code.
2010-02-22, by Ryan C. Gordon
Make the error code blocks into fail() calls.
2010-02-22, by Ryan C. Gordon
Added a FIXME.
2010-02-22, by Ryan C. Gordon
Added better (?) USERTYPE management.
2010-02-22, by Ryan C. Gordon
Removed incorrect assertion.
2010-02-22, by Ryan C. Gordon
Make AST nodes a little more generic, add source position info to them.
2010-02-21, by Ryan C. Gordon
Keep track of token location when parsing.
2010-02-21, by Ryan C. Gordon
A little work on error handling in the compiler.
2010-02-21, by Ryan C. Gordon
Added a FIXME.
2010-02-20, by Ryan C. Gordon
Report bad characters in the assembler.
2010-02-20, by Ryan C. Gordon
Clean up context at the end.
2010-02-20, by Ryan C. Gordon
Removed SEMANTIC token...we can do this with IDENTIFIER.
2010-02-20, by Ryan C. Gordon
Uncommented some grammar bits that got masked out in the calculator experiment.
2010-02-20, by Ryan C. Gordon
Bunch More Work on HLSL parser.
2010-02-19, by Ryan C. Gordon
Added boilerplate comment to start of file.
2010-02-19, by Ryan C. Gordon
Updated lempar.c to match updated lemon.c
2010-02-17, by Ryan C. Gordon
Lemon fix: don't let grammar define the same nonterminal %type more than once.
2010-02-17, by Ryan C. Gordon
Lemon fix: incorrect printf format strings.
2010-02-17, by Ryan C. Gordon
Updated lemon to the latest in my fossil repo.
2010-02-17, by Ryan C. Gordon
Lemon now writes errors to stderr instead of stdout, and uses full output.
2010-02-13, by Ryan C. Gordon
Lemon now deletes its output on failure.
2010-02-12, by Ryan C. Gordon
Merged calculator-experiment back into default branch.
2010-02-09, by Ryan C. Gordon
Moved the calculator experiment work back into the compiler.
calculator-experiment
2010-02-09, by Ryan C. Gordon
Don't pass the TokenData back out of the lemon code.
calculator-experiment
2010-02-09, by Ryan C. Gordon
Removed some Context fields we don't really need.
calculator-experiment
2010-02-09, by Ryan C. Gordon
"identifier" shouldn't be a non-terminal.
calculator-experiment
2010-02-09, by Ryan C. Gordon
Cleaned up TokenData FIXMEs, and added string cache.
calculator-experiment
2010-02-08, by Ryan C. Gordon
Free the parse tree once we're done with it.
calculator-experiment
2010-02-08, by Ryan C. Gordon
Actually run the calculator, walking the parse tree.
calculator-experiment
2010-02-08, by Ryan C. Gordon
Stop parsing if the parser panics.
calculator-experiment
2010-02-08, by Ryan C. Gordon
Closing the "trunk" branch.
trunk
2010-02-08, by Ryan C. Gordon
Ignore blank lines.
calculator-experiment
2010-02-08, by Ryan C. Gordon
Removed debug output.
calculator-experiment
2010-02-08, by Ryan C. Gordon
Fixed literal data getting through the parser in one piece.
calculator-experiment
2010-02-08, by Ryan C. Gordon
Initial dumping of parse tree once parsing finishes.
calculator-experiment
2010-02-08, by Ryan C. Gordon
Allow "q" to quit calculator, too.
calculator-experiment
2010-02-08, by Ryan C. Gordon
Make #include callbacks optional.
calculator-experiment
2010-02-08, by Ryan C. Gordon
Cleaned up operator enumeration, put it into ranges, fixed data ops.
calculator-experiment
2010-02-08, by Ryan C. Gordon
Start of experiment with a basic calculator.
calculator-experiment
2010-02-08, by Ryan C. Gordon
Don't suppress #line directives in lemon output.
2010-02-08, by Ryan C. Gordon
Forgot to wrap this in a #if __MOJOSHADER__.
2010-02-07, by Ryan C. Gordon
Allow compiler to strip disabled glsl120 and nvX profiles as dead code.
2009-12-30, by Ryan C. Gordon
Fixed compiler warnings on 64-bit Mac OS X.
2009-12-30, by Ryan C. Gordon
Added a FIXME.
2009-12-30, by Ryan C. Gordon
Minor Ryanification.
2009-12-30, by Ryan C. Gordon
Emit vs_1_1 properly (thanks, Aras!).
2009-12-30, by Ryan C. Gordon
vs_1_1 also has decls on D3D9
2009-12-29, by Aras Pranckevicius
when profile is compiled out, dont crash later
2009-12-29, by Aras Pranckevicius
asm needs bytecode profile
2009-12-29, by Aras Pranckevicius
fix passthrough/bytecode define
2009-12-29, by Aras Pranckevicius
Regenerated mojoshader_lexer.c from mojoshader_lexer.re.
2009-11-15, by Ryan C. Gordon
Bunch of small tweaks to make this compile as C++ code without errors/warnings.
2009-11-15, by Ryan C. Gordon
GLSL Uniform locations are signed ints.
2009-11-15, by Ryan C. Gordon
Keep it simple.
2009-08-28, by Ryan C. Gordon
Pacify compiler warning.
2009-08-26, by Ryan C. Gordon
Fixed compiler warning about Lemon allocator function signature.
2009-08-26, by Ryan C. Gordon
Fixed a compiler warning, for now.
2009-08-26, by Ryan C. Gordon
Forgot to add DEPTH to the list of valid semantics.
2009-08-26, by Ryan C. Gordon
Fixed compiler warning.
2009-08-25, by Ryan C. Gordon
Initializer blocks can nest, like "float4 x[] = { {a,b,c,d}, {a,b,c,d} };"
2009-08-25, by Ryan C. Gordon
Variable declarations can have empty array bounds, like "float x[] = {a,b,c};"
2009-08-25, by Ryan C. Gordon
Allow vector initializers, like "float4 x = {a,b,c,d};"
2009-08-25, by Ryan C. Gordon
Added statement block attributes to the HLSL grammar.
2009-08-25, by Ryan C. Gordon
Modified Lemon to accept a specific amount of conflicts.
2009-08-25, by Ryan C. Gordon
Added totally unhelpful syntax error output.
2009-08-23, by Ryan C. Gordon
Removed some debug code.
2009-08-23, by Ryan C. Gordon
HLSL for loops can have variable declarations: "for (int x=0; x<10; x++) {}"
2009-08-23, by Ryan C. Gordon
HLSL array declarations can be expressions, like "float4 x[(1 + 1) / 2];" ...
2009-08-23, by Ryan C. Gordon
HLSL struct fields can have semantics.
2009-08-23, by Ryan C. Gordon
Apparently "inout" and "in out" are both legal for HLSL function parameters.
2009-08-23, by Ryan C. Gordon
Fixed parsing of HLSL functions that return void.
2009-08-23, by Ryan C. Gordon
Added some structure for user types (struct at the moment).
2009-08-23, by Ryan C. Gordon
Fixed HLSL parsing of structs with array fields.
2009-08-22, by Ryan C. Gordon
Move glsl "#version" pragma to the preflight section, so it's always first.
2009-08-16, by Ryan C. Gordon
Only enable/disable vertex arrays when forced to.
2009-08-15, by Ryan C. Gordon
Don't push uniforms if they've definitely not changed.
2009-08-13, by Ryan C. Gordon
Replaced some constants with #defines.
2009-08-13, by Ryan C. Gordon
Make the bool register file uint8, instead of GLint. Saves 12k of memory.
2009-08-13, by Ryan C. Gordon
Fixed pointer dereference.
2009-08-09, by Ryan C. Gordon
Fixed incorrect variable name.
2009-08-09, by Ryan C. Gordon
Fixed wrong assert; triggered if there were no vertex shader uniforms.
2009-08-09, by Ryan C. Gordon
Optimize/cleanup in uniform array iteration work.
2009-08-08, by Ryan C. Gordon
Cleanups and fixes in ARB1 uniform pushing.
2009-08-08, by Ryan C. Gordon
Fixed cut-and-paste error.
2009-08-08, by Ryan C. Gordon
Moved profileInitProgram to profileFinalInitProgram.
2009-08-07, by Ryan C. Gordon
Use ARB typedef name.
2009-08-07, by Ryan C. Gordon
Serious OpenGL glue surgery to push uniforms as one big array.
2009-08-07, by Ryan C. Gordon
I think this should be "bool" here.
2009-08-07, by Ryan C. Gordon
Cleanup program binding at link time.
2009-08-06, by Ryan C. Gordon
"Must Push" seemed more correct than "Must Load".
2009-08-06, by Ryan C. Gordon
Moved sampler setting to link time, since it only happens once.
2009-08-06, by Ryan C. Gordon
Added some FIXMEs.
2009-08-05, by Ryan C. Gordon
Don't spend time iterating samplers after we know we've set them up.
2009-07-19, by Ryan C. Gordon
Need alloca.h on Solaris.
2009-04-17, by Ryan C. Gordon
Reworked preprocessor macro argument parsing.
2009-04-09, by Ryan C. Gordon
Fixed typo.
2009-04-09, by Ryan C. Gordon
Updated a comment.
2009-04-09, by Ryan C. Gordon
Basic sanity check unit test.
2009-04-09, by Ryan C. Gordon
Added unit test to make sure x() is okay with #define x(a).
2009-04-09, by Ryan C. Gordon
Added unit test framework stub for error testing.
2009-04-09, by Ryan C. Gordon
Added unit test for too many macro args.
2009-04-09, by Ryan C. Gordon
Fixed assertion failure when defining a void-argument macro: "#define a() b"
2009-04-09, by Ryan C. Gordon
Don't report false error when writing a zero-byte file.
2009-04-09, by Ryan C. Gordon
Handle macro arguments that contain parentheses, like macro((1+1),2).
2009-04-09, by Ryan C. Gordon
More preprocessor unit tests.
2009-04-09, by Ryan C. Gordon
Added just-a-comment unit test.
2009-04-09, by Ryan C. Gordon
Added empty file unit test.
2009-04-09, by Ryan C. Gordon
Fixed command lines for unit tests.
2009-04-09, by Ryan C. Gordon
Don't report error output (just PASS or FAIL).
2009-04-09, by Ryan C. Gordon
Minor cleanup; crunch down list to one line.
2009-04-09, by Ryan C. Gordon
Added unit test for parentheses inside a macro call.
2009-04-08, by Ryan C. Gordon
less
more
|
(0)
-240
+240
tip