summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-12-11mesa: check dst reg in _mesa_find_free_register()Brian Paul
If a register was only being used as a destination (as will happen when generated condition-codes) we missed its use. So we'd errantly return a register index that was really in-use, not free. Fixes bug 25579.
2009-12-11sparc: additional preprocessor test for SPARC 64-bitAurelien Jarno
2009-12-10mesa: Initialize variable in MatchInstruction.Vinson Lee
2009-12-10mesa: Assign _mesa_lookup_parameter_index return value to GLint.Vinson Lee
2009-12-10i915: Add missing break statement in i915_debug_packet.Vinson Lee
2009-12-10glsl: Increase size of array in_slang_lookup_constant from 4 to 16.Vinson Lee
For some cases, _mesa_GetIntegerv reads up to params[15].
2009-12-10glsl: Fix array out-of-bounds access by _slang_lookup_constant.Vinson Lee
2009-12-10mesa: Fix array out-of-bounds access by _mesa_TexParameteriv.Vinson Lee
2009-12-09mesa: Fix array out-of-bounds access by _mesa_TexGend.Vinson Lee
_mesa_TexGend calls _mesa_TexGenfv, which uses the params argument as an array.
2009-12-09mesa: Fix array out-of-bounds access by _mesa_Lighti.Vinson Lee
_mesa_Lighti calls _mesa_Lightiv, which uses the params argument as an array.
2009-12-09mesa: Fix array out-of-bounds access by _mesa_Lightf.Vinson Lee
2009-12-09mesa: Fix array out-of-bounds access by _mesa_PointParameteri.Vinson Lee
_mesa_PointParameteri calls _mesa_PointParameterfv, which uses the params argument as an array.
2009-12-09mesa: Fix array out-of-bounds access by _mesa_PointParameterf.Vinson Lee
_mesa_PointParameterf calls _mesa_PointParameterfv, which uses the params argument as an array.
2009-12-09mesa: Fix array out-of-bounds access by _mesa_LightModelf.Vinson Lee
_mesa_LightModelf calls _mesa_LightModelfv, which uses the params argument as an array.
2009-12-09glsl: Remove unused member x from struct slang_operation.Vinson Lee
2009-12-09mesa: fix baseLevel >= MAX_TEXTURE_LEVELS testBrian Paul
This fixes invalid array indexing when baseLevel == MAX_TEXTURE_LEVELS. See bug 25528.
2009-12-09r600: fix state size prediction after dc0777d3Andre Maasikas
2009-12-08mesa: Fix array out-of-bounds access by _mesa_LightModeli.Vinson Lee
_mesa_LightModeli calls _mesa_LightModeliv, which uses the params argument as an array.
2009-12-08mesa: Fix array out-of-bounds access by _mesa_Fogf.Vinson Lee
_mesa_Fogf calls _mesa_Fogfv, which uses the params argument as an array.
2009-12-08mesa: Fix array out-of-bounds access by _mesa_TexParameteri.Vinson Lee
_mesa_TexParameteri calls set_tex_parameteri, which uses the params argument as an array.
2009-12-08mesa: Fix array out-of-bounds access by _mesa_Fogi.Vinson Lee
_mesa_Fogi calls _mesa_Fogfv, which uses the params argument as an array.
2009-12-08mesa: Fix array out-of-bounds access by _mesa_TexParameteri.Vinson Lee
_mesa_TexParameteri calls set_tex_parameterf, which uses the params argument as an array.
2009-12-08mesa: Fix array out-of-bounds access by _mesa_TexParameterfv.Vinson Lee
_mesa_TexParameterfv calls set_tex_parameteri, which uses the params argument as an array.
2009-12-08vbo: fix array index out of bounds error, and fix evaluator prioritiesBrian Paul
Fixes bug 25525. Plus, the GL_NV_vertex_program evaluators alias and override the convential evaluator maps, so set their state after the conventional maps.
2009-12-08r600: add support for TXB instructionAndre Maasikas
makes testing other things easier - does not hang the card TODO: enable TEX dependency tracking in vertex programs
2009-12-08r600: reorder state for render_target and blendAndre Maasikas
First time around render targets are not enabled yet (done in r700SendRenderTargetState) so blend state is not emitted for any targets. Affects first glClear in some mesa tests. As a quick fix reorder state emit so that target is set first
2009-12-07mesa: set version string to 7.6.1-rc3Ian Romanick
2009-12-06dri: Fix potential null pointer dereference in driBindContext.Vinson Lee
(cherry picked from commit 919898e92fa23ff71a59d86a46ff0886a6f34e4d)
2009-12-06dri: Fix potential null pointer deference in dri_put_drawable.Vinson Lee
(cherry picked from commit 364070b1f2b08d43fb205ec198894a35bec6b2f3)
2009-12-05mesa: Fix array out-of-bounds access by _mesa_TexGenf.Vinson Lee
_mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument as an array. (cherry picked from commit ca5a7aadb4361e7d053aea8687372cd44cbd8795)
2009-12-05mesa: Fix array out-of-bounds access by _mesa_TexGeni.Vinson Lee
_mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument as an array. (cherry picked from commit d55fb7c835b56951f05a058083e7eda264ba192e)
2009-12-05mesa: Fix array out-of-bounds access by _mesa_TexParameterf.Vinson Lee
_mesa_TexParameterf calls set_tex_parameterf, which uses the params argument as an array. (cherry picked from commit 270d36da146b899d39e08f830fe34b63833a3731)
2009-12-05mesa: Fix array out-of-bounds access by _mesa_TexParameterf.Vinson Lee
_mesa_TexParameterf calls set_tex_parameteri, which uses the params argument as an array. (cherry picked from commit a201dfb6bf28b89d6f511c2ec9ae0d81ef18511d)
2009-12-04mesa: Fix array out-of-bounds access in _mesa_TexEnvf.Vinson Lee
_mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument as an array. (cherry picked from commit a11d60d14caf8efc07f70af63b57b33273f8cf9b)
2009-12-04radeon: fix polygon stippleAlex Deucher
fixes fdo bug 25354 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-03r200: fix polygon stippleAlex Deucher
fixes fdo bug 25354 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-01intel: Remove GL_NV_point_sprite from extension listIan Romanick
i830 does not (and cannot!) support the any of the non-default GL_POINT_SPRITE_R_MODE_NV settings. i915 and i965 could, but currently do not. In both cases it would require mucking about with the fragment shader.
2009-11-30mesa: set version string to 7.6.1-rc2Ian Romanick
2009-11-30i915: Actually put i915PointParameterfv in the driver function table. Duh.Ian Romanick
2009-11-29i915: Fallback bit define missed on previous commitIan Romanick
2009-11-29i915: Round point sizes instead of truncate.Ian Romanick
2009-11-29i915: Enable point sprite coordinate generationIan Romanick
Support still isn't completely correct, but it's better. piglit point-sprite now passes. However, glean's pointSprite test fails. In that test the texture on the sprite is somehow inverted as though GL_POINT_SPRITE_COORD_ORIGIN were set to GL_LOWER_LEFT. i915 hardware shouldn't be able to do that! I believe there are also problems when not all texture units have GL_COORD_REPLACE set. The hardware enable seems to be all or nothing. Fixes bug #25313.
2009-11-25Improve implementation of GL_POINT_SPRITE_COORD_ORIGIN errorsIan Romanick
This enum is only supported for OpenGL 2.0. If a driver supports OpenGL 1.4 and GL_ARB_point_sprite, using this enum should generate an error. This is important because, for example, i915 and i830 can support GL_ARB_point_sprite, but they cannot support GL_POINT_SPRITE_COORD_ORIGIN. This commit just removes the check for NV_point_sprite, which is completely wrong, and add some comments describing what the code should do. I don't see an easy way to check for version >= 2.0 from inside Mesa. Perhaps we should add an extension GL_MESA_point_sprite_20 (like Intel's old GL_EXT_packed_pixels_12) to indicate that this added bit of functionality is available. Also note that glean's pointSprite test only checks for GL_ARB_point_sprite before trying to use GL_POINT_SPRITE_COORD_ORIGIN. Naturally, that fails on non-2.0 implementations (i.e., Mac OS X on GMA 950).
2009-11-25radeon: fix context destroy needing lock for flushing.Dave Airlie
Thanks to Intel code which I've just stolen pretty much as usual. This fixes fdo bug 22851 which is a dri1 regression since rewrite. Tested by: fpiobaf (Fabio) on #radeon Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-23i915: Initialize Length and Offset fields when mapping a buffer objectIan Romanick
This fixes an assertion failure in _mesa_MapBufferARB. Fixes bugzilla #25253.
2009-11-23Fix the DRI swrast driver for big endian platforms.Michel Dänzer
Too bad I didn't realize earlier how easy this could be... Fixes http://bugs.freedesktop.org/show_bug.cgi?id=22767 .
2009-11-19mesa: define 32bit byteswap for AIX.Tom Fogal
Fixes `xlib' driver build on AIX. Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-18r600: disable compressed texture supportAlex Deucher
It's not implemented yet. fixes fdo bug 24047
2009-11-18Revert "radeon: Fix legacy bo not to reuse dma buffers before refcount is 1."Alex Deucher
This reverts commit 284a7af274bc148f112bd0ebb40583923ee26b49. This breaks kde desktop effects. See fdo bug 24131
2009-11-18mesa: set version string to 7.6.1-rc1Brian Paul