Mercurial
Mercurial
>
icculus
>
mojoshader
/ graph
summary
|
shortlog
|
changelog
| graph |
tags
|
bookmarks
|
branches
|
files
|
help
less
more
|
(0)
-1000
-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.
arb1: use MAD opcode for SRCMOD_SIGN instead of a SUB+MUL pair.
2012-04-18, by Ryan C. Gordon
arb1: implement most of the srcmods.
2012-04-18, by Ryan C. Gordon
According to MSDN, _db and _da are legit srcmods, identical to _dz and _dw.
2012-04-18, by Ryan C. Gordon
glsl: Implemented most of the missing srcmods.
2012-04-18, by Ryan C. Gordon
glsl: Implemented SRCMOD_BIAS and SRCMOD_BIASNEGATE.
2012-04-17, by Ryan C. Gordon
Properly handle coissue instructions.
2012-04-17, by Ryan C. Gordon
arb1: Implemented CND opcode.
2012-04-17, by Ryan C. Gordon
arb1: Handle destination modifiers for TEXBEM/TEXBEML.
2012-04-17, by Ryan C. Gordon
First shot at GLSL/ARB1 support for TEXBEM and TEXBEML opcodes.
2012-04-17, by Ryan C. Gordon
Fixed arb1 version of ps_1_1 TEXLD opcode.
2012-04-16, by Ryan C. Gordon
Implement ps_1_1 TEX opcode for arb1 and glsl profiles.
2012-04-15, by Ryan C. Gordon
Cut-and-paste error.
2012-04-15, by Ryan C. Gordon
Fixed CND state validation for ps_1_1.
2012-04-15, by Ryan C. Gordon
Test for reading of uninitialized temp registers.
2012-04-15, by Ryan C. Gordon
Fail if Shader Model 1 pixel shaders don't write to r0.
2012-04-15, by Ryan C. Gordon
Note whether a given register was written to by the shader.
2012-04-14, by Ryan C. Gordon
Added some FIXMEs.
2012-04-14, by Ryan C. Gordon
Pixel Shader Model 1 writes color output to r0, not oC0. Deal with this.
2012-04-14, by Ryan C. Gordon
M4X4 opcode can actually overflow some string buffers.
2012-04-13, by Ryan C. Gordon
Fixed the GLSL LIT opcode.
2012-04-13, by Ryan C. Gordon
ARB1 profile: implemented matrix multiply opcodes.
2012-04-13, by Ryan C. Gordon
Cleaned up some cut-and-paste.
2012-04-13, by Ryan C. Gordon
Removed some FIXMEs...I think this code is right as-is.
2012-04-13, by Ryan C. Gordon
Flag more registers as scalar. Fixes use of dcl_fog, oPts and oFog registers.
2012-04-12, by Ryan C. Gordon
Corrected scalar opcode behavior in the preshader virtual machine.
2012-01-04, by Ryan C. Gordon
Cleaned up half-float stuff.
2011-12-21, by Ryan C. Gordon
Fixed up calling GL2 vs ARB extension entry points.
2011-12-21, by Ryan C. Gordon
We never actually use glGetProgramStringARB().
2011-12-21, by Ryan C. Gordon
Reworked GLSL extension and version detection.
2011-12-21, by Ryan C. Gordon
Extremely minor tweak.
2011-11-28, by Ryan C. Gordon
Documented MOJOSHADER_glBindShaders().
2011-11-15, by Ryan C. Gordon
Forgot a piece with SUPPORT_PRESHADERS preprocessor test.
2011-11-11, by Ryan C. Gordon
Added MOJOSHADER_glBindShaders().
2011-11-11, by Ryan C. Gordon
Implemented hash_iter_keys().
2011-11-11, by Ryan C. Gordon
Minor hash_iter() code cleanup.
2011-11-11, by Ryan C. Gordon
Several preshader fixes and static analysis tweaks.
2011-10-25, by Ryan C. Gordon
Fixed use of wrong variable in setting preshader temp register counts.
2011-10-25, by Ryan C. Gordon
Set relative_component correctly when parsing source registers.
2011-10-24, by Ryan C. Gordon
Fixed a few things clang's static analysis reported.
2011-10-20, by Ryan C. Gordon
Fixed must-copy version of stringmap_insert().
2011-10-20, by Ryan C. Gordon
Let d3d and bytecode profiles use relative addressing without a CTAB.
2011-08-01, by Ryan C. Gordon
Assembler: fixed bug where relative addressing failed parsing.
2011-08-01, by Ryan C. Gordon
Toggle pointsize support as necessary in the OpenGL bindings.
2011-06-20, by Ryan C. Gordon
Report shader outputs in MOJOSHADER_parseData.
2011-06-20, by Ryan C. Gordon
Treat dcl_psize registers as scalar.
2011-06-20, by Ryan C. Gordon
Maybe fix scalar operations in preshader interpreter.
2011-06-09, by Ryan C. Gordon
Don't allocate zero bytes for MOJOSHADER_symbolTypeInfo::members.
2011-06-09, by Ryan C. Gordon
Fixed off-by-one error in testparse.
2011-06-02, by Ryan C. Gordon
Fixed temp count in preshaders.
2011-06-02, by Ryan C. Gordon
ARB1: Use OPTION ARB_position_invariant if we didn't write to result.position.
2011-06-02, by Ryan C. Gordon
ARB1, GLSL: Deal with multiple draw buffers (registers oC1, etc).
2011-06-02, by Ryan C. Gordon
Don't try to allocate a temp array if the preshader has no temps.
2011-06-01, by Ryan C. Gordon
Place preshader destination register last in operand list.
2011-06-01, by Ryan C. Gordon
Fixed wrong array offset in preshader interpreter.
2011-06-01, by Ryan C. Gordon
Report preshader symbol table in testparse.
2011-06-01, by Ryan C. Gordon
Preshader input registers are separate from the actual shader constant file!
2011-06-01, by Ryan C. Gordon
Export symbol information for preshaders.
2011-06-01, by Ryan C. Gordon
Fixed compiler warnings.
2011-06-01, by Ryan C. Gordon
Added functions to query the register files.
2011-06-01, by Ryan C. Gordon
Run preshaders during MOJOSHADER_glProgramReady().
2011-05-31, by Ryan C. Gordon
Allow preshader support to be #ifdef'd out, to reduce binary size.
2011-05-31, by Ryan C. Gordon
Filled in and fixed some stuff in the Effect parser.
2011-05-31, by Ryan C. Gordon
First shot at preshader interpreter. Completely untested!
2011-05-31, by Ryan C. Gordon
Changed CMPLT and CMPGE to LT and GE, to match what fxc spits out.
2011-05-31, by Ryan C. Gordon
Found, I think, the final preshader opcodes.
2011-05-31, by Ryan C. Gordon
Added DIV preshader opcode.
2011-05-30, by Ryan C. Gordon
Added some more preshader opcodes, cleaned up opcode handling elsewhere.
2011-05-30, by Ryan C. Gordon
Put preshader opcode switch in numeric order. Makes missing values obvious.
2011-05-30, by Ryan C. Gordon
Initial work on preshader support.
2011-05-30, by Ryan C. Gordon
Moved some logic around in parsing CTABs.
2011-05-29, by Ryan C. Gordon
Parse symbols in the CTAB, export them in MOJOSHADER_parseData.
2011-05-29, by Ryan C. Gordon
Recover slightly better from unrecognized instruction tokens.
2011-05-29, by Ryan C. Gordon
GLSL: texldd-specific arguments need to be cast to vec2.
2011-05-24, by Ryan C. Gordon
Favor GL_ARB_shader_texture_lod over GL_EXT_gpu_shader4.
2011-05-24, by Ryan C. Gordon
Test for the GL extension, not whether the entry point is NULL.
2011-05-24, by Ryan C. Gordon
Cleaned up GL symbol lookup slightly.
2011-05-24, by Ryan C. Gordon
Updated copyright year.
2011-05-22, by Ryan C. Gordon
Fixed memory leak in MOJOSHADER_freeEffect().
2011-05-22, by Ryan C. Gordon
Implemented TEXLDD opcode for GLSL, ARB1, and NV2.
2011-05-22, by Ryan C. Gordon
Initial work on parsing binary Effects files.
2011-05-22, by Ryan C. Gordon
Corrected out of memory error position.
2011-05-22, by Ryan C. Gordon
Fixed typo in documentation.
2011-05-22, by Ryan C. Gordon
Moved print_whole_ir() up next to print_ir().
2011-03-20, by Ryan C. Gordon
Store the IR in an array.
2011-03-20, by Ryan C. Gordon
Store the unique id from push_function() in the AST during semantic analysis.
2011-03-19, by Ryan C. Gordon
Fixed incorrect variable reference.
2011-03-19, by Ryan C. Gordon
Fixed struct dereference reporting wrong type in the IR.
2011-03-16, by Ryan C. Gordon
Implemented the Intermediate Representation.
2011-03-15, by Ryan C. Gordon
Added a FIXME.
2011-03-15, by Ryan C. Gordon
Note the member index in struct deref, so we don't have to calculate it again.
2011-03-15, by Ryan C. Gordon
Added a FIXME.
2011-03-15, by Ryan C. Gordon
Added a pile of FIXMEs.
2011-03-03, by Ryan C. Gordon
Fixed a misunderstanding about how the AST of a for-loop initializer works.
2011-03-02, by Ryan C. Gordon
Make note of how many times a symbol is referenced.
2011-03-02, by Ryan C. Gordon
Semantic analysis: make sure break and continue are inside loops and switches.
2011-03-02, by Ryan C. Gordon
Switch statements were dropping the ball on semantic analysis.
2011-03-02, by Ryan C. Gordon
Removed some debug code.
2011-02-23, by Ryan C. Gordon
Minor tweaks in case I expose semantic analysis phase to the public API later.
2011-02-23, by Ryan C. Gordon
Disable debug output.
2011-02-22, by Ryan C. Gordon
Fixed incorrect union accesses.
2011-02-22, by Ryan C. Gordon
Fixed stupid bug in stupid debug code. :)
2011-02-22, by Ryan C. Gordon
Yet another approach to overloaded function selection.
2011-02-22, by Ryan C. Gordon
Yet-another attempt at getting function overloading selection correct.
2011-02-21, by Ryan C. Gordon
More work on ambiguous function overloads.
2011-02-21, by Ryan C. Gordon
Assembler: fixed *_gt conditional.
2011-02-21, by Ryan C. Gordon
Fixed logic in error reporting on ambiguous function calls.
2011-02-10, by Ryan C. Gordon
Don't print loop attributes if user didn't explicitly specify one.
2011-02-10, by Ryan C. Gordon
More work on overloaded intrinsic functions.
2011-02-10, by Ryan C. Gordon
More work on fixing up overloaded function selection.
2011-02-10, by Ryan C. Gordon
Add more intrinsic function overloads. This is getting out of control now.
2011-02-10, by Ryan C. Gordon
More work on overloaded function matching.
2011-02-09, by Ryan C. Gordon
Allow constructors with sub-vectors (or whatever you'd call this).
2011-02-06, by Ryan C. Gordon
Fixed some uninitialized memory reads, compliments of valgrind.
2011-01-19, by Ryan C. Gordon
Vectors and matrices can be dereferenced like arrays.
2011-01-19, by Ryan C. Gordon
Fixed dropping pieces of structs with comma-separated members.
2011-01-19, by Ryan C. Gordon
Let type coercion deal with vectors and matrices.
2011-01-18, by Ryan C. Gordon
Moved assignment into the scope where it's actually used.
2011-01-18, by Ryan C. Gordon
Don't use the reduced type when choosing a swizzle.
2011-01-18, by Ryan C. Gordon
Make sure swizzle isn't too large ("float2(1,2).xyz" is invalid).
2011-01-18, by Ryan C. Gordon
Vector swizzling now reports correct type.
2011-01-18, by Ryan C. Gordon
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
less
more
|
(0)
-1000
-240
tip