summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-12-04llvmpipe: remove lp_rast_triangle::oneoverarea fieldBrian Paul
Makes lp_rast_triangle a little smaller (now 280 bytes on a 32-bit system).
2009-12-04llvmpipe: bin state-change commandsBrian Paul
Previously, each triangle had a pointer to the state to use for shading. Now we insert state-change commands into the bins. When we execute one of those commands we just update a 'current state' pointer and use that pointer when calling the jit shader. When inserting state-change commands into a bin we check if the previous command was also a state-change command and simply replace it. This avoids accumulating useless/redundant state-change commands.
2009-12-04llvmpipe: struct cmd_binBrian Paul
Just introducing a new structure to represent a per-tile bin.
2009-12-04llvmpipe: fix typo, whitespaceBrian Paul
2009-12-04llvmpipe: dynamic allocation of triangle a0/dadx/dady arraysBrian Paul
Much less memory per triangle now.
2009-12-03llvmpipe: comments regarding lp_rast_triangleBrian Paul
2009-12-03llvmpipe: comment about blend colorBrian Paul
2009-12-03llvmpipe: commentsBrian Paul
2009-12-03llvmpipe: new comment in do_triangle_ccw()Brian Paul
2009-12-03llvmpipe: fix incorrect array indexing when saving blend colorBrian Paul
2009-12-03llvmpipe: comments, clean-ups in lp_rast_priv.hBrian Paul
2009-12-03llvmpipe: checkpoint some initial state binning codeBrian Paul
2009-12-03llvmpipe: comments and a stub for lp_rast_set_state()Brian Paul
2009-12-03llvmpipe: commentsBrian Paul
2009-12-03llvmpipe: set LP_SETUP_NEW_FS in lp_setup_set_fs()Brian Paul
Fixes progs/trivial/tri-blend.c, but I think we're just getting lucky in this case.
2009-12-03llvmpipe: more debug infoBrian Paul
2009-12-03llvmpipe: fix blend debug stringsBrian Paul
2009-12-03llvmpipe: quick & dirty implementation of lp_rast_store_zstencil()Brian Paul
This allows us to do a glReadPixels(GL_DEPTH_COMPONENT) to see what's in the depth buffer to help debugging.
2009-12-03llvmpipe: additional comment about float->uint conversionBrian Paul
2009-12-03llvmpipe: commentsBrian Paul
2009-12-02llvmpipe: execute shaders on 4x4 blocks instead of 8x2Brian Paul
This matches the convention used by the recursive rasterizer. Also fixed assorted typos, comments, etc. Now tri-z.c, gears.c, etc look basically right but there's still some cracks in triangle rasterization.
2009-12-02llvmpipe: whitespace for readabilityBrian Paul
2009-12-01llvmpipe: added assertionsBrian Paul
And remove unused BLOCKSIZE.
2009-12-01llvmpipe: simplify mask computationBrian Paul
Make this a little easier to understand.
2009-12-01llvmpipe: replace shifts with multiplies to be clearerBrian Paul
The compiler will still do the multiplies with shifts. It's just a bit easier to follow the logic with multiplies.
2009-12-01llvmpipe: make nr_blocks unsignedBrian Paul
2009-12-01llvmpipe: comments, reformatting and assertions in tri rast codeBrian Paul
2009-11-30llvmpipe: add a bunch of commentsBrian Paul
2009-11-30llvmpipe: minor refactoring of bin rasterization codeBrian Paul
2009-11-30llvmpipe: update C_SOURCESBrian Paul
2009-10-22llvmpipe: fix the worst of the depth regressions since switch to 4x4Keith Whitwell
2009-10-21llvmpipe: remove one of two definitions of TILESIZEKeith Whitwell
2009-10-21llvmpipe: remove dead codeKeith Whitwell
2009-10-20llvmpipe: minor opts to setup_triKeith Whitwell
2009-10-20llvmpipe: move block list into rast structKeith Whitwell
2009-10-20llvmpipe: build list of 4x4 blocks to be shadedKeith Whitwell
2009-10-20llvmpipe: recursive rasterization within a tileKeith Whitwell
2009-10-20llvmpipe: pass mask as a linear encoding of the 4x4 blockKeith Whitwell
2009-10-20llvmpipe: precalculate some offsetsKeith Whitwell
2009-10-19llvmpipe: remove a leftover 8x2 usageKeith Whitwell
2009-10-19llvmpipe: calculate masks in format desired by shaderKeith Whitwell
Also remove branches calculating masks for quads.
2009-10-19llvmpipe: pre-multiply some constants by fixed_oneKeith Whitwell
2009-10-19llvmpipe: Reshape the shader input from 8x2 to 4x4.José Fonseca
Incorrect rendering until the interpolation code generation is updated.
2009-10-19llvmpipe: fixed-point rasterizationKeith Whitwell
2009-10-19llvmpipe: Reset the pointer to stored jit context.José Fonseca
2009-10-19llvmpipe: Allocate the blend color from the data store, and ensure it's aligned.José Fonseca
2009-10-19llvmpipe: correctly scale top/left fill adjustmentsKeith Whitwell
Was overdoing it previously.
2009-10-19llvmpipe: fix typo correcting for fill conventionKeith Whitwell
Adjustments for top-left fill convention were being lost.
2009-10-18llvmpipe: Maintain a copy of the shader constants to prevent clobbering.José Fonseca
2009-10-10llvmpipe: Only invoke the shader if necessary.José Fonseca