Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-13 | r600g: fix scissor/cliprect confusion | Dave Airlie | |
gallium calls them scissors, but r600 hw like r300 is better off using cliprects to implement them as we can turn them on/off a lot easier. | |||
2010-10-13 | r600g: fix depth0 setting | Dave Airlie | |
2010-10-12 | draw/llvmpipe: replace DRAW_MAX_TEXTURE_LEVELS with PIPE_MAX_TEXTURE_LEVELS | Brian Paul | |
There's no apparent reason for the former to exist. And they didn't even have the same value. | |||
2010-10-13 | r600g: add shader stencil export support. | Dave Airlie | |
2010-10-13 | r600g: add support for S8, X24S8 and S8X24 sampler formats. | Dave Airlie | |
2010-10-13 | softpipe: add support for shader stencil export capability | Dave Airlie | |
this allows softpipe to be used to test shader stencil ref exporting. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-10-13 | gallium/tgsi: add support for stencil writes. | Dave Airlie | |
this adds the capability + a stencil semantic id, + tgsi scan support. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-10-12 | llvmpipe: make sure intrinsics code is guarded with PIPE_ARCH_SSE | Keith Whitwell | |
2010-10-12 | llmvpipe: improve mm_mullo_epi32 | José Fonseca | |
Apply Jose's suggestions for a small but measurable improvement in isosurf. | |||
2010-10-12 | Revert "llvmpipe: try to keep plane c values small" | Keith Whitwell | |
This reverts commit 9773722c2b09d5f0615a47cecf4347859474dc56. Looks like there are some floor/rounding issues here that need to be better understood. | |||
2010-10-12 | r600g: add missing file to sconscript | Keith Whitwell | |
2010-10-12 | gallium: move sse intrinsics debug helpers to u_sse.h | Keith Whitwell | |
2010-10-12 | llvmpipe: Fix MSVC build. | José Fonseca | |
MSVC doesn't accept more than 3 __m128i arguments. | |||
2010-10-12 | llvmpipe: fix typo in last commit | Keith Whitwell | |
2010-10-12 | llvmpipe: try to keep plane c values small | Keith Whitwell | |
Avoid accumulating more and more fixed point bits. | |||
2010-10-12 | llvmpipe: add debug helpers for epi32 etc | Keith Whitwell | |
2010-10-12 | llvmpipe: try to do more of rast_tri_3_16 with intrinsics | Keith Whitwell | |
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. | |||
2010-10-12 | llvmpipe: Do not dispose the execution engine. | José Fonseca | |
The engine is a global owned by gallivm module. | |||
2010-10-12 | nouveau: Get larger push buffers. | Francisco Jerez | |
Useful to amortize the command submission/reloc overhead (e.g. etracer goes from 72 to 109 FPS on nv4b). | |||
2010-10-12 | r600g: fix typo in vertex sampling on r600 | Dave Airlie | |
fixes https://bugs.freedesktop.org/show_bug.cgi?id=30771 Reported-by: Kevin DeKorte | |||
2010-10-11 | llvmpipe: Use lp_tgsi_info. | José Fonseca | |
2010-10-11 | llvmpipe: Remove outdated comment about stencil testing. | José Fonseca | |
2010-10-11 | r600g: don't run with scissors. | Dave Airlie | |
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. | |||
2010-10-11 | r600g: add TXL opcode support. | Dave Airlie | |
fixes glsl1-2D Texture lookup with explicit lod (Vertex shader) | |||
2010-10-11 | r600g: enable vertex samplers. | Dave Airlie | |
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. | |||
2010-10-11 | r600g: evergreen has no request size bit in texture word4 | Dave Airlie | |
2010-10-11 | r600g: fix input/output Z export mixup for evergreen. | Dave Airlie | |
2010-10-09 | gallivm: Cleanup the rest of the flow module. | José Fonseca | |
2010-10-09 | gallivm: Remove support for Phi generation. | José Fonseca | |
Simply rely on mem2reg pass. It's easier and more reliable. | |||
2010-10-09 | gallivm: Don't generate Phis for execution mask. | José Fonseca | |
2010-10-09 | llvmpipe: Fix MSVC build. Enable the new SSE2 code on non SSE3 systems. | José Fonseca | |
2010-10-09 | llvmpipe: simplified SSE2 swz/unswz routines | Keith Whitwell | |
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. | |||
2010-10-09 | llvmpipe: clean up shader pre/postamble, try to catch more early-z | Keith Whitwell | |
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. | |||
2010-10-09 | llvmpipe: try to be sensible about whether to branch after mask updates | Keith Whitwell | |
Don't branch more than once in quick succession. Don't branch at the end of the shader. | |||
2010-10-09 | gallivm: specialized x8z24 depthtest path | Keith Whitwell | |
Avoid unnecessary masking of non-existant stencil component. | |||
2010-10-09 | llvmpipe: dump fragment shader ir and asm when LP_DEBUG=fs | Keith Whitwell | |
Better than GALLIVM_DEBUG if you're only interested in fragment shaders. | |||
2010-10-09 | llvmpipe: use alloca for fs color outputs | Keith Whitwell | |
Don't try to emit our own phi's, let llvm mem2reg do it for us. | |||
2010-10-09 | llvmpipe: defer attribute interpolation until after mask and ztest | Keith Whitwell | |
Don't calculate 1/w for quads which aren't visible... | |||
2010-10-09 | llvmpipe: Prevent z > 1.0 | José Fonseca | |
The current interpolation schemes causes precision loss. Changing the operation order helps, but does not completely avoid the problem. The only short term solution is to clamp z to 1.0. This is unfortunate, but probably unavoidable until interpolation is improved. | |||
2010-10-09 | llvmpipe: fix rasterization of vertical lines on pixel boundaries | Zack Rusin | |
2010-10-08 | gallivm: Avoid control flow for two-sided stencil test. | José Fonseca | |
2010-10-08 | llvmpipe: fix off-by-one in tri_16 | Keith Whitwell | |
2010-10-08 | llvmpipe: add rast_tri_4_16 for small lines and points | Keith Whitwell | |
2010-10-08 | llvmpipe: clean up setup_tri a little | Keith Whitwell | |
2010-10-08 | llvmpipe: avoid overflow in triangle culling | Keith Whitwell | |
Avoid multiplying fixed-point values. Calculate triangle area in floating point use that for culling. Lift area calculations up a level as we are already doing this in the triangle_both() case. Would like to share the calculated area with attribute interpolation, but the way the code is structured makes this difficult. | |||
2010-10-08 | llvmpipe: fail gracefully on oom in scene creation | Keith Whitwell | |
2010-10-08 | r600g: drop width/height per level storage. | Dave Airlie | |
these aren't used anywhere, so just waste memory. | |||
2010-10-08 | r600g: add some RG texture format support. | Dave Airlie | |
2010-10-07 | r600g: fix Z export enable bits. | Dave Airlie | |
we should be checking output array not input to decide. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-10-07 | r600g: use format from the sampler view not from the texture. | Dave Airlie | |
we want to use the format from the sampler view which isn't always the same as the texture format when creating sampler views. |