Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: fix indentation, comment typo | Brian Paul | 2010-01-12 | 1 | -4/+4 |
| | |||||
* | llvmpipe: debug checks: make sure scene is empty at key points | Brian Paul | 2010-01-12 | 1 | -0/+4 |
| | |||||
* | llvmpipe: assert that we're putting data into a valid bin | Brian Paul | 2010-01-12 | 1 | -0/+3 |
| | |||||
* | llvmpipe: clamp maxx,maxy to framebuffer size (in terms of tiles) | Brian Paul | 2010-01-12 | 1 | -0/+5 |
| | | | | | | | | | | | 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. | ||||
* | llvmpipe: added lp_scene_is_empty() | Brian Paul | 2010-01-12 | 2 | -0/+24 |
| | |||||
* | llvmpipe: silence unused var warnings | Brian Paul | 2010-01-12 | 1 | -3/+5 |
| | |||||
* | llvmpipe: remove unused #define | Brian Paul | 2010-01-12 | 1 | -3/+0 |
| | |||||
* | llvmpipe: disable the all in/out test code for now | Brian Paul | 2010-01-11 | 1 | -1/+1 |
| | | | | | It's still faster not to try to special case the "all pixels are known to be inside the triangle" case. | ||||
* | llvmpipe: move, update comments | Brian Paul | 2010-01-11 | 1 | -17/+10 |
| | |||||
* | llvmpipe: refactor generate_fragment() code | Brian Paul | 2010-01-11 | 1 | -62/+76 |
| | | | | | This will make it easier to generate multiple versions of the fragment code per variant. | ||||
* | llvmpipe: do the all-in test on the scalar c0 instead of vector c0 | Brian Paul | 2010-01-11 | 1 | -24/+21 |
| | | | | This still isn't faster, but committing it for posterity. | ||||
* | llvmpipe: force constant interpolation of flatshade colors | Keith Whitwell | 2010-01-11 | 5 | -5/+21 |
| | | | | Nice speedup for gears. | ||||
* | st/mesa: early exit on error path | Keith Whitwell | 2010-01-11 | 1 | -0/+1 |
| | | | | | Can't rely on asserts having any effect on flowcontrol for release builds. | ||||
* | llvmpipe: remove opencoded constant | Keith Whitwell | 2010-01-11 | 1 | -4/+4 |
| | |||||
* | llvmpipe: remove scissor cliprect derived state | Keith Whitwell | 2010-01-11 | 2 | -41/+0 |
| | | | | | | | 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. | ||||
* | llvmpipe: initial mrt support | Keith Whitwell | 2010-01-10 | 7 | -143/+225 |
| | | | | | Non-mrt apps work, and the code looks correct, but not many mrt test apps handy atm... | ||||
* | llvmpipe: optimize case when all four pixels are inside the triangle | Brian Paul | 2010-01-08 | 1 | -29/+77 |
| | | | | | | | | | | 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... | ||||
* | llvmpipe: fix more if/else/endif design bugs | Brian Paul | 2010-01-08 | 1 | -7/+9 |
| | |||||
* | llvmpipe: move some fields to the private lp_build_flow_if struct | Brian Paul | 2010-01-08 | 2 | -31/+32 |
| | |||||
* | llvmpipe: free the phi array | Brian Paul | 2010-01-08 | 1 | -0/+2 |
| | |||||
* | llvmpipe: checkpoint if/else/endif contructs work | Brian Paul | 2010-01-08 | 2 | -129/+96 |
| | | | | | 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. | ||||
* | Merge remote branch 'origin/master' into lp-binning | José Fonseca | 2010-01-08 | 1619 | -74826/+144419 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | tgsi: Cleanup dot-product opcodes in interpreter. | Michal Krol | 2010-01-08 | 1 | -97/+130 |
| | | |||||
| * | nv20: Fix build for the latest nouveau_class.h changes. | Francisco Jerez | 2010-01-08 | 1 | -2/+2 |
| | | |||||
| * | scons: Don't build xlib when dri is enabled. | José Fonseca | 2010-01-08 | 1 | -0/+4 |
| | | | | | | | | Hopefully adddresses fdo 25828. | ||||
| * | lvmpipe: Initialize all coordinates. | José Fonseca | 2010-01-08 | 1 | -0/+3 |
| | | | | | | | | Fixes assertion failure with fp-incomplete-tex (fdo 24298). | ||||
| * | scons: Output a meaningful message when xlib libGL.so can't be built. | José Fonseca | 2010-01-08 | 1 | -45/+57 |
| | | |||||
| * | scons: Use static glew library on Unices to avoid binary compatability issues | José Fonseca | 2010-01-08 | 1 | -9/+9 |
| | | | | | | | | Fixes bug 25926. | ||||
| * | st/xorg: remove unused xorg_exa_get_pixmap_handle function | Keith Whitwell | 2010-01-07 | 2 | -30/+0 |
| | | |||||
| * | nv50: preallocate TEMPs written first time in a subroutine | Christoph Bumiller | 2010-01-07 | 1 | -2/+10 |
| | | | | | | | | | | Otherwise we risk overwriting them with temporary GPRs if they're not used immediately after the CALL. | ||||
| * | nv50: handle TGSI_OPCODE_SAD,UADD | Christoph Bumiller | 2010-01-07 | 1 | -0/+96 |
| | | |||||
| * | nv50: handle TGSI_OPCODE_IMAX,IMIN,UMAX,UMIN | Christoph Bumiller | 2010-01-07 | 1 | -10/+49 |
| | | |||||
| * | nv50: handle integer SET operations | Christoph Bumiller | 2010-01-07 | 1 | -21/+34 |
| | | |||||
| * | nv50: handle TGSI_OPCODE_SHL,ISHR,USHR | Christoph Bumiller | 2010-01-07 | 1 | -0/+42 |
| | | |||||
| * | nv50: handle TGSI_OPCODE_F2I,F2U,I2F,U2F plus src mods | Christoph Bumiller | 2010-01-07 | 1 | -87/+131 |
| | | |||||
| * | intel: Remove leftover symlinks from DRI1 removal. | Eric Anholt | 2010-01-07 | 2 | -2/+0 |
| | | |||||
| * | tgsi: add assertion to verify legal register file | Brian Paul | 2010-01-07 | 1 | -0/+1 |
| | | | | | | | | | | | | 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. | ||||
| * | tgsi: fix incorrectly placed braces, add more braces to be clear | Brian Paul | 2010-01-07 | 1 | -2/+4 |
| | | |||||
| * | tgsi: move register checking code before check_register_usage() | Brian Paul | 2010-01-07 | 1 | -4/+4 |
| | | | | | | | | | | | | 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. | ||||
| * | swrast: fix color masking for glAccum(GL_RETURN) | Brian Paul | 2010-01-07 | 1 | -4/+4 |
| | | | | | | | | Should fix fdo bug 25837. | ||||
| * | i810: use ColorMask[0] | Brian Paul | 2010-01-07 | 1 | -1/+1 |
| | | |||||
| * | gallium/util: remove useless assertions | Brian Paul | 2010-01-07 | 1 | -6/+0 |
| | | |||||
| * | gallium/util: update comment: s/src_pitch/src_stride | Brian Paul | 2010-01-07 | 1 | -1/+1 |
| | | |||||
| * | gallium/util: make src_y unsigned like the other x/y params | Brian Paul | 2010-01-07 | 2 | -2/+2 |
| | | |||||
| * | llvmpipe: Remove TGSI sampler pointers from JIT context too. | José Fonseca | 2010-01-07 | 3 | -19/+9 |
| | | |||||
| * | llvmpipe: Remove more loose ends of TGSI exec sampling. | José Fonseca | 2010-01-07 | 6 | -127/+4 |
| | | |||||
| * | i965g: updates for draw retval | Keith Whitwell | 2010-01-07 | 1 | -11/+9 |
| | | |||||
| * | llvmpipe: Axe texture sampling code inherited from softpipe. | José Fonseca | 2010-01-07 | 5 | -1727/+0 |
| | | | | | | | | | | | | | | 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. | ||||
| * | gallium: Fix texture sampling with explicit LOD in softpipe. | Michal Krol | 2010-01-07 | 5 | -53/+113 |
| | | |||||
| * | gallium: Pass per-element (not per-quad) LOD bias values down to texture ↵ | Michal Krol | 2010-01-07 | 5 | -98/+123 |
| | | | | | | | | sampler. |