Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-25 | llvmpipe: handle up to 8 planes in triangle binner | Keith Whitwell | |
2010-09-15 | llvmpipe: return zero from floor_pot(zero) | Keith Whitwell | |
2010-09-13 | llvmpipe: Change asm to __asm__. | Witold Baryluk | |
According to gcc documentation both are equivalent, second are prefered as first can make conflict with existing symbols. Signed-off-by: José Fonseca <jfonseca@vmware.com> | |||
2010-09-13 | llvmpipe: Unbreak rasterization on 64bit. | José Fonseca | |
2010-09-13 | llvmpipe: use gcc asm only with gcc | José Fonseca | |
2010-09-12 | llvmpipe: introduce tri_3_4 for tiny triangles | Keith Whitwell | |
2010-09-12 | llvmpipe: allow tri_3_16 at any 4-aligned location within a tile | Keith Whitwell | |
Doesn't require 16-alignment, so catch more cases. | |||
2010-09-07 | llvmpipe: move more coef setup into lp_setup_coef.c | Keith Whitwell | |
2010-09-07 | llvmpipe: use opcodes instead of function pointers in bins | Keith Whitwell | |
Also, move some state from rasterizer struct to the scene. | |||
2010-09-07 | llvmpipe: enforce fixed memory limit on scenes | Keith Whitwell | |
2010-09-07 | llvmpipe: move whole-tile emit into a function | Keith Whitwell | |
2010-08-27 | llvmpipe: update line rasterization code to current master | Keith Whitwell | |
2010-08-27 | llvmpipe: native rasterization for lines | Hui Qi Tay | |
Rasterize lines directly by treating them as 4-sided polygons. Still need to check the exact pixel rasteration. | |||
2010-08-27 | llvmpipe: intrinsics version of triangle coeficient calculation | Keith Whitwell | |
Looks nice, but makes almost no impact on performance - maybe a percent or so in isosurf, nothing elsewhere. May be of use later on. | |||
2010-08-25 | llvmpipe: track drawing region as a single u_rect | Keith Whitwell | |
2010-08-25 | llvmpipe: better triangle debugging | Keith Whitwell | |
2010-08-25 | llvmpipe: cull zero-area triangles early | Keith Whitwell | |
2010-08-15 | llvmpipe: special case triangles which fall in a single 16x16 block | Keith Whitwell | |
Check for these and route them to a dedicated handler with one fewer levels of recursive rasterization. | |||
2010-08-15 | llvmpipe: remove all traces of step arrays, pos_tables | Keith Whitwell | |
No need to calculate these values any longer, nor to store them in the bin data. Improves isosurf a bit more, 115->123 fps. | |||
2010-08-11 | llvmpipe: Debug code to dump interpolation coefficients. | José Fonseca | |
2010-08-11 | llvmpipe: Use single precision divide for one over area computation. | José Fonseca | |
2010-07-14 | llvmpipe: Remove redundant alignments. | José Fonseca | |
The lp_rast_shader_inputs' alignment is irrelevant now that it contains pointers instead of actual data. Likewise, lp_rast_triangle's size alignment is meaningless. | |||
2010-07-13 | llvmpipe: eliminate the set_state rasterizer command | Keith Whitwell | |
Just put a pointer to the state in the tri->inputs struct. Remove some complex logic for eliminating unused statechanges in bins at the expense of a slightly larger triangle struct. | |||
2010-07-13 | llvmpipe: pass mask into fragment shader | Keith Whitwell | |
Move this code back out to C for now, will generate separately. Shader now takes a mask parameter instead of C0/C1/C2/etc. Shader does not currently use that parameter and rasterizes whole pixel stamps always. | |||
2010-06-30 | llvmpipe: Don't reset the bin when there's a zsbuf bound. | José Fonseca | |
The previous rendering may have secondary effects on the zsbuf. Fixes the missing tiles on gearbox. | |||
2010-06-01 | llvmpipe: Use struct lp_shader_input in the interpolator. | José Fonseca | |
Eliminates all this identical yet slightly different code to decide how shader inputs should be interpolated. As bonus, don't interpolate the position twice when it is listed in the TGSI shader inputs. | |||
2010-06-01 | llvmpipe: Don't waste time interpolating unused input channels. | José Fonseca | |
2010-05-30 | llvmpipe: Pass the fs variant to the rasterizer. | José Fonseca | |
2010-05-28 | llvmpipe: add out of memory checking to triangle setup path | Brian Paul | |
2010-05-17 | llvmpipe: fix front/back tri culling mix-up | Brian Paul | |
2010-05-14 | gallium: convert rasterizer state to use gl-style front/back concepts | Keith Whitwell | |
Use front/back instead of cw/ccw throughout. Also, use offset_point/line/fill instead of offset_cw/ccw. Brings gallium representation of this state into line with its main user, and also what turns out to be the most common hardware representation. This fixes a long-standing bias in the interface towards the architecture of the software rasterizer. | |||
2010-05-05 | llvmpipe: update driver's provoking vertex code | Brian Paul | |
Note that the lp_setup_vbuf.c code is very, very similar to the corresponding code in softpipe. It could probably be shared. | |||
2010-04-20 | llvmpipe: fix incorrect front-facing value for fragment shader | Brian Paul | |
The TGSI convention is +1 for front-facing, -1 for back-facing Fixes glean glsl1 gl_FrontFacing tests. | |||
2010-04-19 | llvmpipe: triangle function comments | Brian Paul | |
2010-04-16 | llvmpipe: print_triangle() func (disabled) | Brian Paul | |
2010-03-18 | gallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass through | Brian Paul | |
The triangle rasterizer sets this field to indicate front/back-facing. It gets passed into the generated fragment code as another parameter. Used now for stencil front/back selection but will also be used for fragment shaders in general (see TGSI_SEMANTIC_FACE). With this commit two-sided stenciling mostly works but there's still a bug or two... | |||
2010-03-13 | llvmpipe: Obey rasterization rules. | José Fonseca | |
Replicates softpipe. | |||
2010-03-13 | llvmpipe: setup_context -> lp_setup_context | José Fonseca | |
Otherwise IDEs and debuggers have trouble distinguishing from softpipe's setup_context. | |||
2010-03-03 | llvmpipe: Store the original triangle coordinates in the debug build. | José Fonseca | |
For debugging purposes only. | |||
2010-02-11 | llvmpipe: Clamp both extremes of triangles to framebuffer size. | José Fonseca | |
Fix segmentation fault when triangles crossed the axis. | |||
2010-01-21 | llvmpipe: s/inline/INLINE/ | Brian Paul | |
2010-01-21 | llvmpipe: consolidate lp_scene_alloc_aligned() calls | Brian Paul | |
Use just one call instead of four. Good for a few more fps. | |||
2010-01-21 | llvmpipe: re-use a1 var in linear_coef() | Brian Paul | |
2010-01-21 | llvmpipe: area is an int here, not float | Brian Paul | |
2010-01-21 | llvmpipe: manually unroll the inputs.step[] setup code | Brian Paul | |
Good for a few more fps in some tests. | |||
2010-01-21 | llvmpipe: added simple perf/statistics counting facility | Brian Paul | |
Currently counting number of tris, how many tiles of each size are fully covered, partially covered or empty, etc. Set LP_DEBUG=counters to enable. Results are printed upon context destruction. | |||
2010-01-19 | llvmpipe: updated comments | Brian Paul | |
2010-01-15 | llvmpipe: implement scissor test in triangle setup | Brian Paul | |
2010-01-15 | llvmpipe: remove lp_rast_triangle::min/max fields | Brian Paul | |
These values aren't needed outside the do_triangle_ccw() function. | |||
2010-01-15 | llvmpipe: change 'in' to boolean, add comments | Brian Paul | |