summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* util: Optimise log2().Michal Krol2008-11-121-1/+2
|
* util: Add log2() definition for MSC.Michal Krol2008-11-121-0/+5
|
* draw: Add missing include.Michal Krol2008-11-121-0/+1
|
* gallium: fix comment again. A half-closed interval was intended.Brian2008-11-101-2/+2
| | | | Never saw the [a,b[ notation before.
* gallium: fix typos in commentsBrian Paul2008-11-101-2/+2
|
* gallium: actually flip the coordinatesZack Rusin2008-11-101-1/+2
|
* util: Fix util_fast_pow/exp2/log2.Brian2008-11-092-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 definedBrian2008-11-091-0/+2
|
* gallium: implement TGSI_OPCODE_NRM/NRM4 in tgsi_exec.cBrian2008-11-061-1/+58
|
* gallium: debug code to print vertex array data (disabled)Brian Paul2008-11-061-0/+89
|
* softpipe: debug code (disabled)Brian Paul2008-11-061-0/+8
|
* gallium: check execution mask in indirect register loadsBrian2008-11-051-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 accessesBrian2008-11-051-5/+9
| | | | Fixes progs/vp/arl.txt test.
* gallium: call tgsi_set_exec_mask() and use exec mask in SSE ARL codeBrian Paul2008-11-054-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 Paul2008-11-051-0/+25
|
* gallium: added some sanity check assertions for constant buffer indexingBrian Paul2008-11-051-0/+4
|
* gallium: added some debug code (disabled)Brian Paul2008-11-051-0/+24
|
* gallium: disable some debug outputBrian Paul2008-11-051-1/+2
|
* i915: Remove faulty assertJakob Bornecrantz2008-11-051-1/+0
|
* draw: Implement TGSI_OPCODE_TRUNC.michal2008-11-051-0/+14
|
* tgsi: Implement OPCODE_TRUNC.michal2008-11-051-1/+17
|
* gallium: new sanity assertions in mmAllocMem()Brian Paul2008-10-291-0/+4
|
* gallium: fix copy&paste bugBrian Paul2008-10-291-1/+1
|
* gallium: fix alignment parameter passed to u_mmAllocMem()Brian Paul2008-10-291-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 debuggingKeith Whitwell2008-10-281-1/+1
|
* draw: don't assume output buffer pointer is alignedKeith Whitwell2008-10-071-1/+1
|
* draw: add switch for drivers to force vertex data passthroughKeith Whitwell2008-10-074-19/+33
|
* gallium: replace assertion with conditional/recovery codeBrian2008-10-061-1/+5
| | | | | The assertion failed when we ran out of exec memory. Found with conform texcombine test.
* draw: Fix compiler errors on Windows.Michal Krol2008-10-061-3/+3
|
* rtasm: fix debug buildKeith Whitwell2008-10-061-1/+1
|
* make draw's vertex_info struct smaller/quicker to compare with memcmp()Keith Whitwell2008-10-069-29/+59
|
* rtasm: add sse_movntpsKeith Whitwell2008-10-032-0/+14
|
* draw: modify prefetching slightlyKeith Whitwell2008-10-021-4/+15
|
* draw: don't keep refetching constant inputsKeith Whitwell2008-10-026-62/+144
|
* rtasm: add prefetch instructionsKeith Whitwell2008-10-022-0/+31
|
* draw: add streamlined paths for fetching linear vertsKeith Whitwell2008-10-023-66/+134
|
* Gallivm: add slt. glxgears should be running, except it isn't.Stephane Marchesin2008-10-014-66/+101
|
* Gallivm: port to llvm 2.4.Stephane Marchesin2008-09-305-149/+149
|
* Gallivm: fix off-by-one.Stephane Marchesin2008-09-281-1/+1
|
* Gallivm: more instructions.Stephane Marchesin2008-09-283-8/+73
|
* Gallivm: make it compile again, add some opcodes.Stephane Marchesin2008-09-285-485/+771
|
* tgsi: Build tgsi_text with makeJakob Bornecrantz2008-09-181-0/+1
|
* util: A few more memory debugging checks.José Fonseca2008-09-181-2/+29
|
* util: Add missing p_debug.h include.José Fonseca2008-09-181-0/+1
|
* gallium: fix surface object memory leak in cso moduleBrian Paul2008-09-181-0/+20
|
* tgsi: Make tgsi dumps look more like mesa shader dumps.Jakob Bornecrantz2008-09-181-2/+3
|
* pipebuffer: New callback to flush all temporary-held buffers.José Fonseca2008-09-189-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 Paul2008-09-171-2/+2
|
* gallium: fix tgsi sanity checker with respect to END.Brian Paul2008-09-171-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 Paul2008-09-171-3/+21
| | | | | | cso_set/save/restore_framebuffer() Fixes asst problems with FBO / render to texture.