Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: move bin-related structures and functions into new lp_bin.[ch] | Brian Paul | 2009-12-04 | 8 | -149/+243 |
| | | | | And put lp_ prefixes on some functions. | ||||
* | llvmpipe: remove lp_rast_triangle::oneoverarea field | Brian Paul | 2009-12-04 | 2 | -19/+18 |
| | | | | Makes lp_rast_triangle a little smaller (now 280 bytes on a 32-bit system). | ||||
* | llvmpipe: bin state-change commands | Brian Paul | 2009-12-04 | 6 | -47/+101 |
| | | | | | | | | | | | 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. | ||||
* | llvmpipe: struct cmd_bin | Brian Paul | 2009-12-04 | 2 | -9/+21 |
| | | | | Just introducing a new structure to represent a per-tile bin. | ||||
* | llvmpipe: fix typo, whitespace | Brian Paul | 2009-12-04 | 1 | -2/+1 |
| | |||||
* | llvmpipe: dynamic allocation of triangle a0/dadx/dady arrays | Brian Paul | 2009-12-04 | 2 | -6/+14 |
| | | | | Much less memory per triangle now. | ||||
* | llvmpipe: comments regarding lp_rast_triangle | Brian Paul | 2009-12-03 | 1 | -1/+4 |
| | |||||
* | llvmpipe: comment about blend color | Brian Paul | 2009-12-03 | 1 | -0/+1 |
| | |||||
* | llvmpipe: comments | Brian Paul | 2009-12-03 | 1 | -4/+11 |
| | |||||
* | llvmpipe: new comment in do_triangle_ccw() | Brian Paul | 2009-12-03 | 1 | -0/+5 |
| | |||||
* | llvmpipe: fix incorrect array indexing when saving blend color | Brian Paul | 2009-12-03 | 1 | -1/+1 |
| | |||||
* | llvmpipe: comments, clean-ups in lp_rast_priv.h | Brian Paul | 2009-12-03 | 1 | -12/+17 |
| | |||||
* | llvmpipe: checkpoint some initial state binning code | Brian Paul | 2009-12-03 | 2 | -3/+15 |
| | |||||
* | llvmpipe: comments and a stub for lp_rast_set_state() | Brian Paul | 2009-12-03 | 1 | -0/+28 |
| | |||||
* | llvmpipe: comments | Brian Paul | 2009-12-03 | 1 | -4/+4 |
| | |||||
* | llvmpipe: set LP_SETUP_NEW_FS in lp_setup_set_fs() | Brian Paul | 2009-12-03 | 1 | -0/+1 |
| | | | | | Fixes progs/trivial/tri-blend.c, but I think we're just getting lucky in this case. | ||||
* | llvmpipe: more debug info | Brian Paul | 2009-12-03 | 1 | -4/+8 |
| | |||||
* | llvmpipe: fix blend debug strings | Brian Paul | 2009-12-03 | 1 | -5/+5 |
| | |||||
* | llvmpipe: quick & dirty implementation of lp_rast_store_zstencil() | Brian Paul | 2009-12-03 | 1 | -3/+50 |
| | | | | | This allows us to do a glReadPixels(GL_DEPTH_COMPONENT) to see what's in the depth buffer to help debugging. | ||||
* | llvmpipe: additional comment about float->uint conversion | Brian Paul | 2009-12-03 | 1 | -0/+4 |
| | |||||
* | llvmpipe: comments | Brian Paul | 2009-12-03 | 1 | -0/+9 |
| | |||||
* | llvmpipe: execute shaders on 4x4 blocks instead of 8x2 | Brian Paul | 2009-12-02 | 4 | -63/+116 |
| | | | | | | | 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. | ||||
* | llvmpipe: whitespace for readability | Brian Paul | 2009-12-02 | 1 | -7/+7 |
| | |||||
* | llvmpipe: added assertions | Brian Paul | 2009-12-01 | 1 | -3/+4 |
| | | | | And remove unused BLOCKSIZE. | ||||
* | llvmpipe: simplify mask computation | Brian Paul | 2009-12-01 | 1 | -4/+6 |
| | | | | Make this a little easier to understand. | ||||
* | llvmpipe: replace shifts with multiplies to be clearer | Brian Paul | 2009-12-01 | 1 | -18/+18 |
| | | | | | The compiler will still do the multiplies with shifts. It's just a bit easier to follow the logic with multiplies. | ||||
* | llvmpipe: make nr_blocks unsigned | Brian Paul | 2009-12-01 | 2 | -4/+5 |
| | |||||
* | llvmpipe: comments, reformatting and assertions in tri rast code | Brian Paul | 2009-12-01 | 1 | -47/+70 |
| | |||||
* | llvmpipe: add a bunch of comments | Brian Paul | 2009-11-30 | 4 | -13/+54 |
| | |||||
* | llvmpipe: minor refactoring of bin rasterization code | Brian Paul | 2009-11-30 | 1 | -16/+28 |
| | |||||
* | llvmpipe: update C_SOURCES | Brian Paul | 2009-11-30 | 1 | -2/+3 |
| | |||||
* | llvmpipe: fix the worst of the depth regressions since switch to 4x4 | Keith Whitwell | 2009-10-22 | 1 | -1/+1 |
| | |||||
* | llvmpipe: remove one of two definitions of TILESIZE | Keith Whitwell | 2009-10-21 | 6 | -23/+23 |
| | |||||
* | llvmpipe: remove dead code | Keith Whitwell | 2009-10-21 | 1 | -7/+0 |
| | |||||
* | llvmpipe: minor opts to setup_tri | Keith Whitwell | 2009-10-20 | 1 | -36/+30 |
| | |||||
* | llvmpipe: move block list into rast struct | Keith Whitwell | 2009-10-20 | 2 | -20/+22 |
| | |||||
* | llvmpipe: build list of 4x4 blocks to be shaded | Keith Whitwell | 2009-10-20 | 1 | -12/+26 |
| | |||||
* | llvmpipe: recursive rasterization within a tile | Keith Whitwell | 2009-10-20 | 1 | -76/+98 |
| | |||||
* | llvmpipe: pass mask as a linear encoding of the 4x4 block | Keith Whitwell | 2009-10-20 | 2 | -16/+40 |
| | |||||
* | llvmpipe: precalculate some offsets | Keith Whitwell | 2009-10-20 | 5 | -79/+51 |
| | |||||
* | llvmpipe: remove a leftover 8x2 usage | Keith Whitwell | 2009-10-19 | 1 | -4/+4 |
| | |||||
* | llvmpipe: calculate masks in format desired by shader | Keith Whitwell | 2009-10-19 | 3 | -61/+44 |
| | | | | Also remove branches calculating masks for quads. | ||||
* | llvmpipe: pre-multiply some constants by fixed_one | Keith Whitwell | 2009-10-19 | 2 | -39/+43 |
| | |||||
* | llvmpipe: Reshape the shader input from 8x2 to 4x4. | José Fonseca | 2009-10-19 | 3 | -15/+14 |
| | | | | Incorrect rendering until the interpolation code generation is updated. | ||||
* | llvmpipe: fixed-point rasterization | Keith Whitwell | 2009-10-19 | 4 | -130/+147 |
| | |||||
* | llvmpipe: Reset the pointer to stored jit context. | José Fonseca | 2009-10-19 | 1 | -2/+6 |
| | |||||
* | llvmpipe: Allocate the blend color from the data store, and ensure it's aligned. | José Fonseca | 2009-10-19 | 2 | -12/+50 |
| | |||||
* | llvmpipe: correctly scale top/left fill adjustments | Keith Whitwell | 2009-10-19 | 1 | -3/+3 |
| | | | | Was overdoing it previously. | ||||
* | llvmpipe: fix typo correcting for fill convention | Keith Whitwell | 2009-10-19 | 1 | -4/+4 |
| | | | | Adjustments for top-left fill convention were being lost. | ||||
* | llvmpipe: Maintain a copy of the shader constants to prevent clobbering. | José Fonseca | 2009-10-18 | 2 | -16/+61 |
| |