summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_quad_depth_test.c
AgeCommit message (Collapse)Author
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: Put the position coefficients together with the inputs.José Fonseca
The automatic search'n'replace leaves lp_setup.c a bit ugly, but this code will be eventually code generated as well.
2009-08-29llvmpipe: Rasterize the quads according to what the blend function expects.José Fonseca
2009-08-29llvmpipe: fastpath for interpolated z16 less depthtestingKeith Whitwell
Because this is interpolated (ie. early) depth, we can build in an assumption about the quads emitted by triangle setup, ie that they are actually linear spans. Interpolate z over those spans in z16 format to save on math & conversion.
2009-08-29llvmpipe: move all depth/stencil/alpha pixel processing into one stageKeith Whitwell
2009-08-29llvmpipe: expand quad pipeline to process >1 quad at a timeKeith Whitwell
This is part one -- we still only pass a single quad down, but the code can now cope with more. The quads must all be from the same tile.
2009-08-29llvmpipe: remove backwards dependency from tilecache to llvmpipeKeith Whitwell
The tile cache is a utility, it shouldn't know anything about the entity which is making use of it (ie llvmpipe). Remove llvmpipe parameter to all the tilecache function calls, and also remove the need to keep a llvmpipe pointer in the sampler structs.
2009-08-29llvmpipe: Fork softpipe for experimentation with llvm.José Fonseca