Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-03-28 | added some null ptr checks to handle error recovery | Brian | |
2007-03-28 | Use constant_to_src_reg() to simplify some code | Brian | |
2007-03-28 | added missing returns after slang_info_log_error() calls | Brian | |
2007-03-28 | Fix, clean-up code related to comparisons, condition codes, etc. | Brian | |
2007-03-28 | print condcodes if DEBUG_PROG | Brian | |
2007-03-28 | expose _mesa_condcode_string(), fix some printing | Brian | |
2007-03-28 | check that if/while/do-while condition is boolean or scalar | Brian | |
2007-03-27 | Implement true CAL/RET subroutines. Some optimizations, clean-ups coming... | Brian | |
2007-03-27 | fix another pc off-by one | Brian | |
2007-03-27 | added _slang_label_new_unique() | Brian | |
2007-03-27 | fix some printing issues related to subroutines | Brian | |
2007-03-27 | fix off by one error in OPCODE_RET | Brian | |
2007-03-26 | s/SUB/BGNSUB/ | Brian | |
2007-03-26 | Checkpoint: implementing true CAL/RET instructions for subroutine calls. | Brian | |
Also, found/fixed a code generation regression: the emit_swizzle() function was always returning NULL. This caused emit_move() to miss its chance at peephole optimization. | |||
2007-03-26 | Get rid of IR_JUMP and related code. | Brian | |
2007-03-26 | special case RET | Brian | |
2007-03-26 | Get rid of SLANG_OPER_GOTO, start rewrite of 'return' handling. | Brian | |
2007-03-26 | remove debug abort() calls | Brian | |
2007-03-26 | Additional error checking for 'return' statements. | Brian | |
2007-03-26 | undo some debugging hacks | Brian | |
2007-03-26 | dead code elimination for constant-valued if/then/else | Brian | |
2007-03-26 | Fix a few issues with computing storage sizes with respect to swizzles. | Brian | |
2007-03-26 | In _mesa_lookup_parameter_constant() make sure we return a full, 4-component ↵ | Brian | |
swizzle. | |||
2007-03-26 | remove incorrect assertions | Brian | |
2007-03-26 | disable printing shader program debug info | Brian | |
2007-03-26 | disable free() until other issues can be fixed... | Brian | |
2007-03-26 | fix mem leak, add comments | Brian | |
2007-03-24 | fix mem leak | Brian | |
2007-03-24 | disable free(var->aux) -- can lead to segfault | Brian | |
2007-03-24 | fix mem leak | Brian | |
2007-03-24 | fix some mem leaks | Brian | |
2007-03-24 | Free shader-related context state: _mesa_free_shader_state() | Brian | |
2007-03-24 | free prog->Attributes in _mesa_delete_program() | Brian | |
2007-03-24 | fix mistake in _slang_free_ir() | Brian | |
2007-03-24 | Properly free the slang_ir_node->Store data (use ref counting). | Brian | |
2007-03-24 | move some code into new slang_ir.c file | Brian | |
2007-03-24 | IR utility functions | Brian | |
2007-03-23 | Fix issues related to the 'continue' statement. | Brian | |
IR_LOOP now has two children: the body code, and the tail code. Tail code is the "i++" part of a for-loop, or the expression at the end of a "do {} while(expr);" loop. "continue" translates into: "execute tail code; CONT;" Also, the test for infinite do/while loops was incorrect. | |||
2007-03-23 | consolidate some code | Brian | |
2007-03-23 | Add the ability to generate programs that doesn't use condition codes. | Brian | |
ctx->Shader.EmitCondCodes determines if we use condition codes. If not, IF statement uses first operand's X component as the condition. Added OPCODE_BRK0, OPCODE_BRK1, OPCODE_CONT0, OPCODE_CONT1 to handle the common cases of conditional break/continue. | |||
2007-03-23 | minor tweaks | Brian | |
2007-03-23 | updated comment | Brian | |
2007-03-22 | updated comment | Brian | |
2007-03-22 | Overhaul emit_compare() function. | Brian | |
Previously, comparing vec2, vec3, vec4 was broken. Added IR_EQUAL, IR_NOTEQUAL nodes/operators to compute boolean equality/inequality vs. IR_SEQUAL/IR_SNEQUAL which work component-wise. Use IR_EQUAL/IR_NOTEQUAL for the == and != operators. To compute vec4 equality, use SNE, DP4, SEQ instruction sequence. | |||
2007-03-22 | First pass at implementing structure compares. | Brian | |
Need to improve this. There may be holes in a structure so we can't just blindly compare the full 4-float registers. | |||
2007-03-22 | use _mesa_copy_instructions() | Brian | |
2007-03-22 | In _mesa_add_unnamed_constant() and _mesa_lookup_parameter_constant() allow ↵ | Brian | |
swizzleOut==NULL. There are times when we don't want to allow swizzling when searching for or adding vector constants. Passing NULL for swizzleOut disables swizzling. This fixes a constant/swizzle bug in link_uniform_vars(). | |||
2007-03-22 | print conditional writemask, if enabled | Brian | |
2007-03-21 | added SWIZZLE_XYZW | Brian | |
2007-03-21 | Support for user-defined structures. | Brian | |
struct == and != operators not finished yet. Struct assignment works though. |