Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | draw: Silencium compiler warnings on Windows. | Michal Krol | 2008-12-11 | 1 | -1/+1 |
| | |||||
* | gallium: added draw_set_mrd() function to fix polygon offset | Brian Paul | 2008-12-10 | 4 | -2/+16 |
| | | | | | | | | The Minimum Resolvable Depth factor depends on the driver and can't just be computed from the number of Z buffer bits. Glean's polygon offset test now passes with softpipe. Still need to determine the MRD factor for other gallium drivers, if they use the draw module's polygon offset stage... | ||||
* | util: new funcs for triming/validating primitives | Keith Whitwell | 2008-12-10 | 1 | -0/+122 |
| | |||||
* | draw: add const qualifiers | Keith Whitwell | 2008-12-10 | 2 | -4/+4 |
| | |||||
* | gallium: Abort by default on windows user space. | José Fonseca | 2008-12-09 | 1 | -1/+1 |
| | |||||
* | tgsi: Reenable OPCODE_ARR. | Michal Krol | 2008-11-26 | 1 | -3/+2 |
| | |||||
* | tgsi: Fix build. | Michal Krol | 2008-11-26 | 1 | -6/+2 |
| | |||||
* | tgsi: Implement OPCODE_ROUND for SSE2 backend. | Michal Krol | 2008-11-26 | 1 | -1/+28 |
| | |||||
* | tgsi: Implement OPCODE_SSG/SGN. | Michal Krol | 2008-11-26 | 2 | -2/+46 |
| | |||||
* | gallium: disable TGSI_OPCODE_ARR case until emit_rnd() is redone. | Brian Paul | 2008-11-26 | 1 | -1/+2 |
| | |||||
* | Revert "tgsi: Implement OPCODE_ROUND for SSE2 backend." | Brian Paul | 2008-11-26 | 1 | -28/+1 |
| | | | | | | | This reverts commit 685fd2c035e284db2447ede0f6da278adaa70a0d. Does not compile since emit_rnd() is trying to pass 4 params to emit_func_call_dst() which takes 3 params. | ||||
* | tgsi: Implement OPCODE_ARR. | Michal Krol | 2008-11-26 | 2 | -5/+7 |
| | |||||
* | tgsi: Implement OPCODE_ROUND for SSE2 backend. | Michal Krol | 2008-11-26 | 1 | -1/+28 |
| | |||||
* | pipebuffer: Fix buffer overflow. | José Fonseca | 2008-11-25 | 1 | -1/+1 |
| | |||||
* | pipebuffer: Ondemand buffer manager. | José Fonseca | 2008-11-24 | 4 | -0/+319 |
| | | | | | A variation of malloc buffers which get transferred to real graphics memory when there is an attempt to validate them. | ||||
* | pipebuffer: Implement proper buffer validation. | José Fonseca | 2008-11-24 | 14 | -108/+367 |
| | |||||
* | gallium: Use costum log2 for all windows builds. | José Fonseca | 2008-11-17 | 1 | -6/+8 |
| | |||||
* | gallium: State when there are no memory leaks detected. | José Fonseca | 2008-11-17 | 1 | -0/+6 |
| | |||||
* | gallium: Make handle_table reentrant. | José Fonseca | 2008-11-17 | 1 | -8/+26 |
| | | | | | | | Ensure that the object has consistent state also when calling the destroy callback. Namely, ensure the object passed to the callback is removed from the table prior to calling the destroy callback to avoid a infinite loop or double free. | ||||
* | gallium: increase table size for fast log/pow functions | Brian Paul | 2008-11-14 | 2 | -4/+6 |
| | | | | The various conformance tests pass now. | ||||
* | util: Use OpenGL rasterization rules in blits and mipmap generation. | Brian Paul | 2008-11-14 | 2 | -0/+2 |
| | |||||
* | translate: pull in prefetch and other optimizations from draw_vs_aos.c | Keith Whitwell | 2008-11-14 | 2 | -112/+204 |
| | |||||
* | util: Optimise log2(). | Michal Krol | 2008-11-12 | 1 | -1/+2 |
| | |||||
* | util: Add log2() definition for MSC. | Michal Krol | 2008-11-12 | 1 | -0/+5 |
| | |||||
* | draw: Add missing include. | Michal Krol | 2008-11-12 | 1 | -0/+1 |
| | |||||
* | gallium: fix comment again. A half-closed interval was intended. | Brian | 2008-11-10 | 1 | -2/+2 |
| | | | | Never saw the [a,b[ notation before. | ||||
* | gallium: fix typos in comments | Brian Paul | 2008-11-10 | 1 | -2/+2 |
| | |||||
* | gallium: actually flip the coordinates | Zack Rusin | 2008-11-10 | 1 | -1/+2 |
| | |||||
* | util: Fix util_fast_pow/exp2/log2. | Brian | 2008-11-09 | 2 | -69/+64 |
| | | | | | | | | | | | | | | | | | | | | - Use a lookup table for log2. - Compute (float) (1 << ipart) by tweaking with the exponent directly to avoid integer overflow and float conversion. - Also table negative exponents to avoid float division and branching. - Implement util_fast_exp as function of util_fast_exp2. -------- Cherry-picked from gallium-0.2: 8415d06d90a197e16554dab98d160334fd9f9f93 This fixes some pow() glitches seen in fslight.c, spectex.c, etc. Conflicts: src/gallium/auxiliary/util/u_math.h | ||||
* | gallium: _debug_vprintf() should be silent if DEBUG is not defined | Brian | 2008-11-09 | 1 | -0/+2 |
| | |||||
* | gallium: implement TGSI_OPCODE_NRM/NRM4 in tgsi_exec.c | Brian | 2008-11-06 | 1 | -1/+58 |
| | |||||
* | gallium: debug code to print vertex array data (disabled) | Brian Paul | 2008-11-06 | 1 | -0/+89 |
| | |||||
* | gallium: check execution mask in indirect register loads | Brian | 2008-11-05 | 1 | -0/+23 |
| | | | | | Zero-out the index for disabled execution channels to avoid using potential garbage values (thus avoiding bad array indexing). | ||||
* | gallium: don't range check tgsi register index for indirect accesses | Brian | 2008-11-05 | 1 | -5/+9 |
| | | | | Fixes progs/vp/arl.txt test. | ||||
* | gallium: call tgsi_set_exec_mask() and use exec mask in SSE ARL code | Brian Paul | 2008-11-05 | 3 | -3/+52 |
| | | | | | This prevents vertex shaders from referencing invalid memory locations when the shader is operating on less than four vertices or fragments. | ||||
* | gallium: added tgsi_set_exec_mask() | Brian Paul | 2008-11-05 | 1 | -0/+25 |
| | |||||
* | gallium: added some sanity check assertions for constant buffer indexing | Brian Paul | 2008-11-05 | 1 | -0/+4 |
| | |||||
* | gallium: added some debug code (disabled) | Brian Paul | 2008-11-05 | 1 | -0/+24 |
| | |||||
* | gallium: disable some debug output | Brian Paul | 2008-11-05 | 1 | -1/+2 |
| | |||||
* | draw: Implement TGSI_OPCODE_TRUNC. | michal | 2008-11-05 | 1 | -0/+14 |
| | |||||
* | tgsi: Implement OPCODE_TRUNC. | michal | 2008-11-05 | 1 | -1/+17 |
| | |||||
* | gallium: new sanity assertions in mmAllocMem() | Brian Paul | 2008-10-29 | 1 | -0/+4 |
| | |||||
* | gallium: fix copy&paste bug | Brian Paul | 2008-10-29 | 1 | -1/+1 |
| | |||||
* | gallium: fix alignment parameter passed to u_mmAllocMem() | Brian Paul | 2008-10-29 | 1 | -2/+2 |
| | | | | | | Was 32, now 5. The param is expressed as a power of two exponent. The net effect is that the alignment was a no-op on X86 but on PPC we always got the same memory address everytime rtasm_exec_malloc() was called. | ||||
* | draw: don't assume output buffer pointer is aligned | Keith Whitwell | 2008-10-07 | 1 | -1/+1 |
| | |||||
* | draw: add switch for drivers to force vertex data passthrough | Keith Whitwell | 2008-10-07 | 4 | -19/+33 |
| | |||||
* | gallium: replace assertion with conditional/recovery code | Brian | 2008-10-06 | 1 | -1/+5 |
| | | | | | The assertion failed when we ran out of exec memory. Found with conform texcombine test. | ||||
* | draw: Fix compiler errors on Windows. | Michal Krol | 2008-10-06 | 1 | -3/+3 |
| | |||||
* | rtasm: fix debug build | Keith Whitwell | 2008-10-06 | 1 | -1/+1 |
| | |||||
* | make draw's vertex_info struct smaller/quicker to compare with memcmp() | Keith Whitwell | 2008-10-06 | 6 | -19/+49 |
| |