summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: make sure intrinsics code is guarded with PIPE_ARCH_SSEKeith Whitwell2010-10-121-40/+42
|
* st/xorg: Fix typoThomas Hellstrom2010-10-121-1/+1
| | | | | | Pointed out by Jakob Bornecrantz. Signed-off-by: Thomas Hellstrom <[email protected]>
* gallivm: Name anonymous union.José Fonseca2010-10-122-7/+7
|
* st/xlib: add some commentsBrian Paul2010-10-121-0/+8
|
* llmvpipe: improve mm_mullo_epi32José Fonseca2010-10-121-4/+3
| | | | | Apply Jose's suggestions for a small but measurable improvement in isosurf.
* st/xorg: Don't try to remove invalid fbsThomas Hellstrom2010-10-121-3/+5
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* xorg/vmwgfx: Don't hide HW cursors when updating themThomas Hellstrom2010-10-121-0/+1
| | | | | | Gets rid of annoying cursor flicker Signed-off-by: Thomas Hellstrom <[email protected]>
* st/xorg: Add a customizer option to get rid of annoying cursor update flickerThomas Hellstrom2010-10-123-1/+12
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* xorg/vmwgfx: Make vmwarectrl work also on 64-bit serversThomas Hellstrom2010-10-121-0/+1
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* st/xorg: Don't try to use option values before processing optionsThomas Hellstrom2010-10-121-13/+13
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* Revert "llvmpipe: try to keep plane c values small"Keith Whitwell2010-10-122-24/+17
| | | | | | | This reverts commit 9773722c2b09d5f0615a47cecf4347859474dc56. Looks like there are some floor/rounding issues here that need to be better understood.
* gallivm: don't branch on KILLs near end of shaderKeith Whitwell2010-10-121-10/+47
|
* r600g: add missing file to sconscriptKeith Whitwell2010-10-121-0/+1
|
* gallium: move sse intrinsics debug helpers to u_sse.hKeith Whitwell2010-10-123-117/+79
|
* llvmpipe: Fix MSVC build.José Fonseca2010-10-121-18/+18
| | | | MSVC doesn't accept more than 3 __m128i arguments.
* llvmpipe: fix typo in last commitKeith Whitwell2010-10-121-2/+2
|
* llvmpipe: try to keep plane c values smallKeith Whitwell2010-10-122-17/+24
| | | | Avoid accumulating more and more fixed point bits.
* llvmpipe: add debug helpers for epi32 etcKeith Whitwell2010-10-121-0/+115
|
* llvmpipe: try to do more of rast_tri_3_16 with intrinsicsKeith Whitwell2010-10-122-9/+271
| | | | | | | | There was actually a large quantity of scalar code in these functions previously. This tries to move more into intrinsics. Introduce an sse2 mm_mullo_epi32 replacement to avoid sse4 dependency in the new rasterization code.
* llvmpipe: Do not dispose the execution engine.José Fonseca2010-10-121-3/+0
| | | | The engine is a global owned by gallivm module.
* nouveau: Get larger push buffers.Francisco Jerez2010-10-121-1/+1
| | | | | Useful to amortize the command submission/reloc overhead (e.g. etracer goes from 72 to 109 FPS on nv4b).
* r600g: fix typo in vertex sampling on r600Dave Airlie2010-10-121-1/+1
| | | | | | fixes https://bugs.freedesktop.org/show_bug.cgi?id=30771 Reported-by: Kevin DeKorte
* llvmpipe: Use lp_tgsi_info.José Fonseca2010-10-114-30/+31
|
* gallivm: More detailed analysis of tgsi shaders.José Fonseca2010-10-114-0/+559
| | | | To allow more optimizations, in particular for direct textures.
* tgsi: Export some names for some tgsi enums.José Fonseca2010-10-112-23/+35
| | | | Useful to give human legible names in other cases.
* gallium: Define C99 restrict keyword where absent.José Fonseca2010-10-111-0/+21
|
* gallivm: Eliminate unsigned integer arithmetic from texture coordinates.José Fonseca2010-10-113-42/+32
| | | | | | | | | | | SSE support for 32bit and 16bit unsigned arithmetic is not complete, and can easily result in inefficient code. In most cases signed/unsigned doesn't make a difference, such as for integer texture coordinates. So remove uint_coord_type and uint_coord_bld to avoid inefficient operations to sneak in the future.
* llvmpipe: Remove outdated comment about stencil testing.José Fonseca2010-10-111-9/+2
|
* r600g: don't run with scissors.Dave Airlie2010-10-112-0/+92
| | | | | | This could probably be done much nicer, I've spent a day chasing a coherency problem in the kernel, that turned out to be incorrect scissor setup.
* r600g: add TXL opcode support.Dave Airlie2010-10-111-2/+2
| | | | fixes glsl1-2D Texture lookup with explicit lod (Vertex shader)
* r600g: enable vertex samplers.Dave Airlie2010-10-114-9/+21
| | | | | | | | We need to move the texture sampler resources out of the range of the vertex attribs. We could probably improve this using an allocator but this is the simple answer for now. makes mesa-demos/src/glsl/vert-tex work.
* r600g: evergreen has no request size bit in texture word4Dave Airlie2010-10-112-4/+0
|
* r600g: fix input/output Z export mixup for evergreen.Dave Airlie2010-10-111-1/+1
|
* gallivm: Pass texture coords derivates as scalars.José Fonseca2010-10-104-26/+38
| | | | | We end up treating them as scalars in the end, and it saves some instructions.
* gallivm: Use variables instead of Phis in loops.José Fonseca2010-10-102-42/+23
| | | | With this commit all explicit Phi emission is now gone.
* gallivm: Allow to disable bri-linear filtering with ↵José Fonseca2010-10-103-9/+10
| | | | GALLIVM_DEBUG=no_brilinear runtime option
* gallivm: Fix a long standing bug with nested if-then-else emission.José Fonseca2010-10-101-17/+6
| | | | | | | | | | | | We can't patch true-block at end-if time, as there is no guarantee that the block at the beginning of the true stanza is the same at the end of the true stanza -- other control flow elements may have been emitted half way the true stanza. Although this bug surfaced recently with the commit to skip mip filtering when lod is an integer the bug was always there, although probably it was avoided until now: e.g., cubemap selection nests if-then-else on the else stanza, which does not suffer from the same problem.
* gallivm: Cleanup the rest of the flow module.José Fonseca2010-10-093-211/+39
|
* gallivm: Simplify if/then/else implementation.José Fonseca2010-10-095-91/+34
| | | | No need for for a flow stack anymore.
* gallivm: Factor out the SI->FP texture size conversion for SoA path tooJosé Fonseca2010-10-091-34/+56
|
* gallivm: Remove support for Phi generation.José Fonseca2010-10-093-225/+0
| | | | Simply rely on mem2reg pass. It's easier and more reliable.
* gallivm: Use varilables instead of Phis for cubemap selection.José Fonseca2010-10-091-36/+26
|
* gallivm: Don't generate Phis for execution mask.José Fonseca2010-10-094-17/+32
|
* gallivm: Special bri-linear computation path for unmodified rho.José Fonseca2010-10-091-20/+91
|
* gallivm: Less code duplication in log computation.José Fonseca2010-10-092-35/+88
|
* util: Defined M_SQRT2 when not available.José Fonseca2010-10-091-0/+5
|
* gallivm: Handle code have ret correctly.José Fonseca2010-10-091-2/+4
| | | | Stop disassembling on unconditional backwards jumps.
* llvmpipe: Fix MSVC build. Enable the new SSE2 code on non SSE3 systems.José Fonseca2010-10-091-42/+44
|
* llvmpipe: simplified SSE2 swz/unswz routinesKeith Whitwell2010-10-092-146/+107
| | | | | | | | We've been using these in the linear path for a while now. Based on Chris's SSSE3 code, but using only sse2 opcodes. Speed seems to be identical, but code is simpler & removes dependency on SSE3. Should be easier to extend to other rgba8 formats.
* llvmpipe: clean up shader pre/postamble, try to catch more early-zKeith Whitwell2010-10-093-103/+193
| | | | | | | | | Specifically, can do early-depth-test even when alpahtest or kill-pixel are active, providing we defer the actual z write until the final mask is avaialable. Improves demos/fire.c especially in the case where you get close to the trees.