summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-13llvmpipe: check render targets before other texturesBrian Paul
2010-01-13llvmpipe: also check render target textures in lp_setup_is_texture_referenced()Brian Paul
2010-01-13llvmpipe: indentation fixesBrian Paul
2010-01-13llvmpipe: re-get scene pointer after flushingBrian Paul
2010-01-13llvmpipe: check for texture usage in all scenesBrian Paul
2010-01-13llvmpipe: add scene texture referencing codeBrian Paul
2010-01-13llvmpipe: added scene functions for texture reference countingBrian Paul
When a texture is used in the scene we add it to a list of texture references. The lp_scene_is_textured_referenced() function tells us if a texture is referenced by the scene.
2010-01-13llvmpipe: commentsBrian Paul
2010-01-13llvmpipe: commentsBrian Paul
2010-01-13llvmpipe: added llvmpipe_texture_const()Brian Paul
2010-01-13llvmpipe: minor comment upgradesBrian Paul
2010-01-13llvmpipe: Opaque shader implies complete colormask too.José Fonseca
2010-01-13llvmpipe: Reset the bin when shading a whole tile with an opaque shader.José Fonseca
2010-01-13llvmpipe: add bin debuggerKeith Whitwell
Adjust definition of empty_bin according to what's actually in empty bins. We often have a state packet before/after load commands. Still need to do something about the fence packets.
2010-01-13llvmpipe: implement lp_rast_load_zstencilKeith Whitwell
Load zbuffer contents for binned scenes that don't start with a clear and which have a bound zbuffer.
2010-01-13llvmpipe: added debug warningBrian Paul
2010-01-13llvmpipe: comments and LLVMValueRef namingBrian Paul
2010-01-13llvmpipe: tweak subpixel_snap() arithmeticBrian Paul
This adjustment fixes some rasterization differences between llvmpipe and softpipe (and other renderers).
2010-01-13llvmpipe: improve empty-bin test furtherKeith Whitwell
Remove unused param, add comments. Thanks to Brian for review.
2010-01-13llvmpipe: improve empty-bin testKeith Whitwell
We emit at most two clear packets (color and z respectively).
2010-01-13llvmpipe: quick hack to short-circuit empty binsKeith Whitwell
2010-01-12llvmpipe: fix indentation, comment typoBrian Paul
2010-01-12llvmpipe: debug checks: make sure scene is empty at key pointsBrian Paul
2010-01-12llvmpipe: assert that we're putting data into a valid binBrian Paul
2010-01-12llvmpipe: clamp maxx,maxy to framebuffer size (in terms of tiles)Brian Paul
In some corner cases the right-most / bottom-most vertex can be right on the edge of the framebuffer. Because the maxx, maxy vals are computed with a series of float/int, pixel/tile transformations we can end up with maxx >= scene->x_tiles or maxy >= scene->y_tiles. This leads to putting data into bins that never get processed, or reset. This becomes stale data that can lead to segfaults. Clamping fixes this.
2010-01-12llvmpipe: added lp_scene_is_empty()Brian Paul
2010-01-12llvmpipe: silence unused var warningsBrian Paul
2010-01-12llvmpipe: remove unused #defineBrian Paul
2010-01-11llvmpipe: disable the all in/out test code for nowBrian Paul
It's still faster not to try to special case the "all pixels are known to be inside the triangle" case.
2010-01-11llvmpipe: move, update commentsBrian Paul
2010-01-11llvmpipe: refactor generate_fragment() codeBrian Paul
This will make it easier to generate multiple versions of the fragment code per variant.
2010-01-11llvmpipe: do the all-in test on the scalar c0 instead of vector c0Brian Paul
This still isn't faster, but committing it for posterity.
2010-01-11llvmpipe: force constant interpolation of flatshade colorsKeith Whitwell
Nice speedup for gears.
2010-01-11st/mesa: early exit on error pathKeith Whitwell
Can't rely on asserts having any effect on flowcontrol for release builds.
2010-01-11llvmpipe: remove opencoded constantKeith Whitwell
2010-01-11llvmpipe: remove scissor cliprect derived stateKeith Whitwell
Was previously calculating the intersection of the scissor rectangle and the framebuffer dimensions. Rendering is already restricted to framebuffer dimensions by other means, so scissor testing (when implemented) can just use the scissor state directly.
2010-01-10llvmpipe: initial mrt supportKeith Whitwell
Non-mrt apps work, and the code looks correct, but not many mrt test apps handy atm...
2010-01-08llvmpipe: optimize case when all four pixels are inside the triangleBrian Paul
When the incoming c0,c1,c2 values are equal to INT_MIN it means that all pixels are inside the triangle. Thus we can skip the detailed pixel inside/outside triangle tests. Use the new lp_build_if()/endif() functions to generate the branching code. The code is disabled ATM however because it's actually a little slower than the original code. A little more tuning may fix that though...
2010-01-08llvmpipe: fix more if/else/endif design bugsBrian Paul
2010-01-08llvmpipe: move some fields to the private lp_build_flow_if structBrian Paul
2010-01-08llvmpipe: free the phi arrayBrian Paul
2010-01-08llvmpipe: checkpoint if/else/endif contructs workBrian Paul
The LLVM IR looks correct now. Basic blocks are where they're supposed to be and the Phi functions have the right (var,block) information.
2010-01-08Merge remote branch 'origin/master' into lp-binningJosé Fonseca
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
2010-01-08scons: Set the default windows platform to be windows userspace.José Fonseca
I thought I had done this ages ago.
2010-01-08mklib: Extract archives into temporary directoriesDan Nicholson
When static libraries are created from other archives, objects are extracted and then deleted when the static library is done. This can race when there are multiple static libraries being created from the same archives as with libmesa.a and libmesagallium.a. Should fix this issue with parallel jobs: make[5]: *** No rule to make target > `../../../../../../src/mesa/libmesagallium.a', needed by > `radeon_dri.so'. Stop Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Reported-and-Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
2010-01-08tgsi: Cleanup dot-product opcodes in interpreter.Michal Krol
2010-01-08nv20: Fix build for the latest nouveau_class.h changes.Francisco Jerez
2010-01-08scons: Don't build xlib when dri is enabled.José Fonseca
Hopefully adddresses fdo 25828.
2010-01-08lvmpipe: Initialize all coordinates.José Fonseca
Fixes assertion failure with fp-incomplete-tex (fdo 24298).
2010-01-08scons: Output a meaningful message when xlib libGL.so can't be built.José Fonseca