summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-07tgsi: fix SSE code emit for XPDBrian Paul
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.
2010-01-07progs/fp: remove invalid tri-inv.c testBrian Paul
INV is not a valid instruction.
2010-01-06progs/demos: Assert that input to malloc is valid.Vinson Lee
2010-01-06progs/xdemos: Check for string overflow.Vinson Lee
2010-01-06progs/xdemos: Check for string overflow.Vinson Lee
2010-01-06svga: Silence uninitialized variable warning.Vinson Lee
2010-01-06meta: remove F suffix from _mesa_Ortho() paramsBrian Paul
_mesa_Ortho() takes GLdoubles.
2010-01-06docs: document a mipmap generation bug fixBrian Paul
2010-01-06meta: move destination vertex/projection setup out of _mesa_meta_GenerateMipmapBrian Paul
Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>
2010-01-06meta: set viewport and projection matrix in _mesa_meta_GenerateMipmapBrian Paul
This fixes mipmap levels being clipped to the last viewport. Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>
2010-01-06r600: adjust after radeon mipmap changes in 7118db8700Andre Maasikas
R600_OUT_BATCH_RELOC doesn't really use offset so set it in TEX_RESOURCE2 + typo fix
2010-01-06tnl: set FOGC result to (f,0,0,1)Brian Paul
Fixed FDO bug 23397.
2010-01-06progs/xdemos: Remove comma at end of enumerator list.Vinson Lee
2010-01-06progs/xdemos: Use temporary variables.Vinson Lee
This was missed from the previous commit to glxheads.c.
2010-01-06progs/glsl: Prevent possible string overflow.Vinson Lee
2010-01-06progs/xdemos: Prevent possible string overflow.Vinson Lee
2010-01-06r600: float texture component orderingPierre Ossman
The ordering of texture components was backwards for the floating point textures. Signed-off-by: Pierre Ossman <pierre@ossman.eu>
2010-01-06mesa: test index bounds before array elementRoel Kluin
Check whether the index is within bounds before accessing the array. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-06win32_menu: add missing parentheses in mapMenu()Roel Kluin
`|' has higher precedence than `?'. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-06nv50: add missing parentheses in nv50_query_result()Roel Kluin
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 <roel.kluin@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-06i965: fix invalid assertion in emit_xpd(), againBrian Paul
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-05i965: fix invalid assertion in emit_xpd()Brian Paul
Invalid assertion found by Roel Kluin <roel.kluin@gmail.com>
2010-01-05tdfx: condition always evaluates to false in SetupDoubleTexEnvVoodoo3()Roel Kluin
This can never be true. Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
2010-01-05st/mesa: fix broken translation of negative register indexesBrian Paul
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.
2010-01-05ARB prog parser: regenerated parser fileBrian Paul
2010-01-05ARB prog parser: fix parameter binding typeBrian Paul
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.
2010-01-05ARB prog parser: regenerated parser filesBrian Paul
2010-01-05ARB prog parser: add allowSwizzle param to initialize_symbol_from_const()Brian Paul
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.
2010-01-05mesa: whitespace changes and commentsBrian Paul
2010-01-05mesa: change constant search behaviour in _mesa_add_unnamed_constant()Brian Paul
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.
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-05st/mesa: added PROGRAM_LOCAL_PARAM case in src_register()Brian Paul
Fixes piglit vpfp-generic arl.vpfp failure when using gallium.
2010-01-05mesa: bump version to 7.7.1-DEVELBrian Paul
2010-01-04mesa: add missing _mesa_lock_texture() callBrian Paul
2010-01-04i915: Use _MaxLevel on principle in texture setup.Eric Anholt
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.
2010-01-04intel: Fix CopyTexImage from tiled mipmap levels > 0.Eric Anholt
Fixes piglit fbo-copyteximage.
2010-01-04i965: Fix the surface offset calculation for tiled buffers.Eric Anholt
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.
2010-01-04r600: support vertex_array_bgraAndre Maasikas
Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?
2010-01-04mesa: added GL_DU8DV8_ATI in extract_float_rgba()Brian Paul
Fixes warning seen with Shadowgrounds. See bug 24016.
2010-01-04docs: initial release notes for 7.7.1Brian Paul
2010-01-04mesa: Prevent possible array out-of-bounds access by _mesa_light.Vinson Lee
2010-01-04mesa: regenerated enums.c fileBrian Paul
2010-01-04glapi: comment-out TIMEOUT_IGNOREDBrian Paul
This is not really a GLenum value.
2010-01-04glsl: use varName variable in _slang_gen_assignment()Brian Paul
2010-01-04st/mesa: Only call st_texture_image_unmap() if texImage->Data is non-NULL.Michel Dänzer
This was already done in st_TexImage() but was missed between incremental changes to st_TexSubimage().
2010-01-04svga: Fix debug build crash when rendering to depth/stencil renderbuffer only.Michel Dänzer
2010-01-04st/xorg: Proper calculation of screen pitch.Michel Dänzer
2010-01-04vmware/xorg: Fix SCons build.Michel Dänzer