Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Initial implementation of high-level flow-control instructions. | Brian | |
IF/ELSE/ENDIF and BEGIN_LOOP/END_LOOP/BREAK instructions seem to work. Disabled by default though until better tested. Implemented IR_NOT, but needs optimization. | |||
2007-02-05 | Initial support of loop and subroutine instructions. | Brian | |
New high-level flow-control instructions, both at IR level and GPU instructions for looping and subroutines. | |||
2007-02-02 | fix maxInst argument | Brian | |
2007-02-02 | simplify derivative-related code | Brian | |
2007-02-02 | Replace color, z, w, texture interpolants with new generic attrib interpolants. | Brian | |
2007-02-02 | New span attrStart/attrStepX/attrStepY fields to replace fog, specular, etc. ↵ | Brian | |
fields. More to come. | |||
2007-02-01 | New SWspanarrays attribs[] array. | Brian | |
Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed by FRAG_ATTRIB_* values. Eliminates need to copy data into fragment program machine input registers. Will lead to future clean-ups. | |||
2007-02-01 | additional assertions, bump up MAX_EXEC | Brian | |
2007-01-28 | noise functions | Brian | |
2007-01-25 | fixes, clean-ups, transpose span->varying array indexing | Brian | |
2007-01-23 | fix g++ warnings/errors | Brian | |
2007-01-20 | Initial implementation of OPCODE_IF/ELSE/ENDIF instructions. | Brian | |
2007-01-17 | Added OPCODE_INT to convert 4 floats to 4 ints. | Brian | |
2007-01-09 | more debug code (disabled) | Brian | |
2007-01-08 | check if _Current == NULL for TXB | Brian | |
2006-12-18 | Added instruction counter to catch infinite loops (temporary). | Brian | |
2006-12-16 | fix comment, handle NOP | Brian | |
2006-12-15 | Renamed s_nvfragprog.[ch] to s_fragprog.[ch] | Brian | |
2006-12-14 | Renamed from s_nvfragprog.[ch] | Brian | |