Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-01-16 | use NEGATE_X/Y/Z/W tokens | Brian | |
2007-10-30 | special-case KIL/KIL_NV | Brian | |
2007-10-30 | check for NULL ptr in _mesa_print_parameter_list() | Brian | |
2007-10-26 | Re-implement GLSL texture sampler variables. | Brian | |
GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime. | |||
2007-03-28 | Get rid of BRK0, BRK1, CONT0, CONT1 instructions. | Brian | |
2007-03-28 | expose _mesa_condcode_string(), fix some printing | Brian | |
2007-03-27 | fix some printing issues related to subroutines | Brian | |
2007-03-26 | s/SUB/BGNSUB/ | Brian | |
2007-03-26 | special case RET | Brian | |
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-22 | print conditional writemask, if enabled | Brian | |
2007-02-23 | re-expose _mesa_print_alu_instruction() | Brian | |
2007-02-22 | expose _mesa_swizzle_string() | Brian | |
2007-02-22 | fix negative indentation problem | Brian | |
2007-02-17 | s/PROG_PRINT_ARB/PROG_PRINT_DEBUG/ | Brian | |
2007-02-17 | Lots of changes to prog_print.c code. | Brian | |
Mainly, allow printing programs in either ARB, NV or "debug" formats. | |||
2007-02-07 | s/%f/%g/ | Brian | |
2007-02-06 | Implement CONT, improve BRK. | Brian | |
IR_LOOP's BranchNode ptr is the head of a linked list of CONT and BRK nodes. After emitting loop, walk over the linked list, filling in the CONT/BRK instruction's BranchTarget field (location of the ENDLOOP instruction, or one past). | |||
2007-02-05 | BRK instruction's BranchTarget field now used for efficiently breaking out ↵ | Brian | |
of loops. BRK's BranchTarget field actually points to the top of the loop, not the bottom, since we don't know the later's location yet. In the interpreter, basically do an indirect jump to update the PC. | |||
2007-02-05 | Use IR node's BranchNode field for IF/ELSE/ENDIF instructions. | Brian | |
This allows us to back-patch the IF/ELSE instruction's BranchTarget field to point to the location of the ELSE/ENDIF instructions. No longer have to search for ELSE/ENDIF in the interpreter. Also makes it trivial to translate IF/ELSE instructions into conditional/unconditional BRA instructions. | |||
2007-02-05 | minor formatting changes | Brian | |
2007-02-05 | indentation for program instructions (if/else, loops) | Brian | |
2007-01-31 | Overhaul handling of writemasks/swizzling. This fixes two problem cases: | Brian | |
vec2 v; v.x = v.y = 1.0; // chained assignment vec4 v; v.zx = vec2(a,b); // swizzled writemask | |||
2007-01-20 | Initial implementation of OPCODE_IF/ELSE/ENDIF instructions. | Brian | |
2007-01-05 | added PROGRAM_SAMPLER | Brian | |
2007-01-04 | minor formatting fix | Brian | |
2006-12-20 | added _mesa_print_parameter_list() | Brian | |
2006-12-18 | Check for inst->CondUpdate, print .C suffix. | Brian | |
2006-12-16 | print BRA instructions | Brian | |
2006-12-15 | fix double-printing of comment info | Brian | |
2006-12-14 | remove unneded includes | Brian | |
2006-12-14 | Move some code from prog_print.c to prog_instruction.c | Brian | |
2006-12-14 | Split the program.[ch] files into several new files. | Brian | |