summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* progs/xdemos: Use temporary variables.Vinson Lee2010-01-061-2/+2
| | | | This was missed from the previous commit to glxheads.c.
* progs/glsl: Prevent possible string overflow.Vinson Lee2010-01-061-0/+4
|
* progs/xdemos: Prevent possible string overflow.Vinson Lee2010-01-061-1/+27
|
* r600: float texture component orderingPierre Ossman2010-01-061-20/+20
| | | | | | | The ordering of texture components was backwards for the floating point textures. Signed-off-by: Pierre Ossman <[email protected]>
* mesa: test index bounds before array elementRoel Kluin2010-01-063-3/+3
| | | | | | | Check whether the index is within bounds before accessing the array. Signed-off-by: Roel Kluin <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* win32_menu: add missing parentheses in mapMenu()Roel Kluin2010-01-061-1/+1
| | | | | | | `|' has higher precedence than `?'. Signed-off-by: Roel Kluin <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* nv50: add missing parentheses in nv50_query_result()Roel Kluin2010-01-061-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]>
* i965: fix invalid assertion in emit_xpd(), againBrian Paul2010-01-061-1/+1
|
* 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-053-6/+6
|
* mesa: add missing _mesa_lock_texture() callBrian Paul2010-01-041-0/+1
|
* i915: Use _MaxLevel on principle in texture setup.Eric Anholt2010-01-041-3/+4
| | | | | | It was OK before because we proceed to clamp the value to hardware limits, but given that other use of MaxLevel has been a trap, let's avoid it.
* intel: Fix CopyTexImage from tiled mipmap levels > 0.Eric Anholt2010-01-041-2/+3
| | | | Fixes piglit fbo-copyteximage.
* i965: Fix the surface offset calculation for tiled buffers.Eric Anholt2010-01-041-20/+30
| | | | | | If we ever had a non-tile-aligned tiled renderbuffer, the math was all off. Use the existing x,y coordinates instead of trying to reconstruct them from an incorrectly-calculated offset value.
* r600: support vertex_array_bgraAndre Maasikas2010-01-045-6/+25
| | | | | Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?
* mesa: added GL_DU8DV8_ATI in extract_float_rgba()Brian Paul2010-01-041-0/+2
| | | | Fixes warning seen with Shadowgrounds. See bug 24016.
* docs: initial release notes for 7.7.1Brian Paul2010-01-042-0/+49
|
* mesa: Prevent possible array out-of-bounds access by _mesa_light.Vinson Lee2010-01-041-15/+32
|
* mesa: regenerated enums.c fileBrian Paul2010-01-041-234/+231
|
* glapi: comment-out TIMEOUT_IGNOREDBrian Paul2010-01-041-1/+3
| | | | This is not really a GLenum value.
* glsl: use varName variable in _slang_gen_assignment()Brian Paul2010-01-041-3/+4
|
* st/mesa: Only call st_texture_image_unmap() if texImage->Data is non-NULL.Michel Dänzer2010-01-041-1/+1
| | | | | This was already done in st_TexImage() but was missed between incremental changes to st_TexSubimage().
* svga: Fix debug build crash when rendering to depth/stencil renderbuffer only.Michel Dänzer2010-01-041-1/+2
|
* st/xorg: Proper calculation of screen pitch.Michel Dänzer2010-01-041-2/+1
|
* vmware/xorg: Fix SCons build.Michel Dänzer2010-01-041-0/+1
|
* r300: Use C-style comments.Vinson Lee2010-01-031-15/+15
|
* progs/egl: Silence uninitialized variable warnings.Vinson Lee2010-01-032-2/+4
|
* progs/samples: Silence compiler warnings.Vinson Lee2010-01-031-7/+18
|
* r300: Silence 'mixed declarations and code' warnings.Vinson Lee2010-01-031-4/+7
|
* r300: Silence 'mixed declarations and code' warning.Vinson Lee2010-01-031-1/+2
|
* r300: Silence 'mixed declarations and code' warning.Vinson Lee2010-01-031-1/+3
|
* r300g: Silence 'mixed declarations and code' warning.Vinson Lee2010-01-031-1/+1
|
* r300g: Remove comma at end of enumerator list.Vinson Lee2010-01-031-8/+8
|
* llvmpipe: Remove comma at end of enumerator list.Vinson Lee2010-01-032-2/+2
|
* mesa: Cope with the degenerate case of zero length ranges.José Fonseca2010-01-031-4/+45
| | | | Fixes assertion failures on glean's bufferObject test.
* gdi: Don't generate import libraries for opengl32.dll.José Fonseca2010-01-031-0/+2
| | | | | Both MinGW and MSVC include opengl32 import libraries, and its safer to always use those.
* apple: Purge existing (not working) GLX_USE_APPLEGL from dated libGL on OSXJeremy Huddleston2010-01-033-24/+0
| | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* glxcmds: Fix comment about __DRI_ALLOCATEJeremy Huddleston2010-01-031-2/+2
| | | | Signed-off-by: Jeremy Huddleston <[email protected]>