summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_state.h
AgeCommit message (Collapse)Author
2010-02-10llvmpipe: adapt to stencil ref changesRoland Scheidegger
since the driver doesn't actually handle stencil yet the code won't do much.
2010-02-08llvmpipe: export the tgsi translation code to a common layerZack Rusin
the llvmpipe tgsi translation is a lot more complete than what was in gallivm so replacing the latter with the former. this is needed since the draw llvm paths will use the same code. effectively the proven llvmpipe code becomes gallivm.
2010-01-16Merge remote branch 'origin/master' into lp-binningJosé Fonseca
Conflicts: src/gallium/drivers/llvmpipe/lp_quad.h src/gallium/drivers/llvmpipe/lp_setup.c
2010-01-15llvmpipe: generate two shader varients, one omits triangle in/out testingBrian Paul
When we know that a 4x4 pixel block is entirely inside of a triangle use the jit function which omits the in/out test code. Results in a few percent speedup in many tests.
2010-01-15Merge branch 'gallium-noconstbuf'Roland Scheidegger
Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c src/mesa/state_tracker/st_draw_feedback.c
2010-01-14llvmpipe: implement scissor testingBrian Paul
The scissor test is implemented as another per-quad operation in the JIT code. The four scissor box params are passed via the lp_jit_context. In the JIT code we compare the quad's x/y coords against the clip bounds and create a new in/out mask that's AND'd with the main quad mask. Note: we should also do scissor testing in the triangle setup code to improve efficiency. That's not done yet.
2010-01-11gallium: remove const qualifier from pipe_buffer argument in set_constant_bufferRoland Scheidegger
2010-01-11llvmpipe: force constant interpolation of flatshade colorsKeith Whitwell
Nice speedup for gears.
2010-01-10llvmpipe: initial mrt supportKeith Whitwell
Non-mrt apps work, and the code looks correct, but not many mrt test apps handy atm...
2010-01-08Merge remote branch 'origin/master' into lp-binningJosé Fonseca
Conflicts: src/gallium/auxiliary/util/u_surface.c src/gallium/drivers/llvmpipe/Makefile src/gallium/drivers/llvmpipe/SConscript src/gallium/drivers/llvmpipe/lp_bld_arit.c src/gallium/drivers/llvmpipe/lp_bld_flow.c src/gallium/drivers/llvmpipe/lp_bld_interp.c src/gallium/drivers/llvmpipe/lp_clear.c src/gallium/drivers/llvmpipe/lp_context.c src/gallium/drivers/llvmpipe/lp_context.h src/gallium/drivers/llvmpipe/lp_draw_arrays.c src/gallium/drivers/llvmpipe/lp_jit.c src/gallium/drivers/llvmpipe/lp_jit.h src/gallium/drivers/llvmpipe/lp_prim_vbuf.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_setup_point.c src/gallium/drivers/llvmpipe/lp_state.h src/gallium/drivers/llvmpipe/lp_state_blend.c src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/gallium/drivers/llvmpipe/lp_state_sampler.c src/gallium/drivers/llvmpipe/lp_state_surface.c src/gallium/drivers/llvmpipe/lp_tex_cache.c src/gallium/drivers/llvmpipe/lp_tex_cache.h src/gallium/drivers/llvmpipe/lp_tex_sample.h src/gallium/drivers/llvmpipe/lp_tile_cache.c
2010-01-07llvmpipe: Remove TGSI sampler pointers from JIT context too.José Fonseca
2010-01-06llvmpipe: remove dead codeKeith Whitwell
2010-01-05Merge commit 'origin/gallium-draw-retval'Keith Whitwell
Conflicts: src/gallium/drivers/identity/id_context.c
2009-12-24gallium: adapt drivers to pipe_constant_buffer removalRoland Scheidegger
2009-12-21gallium: propogate draw retval changes into more driversKeith Whitwell
2009-12-19gallium: fix up drivers for edgeflag changesRoland Scheidegger
several drivers which chose to ignore edgeflags might require some more work, while edgeflags never worked there they might now crash.
2009-12-04llvmpipe: Port vertex sampler support from softpipe.José Fonseca
Just enough boilerplate code to avoid segfaulting.
2009-12-02Revert "llvmpipe: plug in dummy pipe_context::set_vertex_sampler_textures ↵Brian Paul
function" This reverts commit 792888121b92913733daec7526c9441f27ce1231. We're instead returning 0 for the PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query.
2009-12-02llvmpipe: plug in dummy pipe_context::set_vertex_sampler_textures functionBrian Paul
Fixes immediate segfault.
2009-10-09llvmpipe: Pass state to setup.José Fonseca
2009-10-08llvmpipe: remove tex tile cache and related codeKeith Whitwell
2009-09-09llvmpipe: Include zsbuf's format in the fragment shader key.José Fonseca
2009-09-07llvmpipe: Code generate the texture sampling inside the shader.José Fonseca
Finally a substantial performance improvement: framerates of apps using texturing tripled, and furthermore, enabling/disabling texturing only affects around 15% of the framerate, which means the bottleneck is now somewhere else. Generated texture sampling code is not complete though -- we always sample from the base level -- so final figures will be different.
2009-08-29llvmpipe: Centralize the C <-> JIT interfaces in one place.José Fonseca
2009-08-29llvmpipe: Drop blend derived state.José Fonseca
Already included in the fragment shader.
2009-08-29llvmpipe: Generate the fragment pipeline into a single function.José Fonseca
Still hackish. Will document and optimize later.
2009-08-29llvmpipe: Code generate the depth test, and include in the shader.José Fonseca
Only 32bit depth/stencil surfaces supported for now. Stencil ops not implemented yet.
2009-08-29llvmpipe: Code generate alpha testing and append to generated fragment shader.José Fonseca
2009-08-29llvmpipe: Code generate the position interpolation.José Fonseca
2009-08-29llvmpipe: Put color/depth directly into the quad structure.José Fonseca
2009-08-29llvmpipe: Blend in place.José Fonseca
2009-08-29llvmpipe: Implement KIL.José Fonseca
2009-08-29llvmpipe: Compute interpolation coeffs directly into SoA layout.José Fonseca
2009-08-29llvmpipe: Eliminate dependency on tgsi_exec_machine.José Fonseca
2009-08-29llvmpipe: Eliminate non-LLVM fs execution paths.José Fonseca
2009-08-29llvmpipe: Tiles in rgba8 format.José Fonseca
2009-08-29llvmpipe: Use the generated SoA blending code.José Fonseca
2009-08-29llvmpipe: Rename preprocessor symbols too.José Fonseca
2009-08-29llvmpipe: Fork softpipe for experimentation with llvm.José Fonseca