summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe
AgeCommit message (Collapse)Author
2010-12-01llvmpipe: Fix build errors on x86.Chia-I Wu
The errors were introduced by efc82aef35a2aac5d2ed9774f6d28f2626796416.
2010-11-30gallivm/llvmpipe: squash merge of the llvm-context branchBrian Paul
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
2010-11-30llvmpipe: shortcircuit some calls to set_scene_stateKeith Whitwell
2010-11-30llvmpipe: remove misleading debug stringKeith Whitwell
2010-11-30llvmpipe: raise dirty flag on transfers to bound constbufKeith Whitwell
Need this to trigger the scene to update its shadow of the constant state.
2010-11-22llvmpipe: Remove unnecessary headers.Vinson Lee
2010-11-22Merge branch 'lp-offset-twoside'Keith Whitwell
2010-11-19llvmpipe: twoside for specular color alsoKeith Whitwell
2010-11-19llvmpipe: fix up twoside after recent changesKeith Whitwell
Fix my slot/attr confusion.
2010-11-19llvmpipe: fix such that offset/twoside function only does in-place modificationHui Qi Tay
2010-11-15llvmpipe: clean up polygon offset function in lp setup codeHui Qi Tay
2010-11-04llvmpipe: added some debug assertions, but disabledBrian Paul
2010-11-04llvmpipe: added llvm offset setup codeHui Qi Tay
2010-11-02llvmpipe: add a castBrian Paul
2010-11-02llvmpipe: assign context's frag shader pointer before using itBrian Paul
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.
2010-11-02llvmpipe: guard against NULL task->query pointerKeith Whitwell
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.
2010-11-02llvmpipe: avoid generating tri_16 for tris which extend past tile boundsKeith Whitwell
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).
2010-11-01llvmpipe: Moved draw pipeline twoside function to llvm setup codeHui Qi Tay
2010-11-01scons: Revamp how to specify targets to build.José Fonseca
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.
2010-10-28gallivm: Remove the EMMS opcodes.José Fonseca
Unnecessary now that lp_set_target_options() successful disables MMX code emission.
2010-10-28gallium: Avoid using __doc__ in python scripts.José Fonseca
2010-10-27Fix build on systems where "python" is python 3.Kenneth Graunke
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 <chantry.xavier@gmail.com> Signed-off-by: Matthew William Cox <matt@mattcox.ca> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2010-10-22llvmpipe: turn off draw offset/twoside when we can handle itKeith Whitwell
2010-10-21llvmpipe: enable primitive restartBrian Paul
2010-10-21llvmpipe: Remove unnecessary header.Vinson Lee
2010-10-20llvmpipe/draw: always enable LLVMAddInstructionCombiningPass()Brian Paul
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.
2010-10-19llvmpipe: Initialize variable.Vinson Lee
2010-10-19llvmpipe: Initialize state variable in debug_bin function.Vinson Lee
2010-10-18llvmpipe: Don't test rounding of x.5 numbers.José Fonseca
SSE4.1 has different rules, and so far this doesn't seem to cause any problems with conformance test suites.
2010-10-18llvmpipe: remove lp_setup_coef*.c files from MakefileBrian Paul
2010-10-17llvmpipe: remove unused arg from jit_setup_tri functionKeith Whitwell
2010-10-17llvmpipe: remove unused fileKeith Whitwell
2010-10-17Merge remote branch 'origin/master' into lp-setup-llvmKeith Whitwell
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
2010-10-17llvmpipe: fail cleanly on malloc failure in lp_setup_alloc_triangleKeith Whitwell
2010-10-17llvmpipe: remove setup fallback pathKeith Whitwell
2010-10-17llvmpipe: Return non-zero exit code for lp_test_round failures.Vinson Lee
2010-10-17llvmpipe: Initialize bld ctx via lp_build_context_init instead of ad-hoc and ↵José Fonseca
broken code.
2010-10-17llvmpipe: Fix bad refactoring.José Fonseca
'i' and 'chan' have random values here, which could cause a buffer overflow in debug builds, if chan > 4.
2010-10-17llvmpipe: Ensure z_shift and z_width is initialized.José Fonseca
2010-10-17llvmpipe: Fix depth-stencil regression.José Fonseca
If stencil is enabled then we need to load the z_dst, even if depth testing is disabled. This fixes reflect mesa demo.
2010-10-15llvmpipe: Move makefile include to before targetsJakob Bornecrantz
Or plain make inside of the directory wont build libllvmpipe.a
2010-10-15llvmpipe: validate color outputs against key->nr_cbufsKeith Whitwell
2010-10-15llvmpipe: check shader outputs are non-null before usingKeith Whitwell
2010-10-15llvmpipe: fix non-sse build after recent changesKeith Whitwell
2010-10-15llvmpipe: use aligned loads/stores for plane valuesKeith Whitwell
2010-10-15llvmpipe: do plane calculations with intrinsicsKeith Whitwell
This is a step towards moving this code into the rasterizer.
2010-10-15gallium: move some intrinsics helpers to u_sse.hKeith Whitwell
2010-10-15llvmpipe: don't store plane.ei value in binned dataKeith Whitwell
Further reduce the size of a binned triangle.
2010-10-15llvmpipe: slightly shrink the size of a binned triangleKeith Whitwell
2010-10-15llvmpipe: don't pass frontfacing as a floatKeith Whitwell