summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2010-01-08scons: Use static glew library on Unices to avoid binary compatability issuesJosé Fonseca
Fixes bug 25926.
2010-01-07st/xorg: remove unused xorg_exa_get_pixmap_handle functionKeith Whitwell
2010-01-07nv50: preallocate TEMPs written first time in a subroutineChristoph Bumiller
Otherwise we risk overwriting them with temporary GPRs if they're not used immediately after the CALL.
2010-01-07nv50: handle TGSI_OPCODE_SAD,UADDChristoph Bumiller
2010-01-07nv50: handle TGSI_OPCODE_IMAX,IMIN,UMAX,UMINChristoph Bumiller
2010-01-07nv50: handle integer SET operationsChristoph Bumiller
2010-01-07nv50: handle TGSI_OPCODE_SHL,ISHR,USHRChristoph Bumiller
2010-01-07nv50: handle TGSI_OPCODE_F2I,F2U,I2F,U2F plus src modsChristoph Bumiller
2010-01-07intel: Remove leftover symlinks from DRI1 removal.Eric Anholt
2010-01-07tgsi: add assertion to verify legal register fileBrian Paul
This assertion fails with piglit glsl-vs-mov-after-deref test because we're double freeing the memory. It seems there's some confusion between what's placed in the hash table and what isn't.
2010-01-07tgsi: fix incorrectly placed braces, add more braces to be clearBrian Paul
2010-01-07tgsi: move register checking code before check_register_usage()Brian Paul
check_register_usage() frees the scan_register *reg data so we were reading from freed memory. This fixes a valgrind error found with piglit's glsl-vs-mov-after-deref test.
2010-01-07swrast: fix color masking for glAccum(GL_RETURN)Brian Paul
Should fix fdo bug 25837.
2010-01-07i810: use ColorMask[0]Brian Paul
2010-01-07progs/fp: increase buffer size to read larger shadersBrian Paul
2010-01-07gallium/util: remove useless assertionsBrian Paul
2010-01-07gallium/util: update comment: s/src_pitch/src_strideBrian Paul
2010-01-07gallium/util: make src_y unsigned like the other x/y paramsBrian Paul
2010-01-07llvmpipe: Remove TGSI sampler pointers from JIT context too.José Fonseca
2010-01-07llvmpipe: Remove more loose ends of TGSI exec sampling.José Fonseca
2010-01-07configure: Fix matching for dri driver to actually workKristian Høgsberg
The shell case statement obviously only evaluates the first matching block. Thanks to Julien Cristau for spotting the bug.
2010-01-07makefile: added src/glsl/Makefile.template to tarball listBrian Paul
2010-01-07i965g: updates for draw retvalKeith Whitwell
2010-01-07llvmpipe: Axe texture sampling code inherited from softpipe.José Fonseca
Was used only as a reference, since texture sampling is now code generated. Already axed in the lp-binning branch too. This fixes the llvmpipe build after recent sampling changes.
2010-01-07gallium: Fix texture sampling with explicit LOD in softpipe.Michal Krol
2010-01-07gallium: Pass per-element (not per-quad) LOD bias values down to texture ↵Michal Krol
sampler.
2010-01-07tgsi: Cleanup exec_tex().Michal Krol
2010-01-07svga: Fix fs key size computation and key comparison.Michal Krol
This also allows us to have texture_target back as a bitfield and save us a few bytes.
2010-01-06llvmpipe: checkpoint commit of new if/else/endif flow controlBrian Paul
Totally untested at this point. More work to do.
2010-01-06llvmpipe: more comments in flow builder codeBrian Paul
2010-01-06r300g: add back-face color VS outputsMarek Olšák
Required for two-sided lighting. BTW we are approaching softpipe-level quality. ;)
2010-01-06r300g: fix SWTCL stream locations of texture coordinatesMarek Olšák
It might have caused hardlocks when TCL was bypassed, not sure.
2010-01-06r300g: if no DS buffer is set, disable reading from and writing to itMarek Olšák
It fixes another "Bad CS" issue.
2010-01-06r300g: disable the rasterization of WPOS if it's unused by the FSMarek Olšák