Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: make sure intrinsics code is guarded with PIPE_ARCH_SSE | Keith Whitwell | 2010-10-12 | 1 | -40/+42 |
| | |||||
* | st/xorg: Fix typo | Thomas Hellstrom | 2010-10-12 | 1 | -1/+1 |
| | | | | | | Pointed out by Jakob Bornecrantz. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | gallivm: Name anonymous union. | José Fonseca | 2010-10-12 | 2 | -7/+7 |
| | |||||
* | st/xlib: add some comments | Brian Paul | 2010-10-12 | 1 | -0/+8 |
| | |||||
* | llmvpipe: improve mm_mullo_epi32 | José Fonseca | 2010-10-12 | 1 | -4/+3 |
| | | | | | Apply Jose's suggestions for a small but measurable improvement in isosurf. | ||||
* | st/xorg: Don't try to remove invalid fbs | Thomas Hellstrom | 2010-10-12 | 1 | -3/+5 |
| | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | xorg/vmwgfx: Don't hide HW cursors when updating them | Thomas Hellstrom | 2010-10-12 | 1 | -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 flicker | Thomas Hellstrom | 2010-10-12 | 3 | -1/+12 |
| | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | xorg/vmwgfx: Make vmwarectrl work also on 64-bit servers | Thomas Hellstrom | 2010-10-12 | 1 | -0/+1 |
| | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | st/xorg: Don't try to use option values before processing options | Thomas Hellstrom | 2010-10-12 | 1 | -13/+13 |
| | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | Revert "llvmpipe: try to keep plane c values small" | Keith Whitwell | 2010-10-12 | 2 | -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 shader | Keith Whitwell | 2010-10-12 | 1 | -10/+47 |
| | |||||
* | r600g: add missing file to sconscript | Keith Whitwell | 2010-10-12 | 1 | -0/+1 |
| | |||||
* | gallium: move sse intrinsics debug helpers to u_sse.h | Keith Whitwell | 2010-10-12 | 3 | -117/+79 |
| | |||||
* | llvmpipe: Fix MSVC build. | José Fonseca | 2010-10-12 | 1 | -18/+18 |
| | | | | MSVC doesn't accept more than 3 __m128i arguments. | ||||
* | llvmpipe: fix typo in last commit | Keith Whitwell | 2010-10-12 | 1 | -2/+2 |
| | |||||
* | llvmpipe: try to keep plane c values small | Keith Whitwell | 2010-10-12 | 2 | -17/+24 |
| | | | | Avoid accumulating more and more fixed point bits. | ||||
* | llvmpipe: add debug helpers for epi32 etc | Keith Whitwell | 2010-10-12 | 1 | -0/+115 |
| | |||||
* | llvmpipe: try to do more of rast_tri_3_16 with intrinsics | Keith Whitwell | 2010-10-12 | 2 | -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é Fonseca | 2010-10-12 | 1 | -3/+0 |
| | | | | The engine is a global owned by gallivm module. | ||||
* | nouveau: Get larger push buffers. | Francisco Jerez | 2010-10-12 | 1 | -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 r600 | Dave Airlie | 2010-10-12 | 1 | -1/+1 |
| | | | | | | fixes https://bugs.freedesktop.org/show_bug.cgi?id=30771 Reported-by: Kevin DeKorte | ||||
* | llvmpipe: Use lp_tgsi_info. | José Fonseca | 2010-10-11 | 4 | -30/+31 |
| | |||||
* | gallivm: More detailed analysis of tgsi shaders. | José Fonseca | 2010-10-11 | 4 | -0/+559 |
| | | | | To allow more optimizations, in particular for direct textures. | ||||
* | tgsi: Export some names for some tgsi enums. | José Fonseca | 2010-10-11 | 2 | -23/+35 |
| | | | | Useful to give human legible names in other cases. | ||||
* | gallium: Define C99 restrict keyword where absent. | José Fonseca | 2010-10-11 | 1 | -0/+21 |
| | |||||
* | gallivm: Eliminate unsigned integer arithmetic from texture coordinates. | José Fonseca | 2010-10-11 | 3 | -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é Fonseca | 2010-10-11 | 1 | -9/+2 |
| | |||||
* | r600g: don't run with scissors. | Dave Airlie | 2010-10-11 | 2 | -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 Airlie | 2010-10-11 | 1 | -2/+2 |
| | | | | fixes glsl1-2D Texture lookup with explicit lod (Vertex shader) | ||||
* | r600g: enable vertex samplers. | Dave Airlie | 2010-10-11 | 4 | -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 word4 | Dave Airlie | 2010-10-11 | 2 | -4/+0 |
| | |||||
* | r600g: fix input/output Z export mixup for evergreen. | Dave Airlie | 2010-10-11 | 1 | -1/+1 |
| | |||||
* | gallivm: Pass texture coords derivates as scalars. | José Fonseca | 2010-10-10 | 4 | -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é Fonseca | 2010-10-10 | 2 | -42/+23 |
| | | | | With this commit all explicit Phi emission is now gone. | ||||
* | gallivm: Allow to disable bri-linear filtering with ↵ | José Fonseca | 2010-10-10 | 3 | -9/+10 |
| | | | | GALLIVM_DEBUG=no_brilinear runtime option | ||||
* | gallivm: Fix a long standing bug with nested if-then-else emission. | José Fonseca | 2010-10-10 | 1 | -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é Fonseca | 2010-10-09 | 3 | -211/+39 |
| | |||||
* | gallivm: Simplify if/then/else implementation. | José Fonseca | 2010-10-09 | 5 | -91/+34 |
| | | | | No need for for a flow stack anymore. | ||||
* | gallivm: Factor out the SI->FP texture size conversion for SoA path too | José Fonseca | 2010-10-09 | 1 | -34/+56 |
| | |||||
* | gallivm: Remove support for Phi generation. | José Fonseca | 2010-10-09 | 3 | -225/+0 |
| | | | | Simply rely on mem2reg pass. It's easier and more reliable. | ||||
* | gallivm: Use varilables instead of Phis for cubemap selection. | José Fonseca | 2010-10-09 | 1 | -36/+26 |
| | |||||
* | gallivm: Don't generate Phis for execution mask. | José Fonseca | 2010-10-09 | 4 | -17/+32 |
| | |||||
* | gallivm: Special bri-linear computation path for unmodified rho. | José Fonseca | 2010-10-09 | 1 | -20/+91 |
| | |||||
* | gallivm: Less code duplication in log computation. | José Fonseca | 2010-10-09 | 2 | -35/+88 |
| | |||||
* | util: Defined M_SQRT2 when not available. | José Fonseca | 2010-10-09 | 1 | -0/+5 |
| | |||||
* | gallivm: Handle code have ret correctly. | José Fonseca | 2010-10-09 | 1 | -2/+4 |
| | | | | Stop disassembling on unconditional backwards jumps. | ||||
* | llvmpipe: Fix MSVC build. Enable the new SSE2 code on non SSE3 systems. | José Fonseca | 2010-10-09 | 1 | -42/+44 |
| | |||||
* | llvmpipe: simplified SSE2 swz/unswz routines | Keith Whitwell | 2010-10-09 | 2 | -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-z | Keith Whitwell | 2010-10-09 | 3 | -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. |