summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: Axe texture sampling code inherited from softpipe.José Fonseca2010-01-075-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 Krol2010-01-075-53/+113
|
* gallium: Pass per-element (not per-quad) LOD bias values down to texture ↵Michal Krol2010-01-075-98/+123
| | | | sampler.
* tgsi: Cleanup exec_tex().Michal Krol2010-01-071-49/+40
|
* svga: Fix fs key size computation and key comparison.Michal Krol2010-01-072-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 outputsMarek Olšák2010-01-062-7/+37
| | | | | Required for two-sided lighting. BTW we are approaching softpipe-level quality. ;)
* r300g: fix SWTCL stream locations of texture coordinatesMarek Olšák2010-01-061-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 itMarek Olšák2010-01-062-2/+10
| | | | It fixes another "Bad CS" issue.
* r300g: disable the rasterization of WPOS if it's unused by the FSMarek Olšák2010-01-064-34/+58
|
* r300g: add WPOSMarek Olšák2010-01-066-3/+124
|
* r300/compiler: add full viewport transformation support in WPOS codegenMarek Olšák2010-01-064-6/+16
|
* r300g: consolidate paramsMarek Olšák2010-01-061-3/+6
|
* r300g: fix outputting depth in the FSMarek Olšák2010-01-062-3/+18
|
* r300g: optimize blending by conditionally disabling reads from the colorbufferMarek Olšák2010-01-062-3/+30
|
* r300g: optimize blending by discarding pixels that don't change the colorbufferMarek Olšák2010-01-062-3/+162
| | | | Let's get some performance out of the blender.
* r300g: fix blending when SRC_ALPHA_SATURATE is usedMarek Olšák2010-01-061-2/+7
|
* util/blitter: allow NULL CSOs to be savedMarek Olšák2010-01-061-10/+17
|
* softpipe: fix draw return valueKeith Whitwell2010-01-061-1/+1
|
* r300g: add missing is_anistropic paramBrian Paul2010-01-061-1/+2
|
* svga: make texture_target a ubyte, not a bitfieldBrian Paul2010-01-061-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 fieldsBrian Paul2010-01-061-29/+94
|
* util: Fix format descriptor table entries.Michal Krol2010-01-061-11/+11
|
* pipe_sampler_state::compare_mode is not a boolean enable flag.Michal Krol2010-01-066-9/+9
| | | | It's a 1-bit enum.
* util: Handle the remaining format cases in pipe_tile_raw_to_rgba().Michal Krol2010-01-061-23/+4
|
* Make sure we use only signed/unsigned ints with bitfields.Michal Krol2010-01-064-27/+25
| | | | Seems to be the only way to stay fully portable.
* i965g: fix invalid assertion in emit_xpd(), againBrian Paul2010-01-061-1/+1
|
* Merge remote branch 'origin/mesa_7_7_branch'José Fonseca2010-01-0613-340/+379
|\ | | | | | | | | | | | | Conflicts: configs/default src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/mesa/main/version.h
| * pipebuffer: Multi-threading fixes for fencing.José Fonseca2010-01-061-111/+170
| | | | | | | | | | | | | | | | | | 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.
| * i965: fix invalid assertion in emit_xpd()Brian Paul2010-01-051-1/+1
| | | | | | | | Invalid assertion found by Roel Kluin <[email protected]>
| * tdfx: condition always evaluates to false in SetupDoubleTexEnvVoodoo3()Roel Kluin2010-01-051-1/+1
| | | | | | | | | | | | This can never be true. Signed-off-by: Roel Kluin <[email protected]>
| * st/mesa: fix broken translation of negative register indexesBrian Paul2010-01-051-4/+16
| | | | | | | | | | | | | | | | | | | | A src register's index can be negative if we're doing indirect addressing into the constant buffer. Ex: MOV OUT[1], CONST[ADDR[0].x-3] This fixes the piglit vp-arl-neg-array.vpfp test. Before this change we were going out of bounds of the t->constants[] array and getting garbage that later triggered an assertion.
| * ARB prog parser: regenerated parser fileBrian Paul2010-01-051-2/+5
| |
| * ARB prog parser: fix parameter binding typeBrian Paul2010-01-051-2/+5
| | | | | | | | | | | | | | | | | | | | References to program local and enviroment parameters are put into the unified program parameters list as PROGRAM_STATE_VAR entries which point into the local or environment arrays. So the param_binding_type field should be PROGRAM_STATE_VAR. This fixes the piglit vpfp-generic vp-arl-env-array.vpfp and vp-arl-local-array.vpfp test failures.
| * ARB prog parser: regenerated parser filesBrian Paul2010-01-052-275/+285
| |
| * ARB prog parser: add allowSwizzle param to initialize_symbol_from_const()Brian Paul2010-01-051-8/+14
| | | | | | | | | | | | | | | | We need to disable constant consolidation when building an array of constants which might be indexed indirectly. Fixes regression in piglit vpfp-generic vp-arl-constant-array.vpfp test caused by earlier constant consolidation patch.
| * mesa: whitespace changes and commentsBrian Paul2010-01-051-10/+6
| |
| * mesa: change constant search behaviour in _mesa_add_unnamed_constant()Brian Paul2010-01-051-4/+4
| | | | | | | | | | | | Only search for an existing, matching constant if swizzleOut is non-null. We need to be able to disable constant consolidation when building an array of constants which will be indexed indirectly.
| * svga: Remove stale references to delete shader results.José Fonseca2010-01-052-0/+14
| | | | | | | | | | To ensure that a new result that happens to have the same address of the old one will be detected as a change.
| * svga: Rebind shaders when tokens change.José Fonseca2010-01-053-18/+10
| | | | | | | | | | | | | | | | | | | | 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.
| * st/mesa: added PROGRAM_LOCAL_PARAM case in src_register()Brian Paul2010-01-051-0/+1
| | | | | | | | Fixes piglit vpfp-generic arl.vpfp failure when using gallium.
| * mesa: bump version to 7.7.1-DEVELBrian Paul2010-01-051-4/+4
| |
* | glew: Update to version 1.5.2.José Fonseca2010-01-064-93/+1965
| |
* | gallium: remove PIPE_TEX_FILTER_ANISOLuca Barbieri2010-01-0613-36/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | mesa: added GL_MAJOR_VERSION and GL_MINOR_VERSION queriesBrian Paul2010-01-052-0/+26
| | | | | | | | New in GL 3.0.
* | mesa: call _mesa_compute_version() to set context's version infoBrian Paul2010-01-052-80/+6
| |
* | mesa: added version.c to buildBrian Paul2010-01-052-0/+2
| |
* | mesa: added _mesa_compute_version() in new version.c fileBrian Paul2010-01-052-0/+137
| |
* | mesa: added version fields to GLcontextBrian Paul2010-01-051-0/+4
| |
* | gallium/util: replace 8 with PIPE_MAX_COLOR_BUFSBrian Paul2010-01-051-2/+2
| |
* | gallium/util: comments and whitespace fixesBrian Paul2010-01-051-3/+15
| |