Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'mesa_7_7_branch' | Brian Paul | 2010-01-08 | 3 | -22/+32 |
|\ | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c | ||||
| * | tgsi: fix SSE code emit for XPD | Brian Paul | 2010-01-07 | 1 | -20/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Rearrange things so that the writes to the dest registers happen after we've fetched/used all src registers. The problematic instruction was: XPD TEMP[2].xyz, TEMP[0], TEMP[2]; Note that the dst reg is also a src reg. This fixes bad shading with progs/glsl/bump.c since Eric's changes to the Mesa program optimizer in commit d6690ce15fb8c7c6abf1bc0d847c1d2da2c33904. The optimizer rearranges some registers so we occasionally wind up with something like the above. | ||||
| * | svga: Silence uninitialized variable warning. | Vinson Lee | 2010-01-06 | 1 | -1/+1 |
| | | |||||
| * | nv50: add missing parentheses in nv50_query_result() | Roel Kluin | 2010-01-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | NOUVEAU_BO_RD is defined (1 << 2), and `|' has higher precedence than `?' so the second argument of nouveau_bo_map was always 0. Signed-off-by: Roel Kluin <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | | 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 |
| | | |||||
* | | 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 |
| | | |||||
* | | 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. | ||||
* | | 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. | ||||
* | | tgsi: Cleanup exec_tex(). | Michal Krol | 2010-01-07 | 1 | -49/+40 |
| | | |||||
* | | svga: Fix fs key size computation and key comparison. | Michal Krol | 2010-01-07 | 2 | -5/+9 |
| | | | | | | | | | | This also allows us to have texture_target back as a bitfield and save us a few bytes. | ||||
* | | r300g: add back-face color VS outputs | Marek Olšák | 2010-01-06 | 2 | -7/+37 |
| | | | | | | | | | | Required for two-sided lighting. BTW we are approaching softpipe-level quality. ;) | ||||
* | | r300g: fix SWTCL stream locations of texture coordinates | Marek Olšák | 2010-01-06 | 1 | -1/+1 |
| | | | | | | | | It might have caused hardlocks when TCL was bypassed, not sure. | ||||
* | | r300g: if no DS buffer is set, disable reading from and writing to it | Marek Olšák | 2010-01-06 | 2 | -2/+10 |
| | | | | | | | | It fixes another "Bad CS" issue. | ||||
* | | r300g: disable the rasterization of WPOS if it's unused by the FS | Marek Olšák | 2010-01-06 | 4 | -34/+58 |
| | | |||||
* | | r300g: add WPOS | Marek Olšák | 2010-01-06 | 6 | -3/+124 |
| | | |||||
* | | r300g: consolidate params | Marek Olšák | 2010-01-06 | 1 | -3/+6 |
| | | |||||
* | | r300g: fix outputting depth in the FS | Marek Olšák | 2010-01-06 | 2 | -3/+18 |
| | | |||||
* | | r300g: optimize blending by conditionally disabling reads from the colorbuffer | Marek Olšák | 2010-01-06 | 2 | -3/+30 |
| | | |||||
* | | r300g: optimize blending by discarding pixels that don't change the colorbuffer | Marek Olšák | 2010-01-06 | 2 | -3/+162 |
| | | | | | | | | Let's get some performance out of the blender. | ||||
* | | r300g: fix blending when SRC_ALPHA_SATURATE is used | Marek Olšák | 2010-01-06 | 1 | -2/+7 |
| | | |||||
* | | util/blitter: allow NULL CSOs to be saved | Marek Olšák | 2010-01-06 | 1 | -10/+17 |
| | | |||||
* | | softpipe: fix draw return value | Keith Whitwell | 2010-01-06 | 1 | -1/+1 |
| | | |||||
* | | r300g: add missing is_anistropic param | Brian Paul | 2010-01-06 | 1 | -1/+2 |
| | | |||||
* | | svga: make texture_target a ubyte, not a bitfield | Brian Paul | 2010-01-06 | 1 | -1/+1 |
| | | | | | | | | | | gcc won't let us take the address of a bitfield in the svga_fs_key_size() function. | ||||
* | | gallium/docs: finish up description of pipe_rasterizer_state fields | Brian Paul | 2010-01-06 | 1 | -29/+94 |
| | | |||||
* | | util: Fix format descriptor table entries. | Michal Krol | 2010-01-06 | 1 | -11/+11 |
| | | |||||
* | | pipe_sampler_state::compare_mode is not a boolean enable flag. | Michal Krol | 2010-01-06 | 6 | -9/+9 |
| | | | | | | | | It's a 1-bit enum. | ||||
* | | util: Handle the remaining format cases in pipe_tile_raw_to_rgba(). | Michal Krol | 2010-01-06 | 1 | -23/+4 |
| | | |||||
* | | Make sure we use only signed/unsigned ints with bitfields. | Michal Krol | 2010-01-06 | 1 | -14/+12 |
| | | | | | | | | Seems to be the only way to stay fully portable. | ||||
* | | i965g: fix invalid assertion in emit_xpd(), again | Brian Paul | 2010-01-06 | 1 | -1/+1 |
| | |