aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_jit.h
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: implement scissor testingBrian Paul2010-01-141-2/+17
| | | | | | | | | | | 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.
* llvmpipe: initial mrt supportKeith Whitwell2010-01-101-1/+1
| | | | | Non-mrt apps work, and the code looks correct, but not many mrt test apps handy atm...
* Merge remote branch 'origin/master' into lp-binningJosé Fonseca2010-01-081-10/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * llvmpipe: Remove TGSI sampler pointers from JIT context too.José Fonseca2010-01-071-9/+3
| |
| * llvmpipe: Remove more loose ends of TGSI exec sampling.José Fonseca2010-01-071-6/+0
| |
* | llvmpipe: do final the pixel in/out triangle test in the fragment shaderBrian Paul2009-12-161-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test to determine which of the pixels in a 2x2 quad is now done in the fragment shader rather than in the calling C code. This is a little faster but there's a few more things to do. Note that the step[] array elements are in a different order now. Rather than being in row-major order for the 4x4 grid, they're in "quad-major" order. The setup of the step arrays is a little more complicated now. So is the course/intermediate tile test code, but some lookup tables help with that. Next steps: - early-cull 2x2 quads which are totally outside the triangle. - skip the in/out test for fully contained quads - make the in/out comparison code tighter/faster.
* | llvmpipe: remove dead codeKeith Whitwell2009-10-091-4/+0
| |
* | llvmpipe: remove some old sampler support structsKeith Whitwell2009-10-081-1/+1
| |
* | llvmpipe: Fix up lp_rast_shade_quads.José Fonseca2009-10-081-2/+2
|/
* llvmpipe: Update status in README and TODO/FIXME comments throughout the code.José Fonseca2009-09-111-2/+1
|
* llvmpipe: Code generate the texture sampling inside the shader.José Fonseca2009-09-071-0/+27
| | | | | | | | | | 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.
* llvmpipe: Isolate sampling from TGSI translation.José Fonseca2009-08-291-0/+5
|
* llvmpipe: Better structure dereference naming.José Fonseca2009-08-291-4/+4
|
* llvmpipe: Pass the alpha ref value and blend color in the jit context.José Fonseca2009-08-291-0/+9
|
* llvmpipe: Pass fragment context to generated function in a single structure.José Fonseca2009-08-291-5/+33
|
* llvmpipe: Centralize the C <-> JIT interfaces in one place.José Fonseca2009-08-291-0/+67