Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: Fix build errors on x86. | Chia-I Wu | 2010-12-01 | 2 | -4/+5 |
| | | | | | The errors were introduced by efc82aef35a2aac5d2ed9774f6d28f2626796416. | ||||
* | gallivm/llvmpipe: squash merge of the llvm-context branch | Brian Paul | 2010-11-30 | 32 | -655/+692 |
| | | | | | | | | | | | | | | This branch defines a gallivm_state structure which contains the LLVMBuilderRef, LLVMContextRef, etc. All data structures built with this object can be periodically freed during a "garbage collection" operation. The gallivm_state object has to be passed to most of the builder functions where LLVMBuilderRef used to be used. Conflicts: src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c src/gallium/drivers/llvmpipe/lp_state_setup.c | ||||
* | llvmpipe: shortcircuit some calls to set_scene_state | Keith Whitwell | 2010-11-30 | 1 | -1/+1 |
| | |||||
* | llvmpipe: remove misleading debug string | Keith Whitwell | 2010-11-30 | 1 | -1/+0 |
| | |||||
* | llvmpipe: raise dirty flag on transfers to bound constbuf | Keith Whitwell | 2010-11-30 | 1 | -0/+5 |
| | | | | | Need this to trigger the scene to update its shadow of the constant state. | ||||
* | llvmpipe: Remove unnecessary headers. | Vinson Lee | 2010-11-22 | 1 | -2/+0 |
| | |||||
* | Merge branch 'lp-offset-twoside' | Keith Whitwell | 2010-11-22 | 6 | -69/+306 |
|\ | |||||
| * | llvmpipe: twoside for specular color also | Keith Whitwell | 2010-11-19 | 4 | -20/+42 |
| | | |||||
| * | llvmpipe: fix up twoside after recent changes | Keith Whitwell | 2010-11-19 | 1 | -8/+7 |
| | | | | | | | | Fix my slot/attr confusion. | ||||
| * | llvmpipe: fix such that offset/twoside function only does in-place modification | Hui Qi Tay | 2010-11-19 | 1 | -155/+159 |
| | | |||||
| * | llvmpipe: clean up polygon offset function in lp setup code | Hui Qi Tay | 2010-11-15 | 1 | -44/+16 |
| | | |||||
| * | llvmpipe: added llvm offset setup code | Hui Qi Tay | 2010-11-04 | 4 | -46/+143 |
| | | |||||
| * | llvmpipe: Moved draw pipeline twoside function to llvm setup code | Hui Qi Tay | 2010-11-01 | 4 | -5/+103 |
| | | |||||
| * | llvmpipe: turn off draw offset/twoside when we can handle it | Keith Whitwell | 2010-10-22 | 1 | -27/+72 |
| | | |||||
* | | llvmpipe: added some debug assertions, but disabled | Brian Paul | 2010-11-04 | 1 | -0/+10 |
| | | |||||
* | | llvmpipe: add a cast | Brian Paul | 2010-11-02 | 1 | -1/+1 |
| | | |||||
* | | llvmpipe: assign context's frag shader pointer before using it | Brian Paul | 2010-11-02 | 1 | -2/+2 |
| | | | | | | | | | | | | The call to draw_bind_fragment_shader() was using the old fragment shader. This bug would have really only effected the draw module's use of the fragment shader in the wide point stage. | ||||
* | | llvmpipe: guard against NULL task->query pointer | Keith Whitwell | 2010-11-02 | 1 | -2/+5 |
| | | | | | | | | | | | | This doesn't seem like it should be possible, but some test suites manage to hit this case. Avoid crashing release builds under those circumstances. | ||||
* | | llvmpipe: avoid generating tri_16 for tris which extend past tile bounds | Keith Whitwell | 2010-11-02 | 2 | -14/+35 |
| | | | | | | | | | | | | | | | | | | | | Don't trim triangle bounding box to scissor/draw-region until after the logic for emitting tri_16. Don't generate tri_16 commands for triangles with untrimmed bounding boxes outside the current tile. This is important as the tri-16 itself can extend past tile bounds and we don't want to add code to it to check against tile bounds (slow) or restrict it to locations within a tile (pessimistic). | ||||
* | | scons: Revamp how to specify targets to build. | José Fonseca | 2010-11-01 | 2 | -61/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me. | ||||
* | | gallivm: Remove the EMMS opcodes. | José Fonseca | 2010-10-28 | 1 | -5/+0 |
| | | | | | | | | | | Unnecessary now that lp_set_target_options() successful disables MMX code emission. | ||||
* | | gallium: Avoid using __doc__ in python scripts. | José Fonseca | 2010-10-28 | 1 | -2/+2 |
| | | |||||
* | | Fix build on systems where "python" is python 3. | Kenneth Graunke | 2010-10-27 | 1 | -1/+1 |
|/ | | | | | | | | | | | First, it changes autoconf to use a "python2" binary when available, rather than plain "python" (which is ambiguous). Secondly, it changes the Makefiles to use $(PYTHON) $(PYTHON_FLAGS) rather than calling python directly. Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: Matthew William Cox <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]> | ||||
* | 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. |