Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-02-14 | test for POT before using sample_2d_linear_repeat() | Etienne Clement | |
2007-02-14 | fix typo preventing generic arrays from working with ARB_vp (bug #9952) | Roland Scheidegger | |
2007-02-14 | nouveau: nv10: there are 8 clipping regions | Patrice Mandin | |
2007-02-14 | fix stupid bug in the optimized per-vertex fog generation code | Roland Scheidegger | |
2007-02-14 | i915tex: Take into account various mapping states when dropping the | Thomas Hellstrom | |
batch buffer after a resolution / rotation switch. | |||
2007-02-13 | remove dead code | Brian | |
2007-02-12 | I965: fix a failure on waiting irq. | Xiang, Haihao | |
Wait until getting the right fence if drm/i915 resets the counter. | |||
2007-02-12 | fd.o #BZ 9684 | Zou Nan hai | |
gcc may cast an overflowed float value to an negative int value on i386, fix it to make sure at least some apps will not crash if it contains wrong normal data. | |||
2007-02-12 | r300: Add proper support for sin/cos instruction in fragment program | Rune Peterson | |
Getting proper SIN and COS wasn't as easy as it appeared. I had to make make some changes to the fragment program code. general FP changes: - support HHH swizzle for vector instructions. - don't copy a source to a temp when it is not XYZW swizzled, but combine the two and have the swizzle resolve any issues. (saves temps/instructions with more elaborate shader code) - fix overflow in cnstv[]. | |||
2007-02-10 | ctx->Point._Size fix | Rune Peterson | |
2007-02-09 | add prog_debug.c | Brian | |
2007-02-09 | move GL_MESA_program_debug funcs to prog_debug.c | Brian | |
2007-02-09 | Move experimental GL_MESA_program_debug functions into new file. | Brian | |
2007-02-09 | comments, etc | Brian | |
2007-02-09 | re-enable free'ing of IR trees | Brian | |
2007-02-09 | always init param vars to silence valgrind warnings | Brian | |
2007-02-09 | optimize per-pixel fog program | Roland Scheidegger | |
use the same internal state as for vertex fog. From the old implemenentation, this changes a SUB+MUL into a MAD for linear fog, and saves a MUL for EXP/EXP2, plus saves a (constant) parameter. While here, fix the broken (forgotten) swizzling. (untested) | |||
2007-02-09 | array overflow fix | Zou Nan hai | |
2007-02-08 | do full swizzled matching in _mesa_lookup_parameter_constant() | Brian | |
2007-02-08 | Check for constant-valued while/do loop conditions. | Brian | |
Allows us to: 1. avoid generating constant-valued BRK test for while(1).. 2. discard entire loop for while(0). 3. detection infinite loops at compile-time. | |||
2007-02-08 | optimize conditional breaks/continues | Brian | |
2007-02-09 | r200: simplify / unify input map handling for vp and fftnl | Roland Scheidegger | |
Use the same input map handling for fftnl and vertex programs. It doesn't enable any new functionality (should make it easy to support per-vertex materials though), but the code is much cleaner. | |||
2007-02-09 | optimize generated vertex programs a bit | Roland Scheidegger | |
Use new internal state to avoid per-vertex normalization of static spot direction vector. Use internal state for simpler per-vertex fog computations (MAD instead of SUB/MUL for linear fog, EX2 instead of POW for EXP/EXP2 fog). Simplify point size calc (2 MADs instead of MOV, MUL, MUL, DP3), and while there fix it up (RSQ instead of RCP). All untested... | |||
2007-02-09 | fix issues in vp when using FRAG_BIT_WPOS in a fragment program (bug #9910) | Roland Scheidegger | |
Redirect all VERT_RESULT_HPOS writes to a temp and use that for fixup. The viewport transformation still seems to take some shortcuts, and it still does not seem to work at all... | |||
2007-02-08 | cont at top of loop, little clean-ups | Brian | |
2007-02-08 | remove some cruft | Brian | |
2007-02-08 | fix broken BRA for return stmts | Brian | |
2007-02-08 | consolidate BRA with BRK, CONT | Brian | |
2007-02-08 | change BranchTarget to GLint | Brian | |
2007-02-08 | Use conditional break in for/do/while loops. | Brian | |
2007-02-08 | Simplify code with eval_condition(). Implement conditional BRK. | Brian | |
2007-02-07 | remove old loop break/cont stuff | Brian | |
2007-02-07 | high vs. low level if/then/else code emit | Brian | |
2007-02-07 | s/%f/%g/ | Brian | |
2007-02-07 | Remove old functions for generating BRA-based looping. | Brian | |
2007-02-07 | Use IR_LOOP to represent do-while and for-loops. | Brian | |
Also, start moving high vs. low-level instruction selection into slang_emit.c | |||
2007-02-06 | BRK and CONT work the same | 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-06 | replace IR_BEGIN_LOOP/IR_END_LOOP with IR_LOOP | Brian | |
2007-02-06 | new_node[0123]() functions | Brian | |
2007-02-06 | redo IR_IF node, removing IR_ELSE, IR_ENDIF | Brian | |
2007-02-06 | nouveau: a couple of NV3x fixes | Ben Skeggs | |
2007-02-05 | additional comments for BranchTarget | Brian | |
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-06 | Add support for CN700 chipset in miniglx | Jakob Bornecrantz | |
2007-02-05 | minor formatting changes | Brian | |
2007-02-05 | set UseHighLevelInstructions = false for now | Brian | |
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 | indentation for program instructions (if/else, loops) | Brian | |