Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: enable primitive restart | Brian Paul | 2010-10-21 | 1 | -0/+2 |
| | |||||
* | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-10-21 | 1 | -1/+0 |
| | |||||
* | llvmpipe/draw: always enable LLVMAddInstructionCombiningPass() | Brian Paul | 2010-10-20 | 1 | -7/+1 |
| | | | | | | We were working around an LLVM 2.5 bug but we're using LLVM 2.6 or later now. This basically reverts commit baddcbc5225e12052b3bc8c07a8b65243d76574d. This fixes the piglit bug/tri-tex-crash.c failure. | ||||
* | llvmpipe: Initialize variable. | Vinson Lee | 2010-10-19 | 1 | -0/+1 |
| | |||||
* | llvmpipe: Initialize state variable in debug_bin function. | Vinson Lee | 2010-10-19 | 1 | -1/+1 |
| | |||||
* | llvmpipe: Don't test rounding of x.5 numbers. | José Fonseca | 2010-10-18 | 1 | -1/+4 |
| | | | | | SSE4.1 has different rules, and so far this doesn't seem to cause any problems with conformance test suites. | ||||
* | llvmpipe: remove lp_setup_coef*.c files from Makefile | Brian Paul | 2010-10-18 | 1 | -2/+0 |
| | |||||
* | llvmpipe: remove unused arg from jit_setup_tri function | Keith Whitwell | 2010-10-17 | 3 | -6/+3 |
| | |||||
* | llvmpipe: remove unused file | Keith Whitwell | 2010-10-17 | 2 | -2/+0 |
| | |||||
* | Merge remote branch 'origin/master' into lp-setup-llvm | Keith Whitwell | 2010-10-17 | 41 | -1242/+2086 |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/llvmpipe/lp_setup_coef.c src/gallium/drivers/llvmpipe/lp_setup_coef.h src/gallium/drivers/llvmpipe/lp_setup_coef_intrin.c src/gallium/drivers/llvmpipe/lp_setup_point.c src/gallium/drivers/llvmpipe/lp_setup_tri.c src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_fs.h | ||||
| * | llvmpipe: fail cleanly on malloc failure in lp_setup_alloc_triangle | Keith Whitwell | 2010-10-17 | 1 | -4/+4 |
| | | |||||
| * | llvmpipe: Return non-zero exit code for lp_test_round failures. | Vinson Lee | 2010-10-17 | 1 | -10/+9 |
| | | |||||
| * | llvmpipe: Initialize bld ctx via lp_build_context_init instead of ad-hoc and ↵ | José Fonseca | 2010-10-17 | 2 | -8/+2 |
| | | | | | | | | broken code. | ||||
| * | llvmpipe: Fix bad refactoring. | José Fonseca | 2010-10-17 | 1 | -2/+1 |
| | | | | | | | | | | 'i' and 'chan' have random values here, which could cause a buffer overflow in debug builds, if chan > 4. | ||||
| * | llvmpipe: Ensure z_shift and z_width is initialized. | José Fonseca | 2010-10-17 | 1 | -1/+1 |
| | | |||||
| * | llvmpipe: Fix depth-stencil regression. | José Fonseca | 2010-10-17 | 1 | -21/+26 |
| | | | | | | | | | | | | | | If stencil is enabled then we need to load the z_dst, even if depth testing is disabled. This fixes reflect mesa demo. | ||||
| * | llvmpipe: Move makefile include to before targets | Jakob Bornecrantz | 2010-10-15 | 1 | -2/+2 |
| | | | | | | | | Or plain make inside of the directory wont build libllvmpipe.a | ||||
| * | llvmpipe: validate color outputs against key->nr_cbufs | Keith Whitwell | 2010-10-15 | 1 | -1/+2 |
| | | |||||
| * | llvmpipe: check shader outputs are non-null before using | Keith Whitwell | 2010-10-15 | 1 | -2/+2 |
| | | |||||
| * | llvmpipe: fix non-sse build after recent changes | Keith Whitwell | 2010-10-15 | 1 | -2/+2 |
| | | |||||
| * | llvmpipe: use aligned loads/stores for plane values | Keith Whitwell | 2010-10-15 | 2 | -9/+9 |
| | | |||||
| * | llvmpipe: do plane calculations with intrinsics | Keith Whitwell | 2010-10-15 | 1 | -57/+148 |
| | | | | | | | | This is a step towards moving this code into the rasterizer. | ||||
| * | gallium: move some intrinsics helpers to u_sse.h | Keith Whitwell | 2010-10-15 | 1 | -58/+0 |
| | | |||||
| * | llvmpipe: don't store plane.ei value in binned data | Keith Whitwell | 2010-10-15 | 5 | -26/+8 |
| | | | | | | | | Further reduce the size of a binned triangle. | ||||
| * | llvmpipe: slightly shrink the size of a binned triangle | Keith Whitwell | 2010-10-15 | 12 | -292/+316 |
| | | |||||
| * | llvmpipe: don't pass frontfacing as a float | Keith Whitwell | 2010-10-15 | 9 | -13/+13 |
| | | |||||
| * | llvmpipe: reintroduce SET_STATE binner command | Keith Whitwell | 2010-10-15 | 9 | -46/+100 |
| | | | | | | | | But bin lazily only into bins which are receiving geometry. | ||||
| * | llvmpipe: code to dump bytecode to file (disabled) | Brian Paul | 2010-10-14 | 1 | -0/+6 |
| | | |||||
| * | llvmpipe: don't try to emit non-existent color outputs | Keith Whitwell | 2010-10-14 | 1 | -8/+9 |
| | | |||||
| * | llvmpipe: Generalize the x8z24 fast path to all depth formats. | José Fonseca | 2010-10-13 | 1 | -111/+82 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Together with the previous commit, this generalize the benefits of d2cf757f44f4ee5554243f3279483a25886d9927 to all depth formats, in particular: - simpler float -> 24unorm conversion - avoid unsigned comparisons (not directly supported on SSE) by aligning to the least significant bit - avoid unecessary/repeated mask ANDing Verified with trivial/tri-z that the exact same assembly is produced for X8Z24. | ||||
| * | llvmpipe: Unbreak Z32_FLOAT. | José Fonseca | 2010-10-13 | 3 | -64/+93 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Z32_FLOAT uses <4 x float> as intermediate/destination type, instead of <4 x i32>. The necessary bitcasts got removed with commit 5b7eb868fde98388d80601d8dea39e679828f42f Also use depth/stencil type and build contexts consistently, and make the depth pointer argument a ordinary <i8 *>, to catch this sort of issues in the future (and also to pave way for Z16 and Z32_FLOAT_S8_X24 support). | ||||
| * | draw/llvmpipe: replace DRAW_MAX_TEXTURE_LEVELS with PIPE_MAX_TEXTURE_LEVELS | Brian Paul | 2010-10-12 | 1 | -3/+3 |
| | | | | | | | | | | There's no apparent reason for the former to exist. And they didn't even have the same value. | ||||
| * | llvmpipe: make sure intrinsics code is guarded with PIPE_ARCH_SSE | Keith Whitwell | 2010-10-12 | 1 | -40/+42 |
| | | |||||
| * | 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. | ||||
| * | 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. | ||||
| * | gallium: move sse intrinsics debug helpers to u_sse.h | Keith Whitwell | 2010-10-12 | 2 | -116/+0 |
| | | |||||
| * | 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. | ||||
| * | llvmpipe: Use lp_tgsi_info. | José Fonseca | 2010-10-11 | 4 | -30/+31 |
| | | |||||
| * | llvmpipe: Remove outdated comment about stencil testing. | José Fonseca | 2010-10-11 | 1 | -9/+2 |
| | | |||||
| * | gallivm: Cleanup the rest of the flow module. | José Fonseca | 2010-10-09 | 1 | -10/+2 |
| | | |||||
| * | gallivm: Remove support for Phi generation. | José Fonseca | 2010-10-09 | 1 | -4/+0 |
| | | | | | | | | Simply rely on mem2reg pass. It's easier and more reliable. | ||||
| * | gallivm: Don't generate Phis for execution mask. | José Fonseca | 2010-10-09 | 2 | -9/+7 |
| | | |||||
| * | 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. |