summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
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-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-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-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
2010-01-06r300g: add WPOSMarek Olšák
2010-01-06r300g: consolidate paramsMarek Olšák
2010-01-06r300g: fix outputting depth in the FSMarek Olšák
2010-01-06r300g: optimize blending by conditionally disabling reads from the colorbufferMarek Olšák
2010-01-06r300g: optimize blending by discarding pixels that don't change the colorbufferMarek Olšák
Let's get some performance out of the blender.
2010-01-06r300g: fix blending when SRC_ALPHA_SATURATE is usedMarek Olšák
2010-01-06util/blitter: allow NULL CSOs to be savedMarek Olšák
2010-01-06softpipe: fix draw return valueKeith Whitwell
2010-01-06r300g: add missing is_anistropic paramBrian Paul
2010-01-06svga: make texture_target a ubyte, not a bitfieldBrian Paul
gcc won't let us take the address of a bitfield in the svga_fs_key_size() function.
2010-01-06gallium/docs: finish up description of pipe_rasterizer_state fieldsBrian Paul
2010-01-06util: Fix format descriptor table entries.Michal Krol
2010-01-06pipe_sampler_state::compare_mode is not a boolean enable flag.Michal Krol
It's a 1-bit enum.
2010-01-06util: Handle the remaining format cases in pipe_tile_raw_to_rgba().Michal Krol
2010-01-06Make sure we use only signed/unsigned ints with bitfields.Michal Krol
Seems to be the only way to stay fully portable.
2010-01-06i965g: fix invalid assertion in emit_xpd(), againBrian Paul
2010-01-06Merge remote branch 'origin/mesa_7_7_branch'José Fonseca
Conflicts: configs/default src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/mesa/main/version.h
2010-01-06pipebuffer: Multi-threading fixes for fencing.José Fonseca
I had this patch on my hard drive for long time. It doesn't fully address SVGA multi-threading issues, but causes no regressions, so decided to commit while it still applies cleanly. Attention: merging this into master will cause issues due to recent changes in reference counting to fix strict aliasing rules violation.
2010-01-06gallium: remove PIPE_TEX_FILTER_ANISOLuca Barbieri
This patch removes PIPE_TEX_FILTER_ANISO. Anisotropic filtering is enabled if and only if max_anisotropy > 1.0. Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be considered equivalent, and meaning to turn off anisotropic filtering. This approach has the small drawback of eliminating the possibility of enabling anisotropic filter on either minification or magnification separately, which Radeon hardware seems to support, is currently support by Gallium but not exposed to OpenGL. If this is actually useful it could be handled by splitting max_anisotropy in two values and adding an appropriate OpenGL extension. NOTE: some fiddling & reformatting by keithw to get this patch to apply. Hopefully nothing broken in the process.
2010-01-05gallium/util: replace 8 with PIPE_MAX_COLOR_BUFSBrian Paul
2010-01-05gallium/util: comments and whitespace fixesBrian Paul
2010-01-05i965g: fix invalid assertion in emit_xpd()Brian Paul
Invalid assertion found by Roel Kluin <roel.kluin@gmail.com>
2010-01-05nouveau: rewrite nouveau_stateobj to use BEGIN_RING properlyMaarten Maathuis
- The previous solution was hacky and didn't do subchannel autobinding. - The beheaviour should match what libdrm_nouveau does closely. - The solution remains statically sized, but when debugging is on it will check for abuse. Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
2010-01-05nouveau: kill nouveau_push.h and use libdrm versions of BEGIN_RINGs, etcMarcin Slusarz
2010-01-05nv50: remove vtxbuf stateobject after a referenced vtxbuf is mappedMaarten Maathuis
- This avoids problematic "reloc'ed while mapped" messages and some associated corruption as well. Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
2010-01-05svga: Remove stale references to delete shader results.José Fonseca
To ensure that a new result that happens to have the same address of the old one will be detected as a change.
2010-01-05svga: Rebind shaders when tokens change.José Fonseca
Even shader ID doesn't change. Otherwise the token change is not effective. This reverts regression from commit cdb445f3a9285e2d8f042a07021ade78b94e0156. Regression could be seen in Quake3's loading screen -- the upper right corner of the screen would be black.
2010-01-05Merge branch 'gallium-docs'Corbin Simpson
2010-01-05docs: Don't check in generated docs.Corbin Simpson
Per ML discussion.
2010-01-05docs: Stub out list of modules in core distribution of G3D.Corbin Simpson
2010-01-05Merge branch 'remove-intel-dri1'Kristian Høgsberg
* remove-intel-dri1: intel: intelScreenContext() is no longer used intel: Remove remaining dri2.enabled tests intel: Drop more cliprect bookkeeping intel: Remove struct intel_framebuffer intel: Remove client-side vblank code intel: Drop intelWindowMoved() intel: Drop batchbuffer cliprect_mode tracking intel: Drop DRI1 static regions intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region() intel: Drop LOCK/UNLOCK_HARDWARE() intel: Drop DRI1 SwapBuffer implementation intel: Drop DRI1 CopySubBuffer implementation intel: Drop DRI1 support Push __driDriverExtensions out of dri_util.c and into the drivers Remove leftover __DRI{screen,drawable,context}Private references Check for libdrm_$chipset.pc when needed
2010-01-05Merge commit 'origin/gallium-draw-retval'Keith Whitwell
Conflicts: src/gallium/drivers/identity/id_context.c
2010-01-05tgsi: Simplify implementation of few interpreter's instructions.Michal Krol
2010-01-05tgsi: Use FREE() to release MALLOC-ed() memories in sanity.Michal Krol