Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | softpipe: debug code (disabled) | Brian Paul | 2008-11-06 | 1 | -0/+8 |
| | |||||
* | 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 | 4 | -4/+54 |
| | | | | | 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 |
| | |||||
* | i915: Remove faulty assert | Jakob Bornecrantz | 2008-11-05 | 1 | -1/+0 |
| | |||||
* | 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. | ||||
* | gallium: recognize DEBUG as well as DBG for debugging | Keith Whitwell | 2008-10-28 | 1 | -1/+1 |
| | |||||
* | 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 | 9 | -29/+59 |
| | |||||
* | rtasm: add sse_movntps | Keith Whitwell | 2008-10-03 | 2 | -0/+14 |
| | |||||
* | draw: modify prefetching slightly | Keith Whitwell | 2008-10-02 | 1 | -4/+15 |
| | |||||
* | draw: don't keep refetching constant inputs | Keith Whitwell | 2008-10-02 | 6 | -62/+144 |
| | |||||
* | rtasm: add prefetch instructions | Keith Whitwell | 2008-10-02 | 2 | -0/+31 |
| | |||||
* | draw: add streamlined paths for fetching linear verts | Keith Whitwell | 2008-10-02 | 3 | -66/+134 |
| | |||||
* | Gallivm: add slt. glxgears should be running, except it isn't. | Stephane Marchesin | 2008-10-01 | 4 | -66/+101 |
| | |||||
* | Gallivm: port to llvm 2.4. | Stephane Marchesin | 2008-09-30 | 5 | -149/+149 |
| | |||||
* | Gallivm: fix off-by-one. | Stephane Marchesin | 2008-09-28 | 1 | -1/+1 |
| | |||||
* | Gallivm: more instructions. | Stephane Marchesin | 2008-09-28 | 3 | -8/+73 |
| | |||||
* | Gallivm: make it compile again, add some opcodes. | Stephane Marchesin | 2008-09-28 | 5 | -485/+771 |
| | |||||
* | tgsi: Build tgsi_text with make | Jakob Bornecrantz | 2008-09-18 | 1 | -0/+1 |
| | |||||
* | util: A few more memory debugging checks. | José Fonseca | 2008-09-18 | 1 | -2/+29 |
| | |||||
* | util: Add missing p_debug.h include. | José Fonseca | 2008-09-18 | 1 | -0/+1 |
| | |||||
* | gallium: fix surface object memory leak in cso module | Brian Paul | 2008-09-18 | 1 | -0/+20 |
| | |||||
* | tgsi: Make tgsi dumps look more like mesa shader dumps. | Jakob Bornecrantz | 2008-09-18 | 1 | -2/+3 |
| | |||||
* | pipebuffer: New callback to flush all temporary-held buffers. | José Fonseca | 2008-09-18 | 9 | -11/+113 |
| | | | | | Used mostly to aid debugging memory issues or to clean up resources when the drivers are long lived. | ||||
* | gallium: fix wide point / point coord semantic info (generic, not fog) | Brian Paul | 2008-09-17 | 1 | -2/+2 |
| | |||||
* | gallium: fix tgsi sanity checker with respect to END. | Brian Paul | 2008-09-17 | 1 | -9/+7 |
| | | | | | | Subroutine code may be found after the END instruction so it's not always the last instruction. At least check for presence of exactly one END instruction though. | ||||
* | gallium: fix lack of surface reference counting in ↵ | Brian Paul | 2008-09-17 | 1 | -3/+21 |
| | | | | | | cso_set/save/restore_framebuffer() Fixes asst problems with FBO / render to texture. |