summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* st/mesa: invert scissor rect depending on FB orientationBrian Paul2010-04-191-5/+8
| | | | Fixes fd.o bug 27715
* mesa: Fix build with gcc 3.3.Matthieu Herrb2010-04-192-3/+6
| | | | Signed-off-by: Brian Paul <[email protected]>
* radeon: Let this build with gcc 3.3Matthieu Herrb2010-04-191-3/+5
| | | | | | Declaring the loop index inside for () is not supported by this version. Signed-off-by: Brian Paul <[email protected]>
* radeon: Fix command type for DRM_RADEON_IRQ_EMIT ioctl.Owain Ainsworth2010-04-191-1/+1
| | | | | | | | This should be drmCommandWriteRead to avoid an EINVAL error on systems that strictly check ioctl args. This command has been r/w for ever. Discussion with airlied agreed that this was the correct course. Signed-off-by: Brian Paul <[email protected]>
* mesa: Use __OpenBSD__ to check for OpenBSD.Matthieu Herrb2010-04-191-1/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* gallium/draw: use correct rasterization state for wide/AA points/linesBrian Paul2010-04-192-2/+2
| | | | | | | | | | | When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution.
* savage: call _mesa_meta_init/free()Tormod Volden2010-04-161-0/+5
| | | | | | | | Fixes crash when using _mesa_CopyTexImage2D. Bug #27652. Signed-off-by: Tormod Volden <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* r300: respect radeon common code fallbacksMaciej Cencora2010-04-113-2/+10
| | | | Fixes progs/demos/shadowtex under KMS
* r300: set proper vertex index limits also in non indexed modeMaciej Cencora2010-04-111-0/+8
| | | | Fixes #27521, broken menus in UT2004 and broken water refraction in Sauerbraten.
* r600: add new r7xx pci idsAlex Deucher2010-04-092-0/+6
|
* mesa: fix instruction indexing bugsBrian Paul2010-04-091-2/+2
| | | | | | | We were looping over instructions but only looking at the 0th instruction's opcode. Fixes fd.o bug 27566.
* st/mesa: fix glDrawPixels(GL_DEPTH_COMPONENT) regressionBrian Paul2010-04-081-21/+20
| | | | | | | | | | Commit 1454f20a991ddda35f1a2ffda953012078b407ba caused the regression. When the vertex shader emitted both a texcoord and color we were grabbing the wrong vertex attributes. Fix the draw_quad() code to put texcoords in slot[1] and color in slot[2]. That's a bit cleaner than changing the vertex shader code. Tested with progs/tests/zreaddraw.c
* intel: Call intel_prepare_render() in intelClear()Li Peng2010-04-082-2/+4
| | | | | Make sure we have up to date buffers before we start looking at the tiling bits to determine how to clear.
* texenvprogram: fix for ARB_draw_buffers.Dave Airlie2010-04-081-15/+28
| | | | | | | piglit has a test called fbo-drawbuffers, this fails for me on r300g, and fixing the texenv program to use the DATA outputs fixes it. Signed-off-by: Dave Airlie <[email protected]>
* mesa: set version string to 7.8.1Ian Romanick2010-04-051-2/+2
|
* mesa: update_arrays() depends on program state.Henri Verbeet2010-04-051-3/+2
| | | | | | It uses ctx->VertexProgram._Current. Signed-off-by: Brian Paul <[email protected]>
* st/mesa: use BITFIELD64_BIT to access shader OutputsWritten in more placesBen Skeggs2010-03-312-4/+4
|
* intel: Bump intel driver date to reflect status as 2010Q1 releaseIan Romanick2010-03-281-1/+1
|
* mesa: set version string to 7.8Ian Romanick2010-03-281-1/+1
| | | | Also set the correct release date.
* mesa: move/update hash function commentsBrian Paul2010-03-271-6/+11
| | | | (cherry picked from commit 535742d75f0096b22d1b8ff203ae561167af18f7)
* mesa: fix deadlock in _mesa_HashFindFreeKeyBlock()Brian Paul2010-03-271-6/+13
| | | | | Fixes fd.o bug 27340. (cherry picked from commit 8fe3b3f66ae57a1a6eca7f6dcb0455e14ad92075)
* dri/swrast: Fix frontbuffer rendering.Michel Dänzer2010-03-261-6/+11
| | | | | Was broken since the endianness fixes. (cherry picked from commit 4cf14fa80bda5f4ea65bef3a64e748e064d0bde1)
* dri/swrast: Fix missed conversion of one pixel pointer increment.Michel Dänzer2010-03-261-1/+1
| | | | | This probably broke the swrast DRI driver when running X in depth 16. (cherry picked from commit 6ec259eb17dfbb74972b8cffb4e02a9dbab288cc)
* i965: Fix readpixels from ReadBuffer != DrawBuffer.Eric Anholt2010-03-251-8/+8
| | | | | Fixes piglit fbo-readdrawpix. (cherry picked from commit 5782b2a968bb979b651e49bb5fc4162faa842050)
* i965: Fix inversion for glCopyPixels to/from FBOs.Eric Anholt2010-03-254-13/+20
| | | | | fixes piglit fbo-copypix. (cherry picked from commit a589da14dee0c2a32e6e529f1a390b01a3ee4001)
* intel: Rely on allocated region pitch for the miptree pitch.Eric Anholt2010-03-254-25/+7
| | | | | Bug #26966: 945 miptree pitch disagreement with libdrm. (cherry picked from commit da011faf48155a5c02ebc1fe1fa20a4f54b8c657)
* intel: Remove extra tiling setting after allocating a tiled region.Eric Anholt2010-03-252-9/+3
| | | | (cherry picked from commit 32f143b4327521a058dc05f0ab9087a5696b9618)
* intel: Respect src pitch in _mesa_copy_rect().Eric Anholt2010-03-251-1/+1
| | | | | | If a non-zero src_y was used, this would break piglit depth-level-clamp. (cherry picked from commit e1e48ea15c1fe448f0b69e086b66c1123dc98bb7)
* glapi: return int = 0 from NoOpGeneric()Brian Paul2010-03-251-1/+2
| | | | | | If a GL function is called w/out a current rendering context, this stub gets called. It should return 0 so that non-void-valued functions return 0/NULL instead of a random number.
* glslcompiler: Fix build.Vinson Lee2010-03-251-6/+2
|
* r300: report correct state atom sizeMaciej Cencora2010-03-241-2/+2
| | | | Spotted by Pauli Nieminen
* r300: fix off by oneMaciej Cencora2010-03-241-1/+1
| | | | | | | | R300_PVS_MAX_CONST_ADDR field holds highest const addr, not const count. Fixes missing models and others rendering errors for vertex program using 256 params.
* r300: fix vertex programs with big number of params (>255) under KMSMaciej Cencora2010-03-242-7/+39
| | | | UMS will probably require some kernel work
* r300: fix wpos/fog handlingMaciej Cencora2010-03-241-6/+16
| | | | | | | | | | It may happen that the vertex attribute we were going to stuff the wpos/fog attrs in was already written by vertex program. In such cases we need to remove instruction accessing these attributes, so they don't overwrite the wpos/fog related instructions. This fixes non-textured models in many wine games.
* r300: clean fog_attr/wpos_attr if code accessing these attributes has been ↵Maciej Cencora2010-03-241-0/+13
| | | | removed FP during compilation
* i965: Stop abusing ctx->NewState flags for storing driver internal changes.Eric Anholt2010-03-231-3/+3
| | | | | | | | | | | We're still abusing the flags by putting them where our driver stores ctx->NewState changes. Making them into more restricted state change flags would be a project for later. Fixes a failure where calling intel_draw_buffer() too often would trip up Mesa assertions about when Mesa state could get changed, when it hadn't. Bug #27034.
* mesa: set version string to 7.8-rc27.8-rc2Ian Romanick2010-03-221-1/+1
|
* intel: Call intel_prepare_render() before looking up regions.Kristian Høgsberg2010-03-223-6/+9
| | | | Fixes #27213.
* glslcompiler: fix build breakageBrian Paul2010-03-221-1/+2
|
* mesa: Add end of line to the end of a debug output.Pauli Nieminen2010-03-221-1/+1
|
* r200: Fix emit size prediction to account elt splitting.Pauli Nieminen2010-03-212-3/+4
| | | | | Emit sizes prediction didn't account for render splitting in hwtnl path.
* r200: Don't flush when closing elts in KMS.Pauli Nieminen2010-03-211-1/+2
| | | | | | | Flush in middle of rendering in KMS is not allowed because buffers are discarded in flush. Fixes crash when emiting split indices with RADEON_DEBUG=all.
* r200: Fix swtnl fallback to flush pending rendering before transition.Pauli Nieminen2010-03-211-4/+14
| | | | | | | | Flush after transition would emit wrong state that could cause wrong state emited for pending rendering operation. Fixes wan once from extrement tuxracer that is using per vertex materials.
* r200: Fix mixed indetion in r200TclFallback.Pauli Nieminen2010-03-211-21/+20
|
* vbo: Fix vbo_split_copy to pass correct max_index to draw.Pauli Nieminen2010-03-211-1/+1
| | | | | | | | vbo_split_copy was passing one past the max_index to draw function which caused _tnl_draw_prims function to read uninitialized values from copied array. Bug was spoted in valgrind report of progs/tests/cva_huge.
* r300/compiler: fix assertion failure in the r500-fragprog emission pathMarek Olšák2010-03-201-3/+2
|
* glapi: Fix aliases to non-static functions.Chia-I Wu2010-03-212-5/+5
| | | | | | | The bug is triggered by 41a87a43e11c664935349f938022d58d3e22da4e. glBlitFramebuffer, for example, is an alias to the non-static glBlitFramebufferEXT. We should define glBlitFramebuffer as an alias to _dispatch_stub_NNN.
* glapi: Correctly generate static disatches for X86.Chia-I Wu2010-03-202-64/+6
| | | | | The entry point names, instead of the function name, should be used to test if the entry point should be statically dispatched.
* drivers/x11: add PUBLIC qualifier to more API functionsBrian Paul2010-03-191-7/+8
| | | | Based on a patch from Tom Fogal.
* intel: Use bit-wise not instead of logical not (i830 path)Ian Romanick2010-03-181-1/+1
| | | | | | | | The assertion is checking that the low-order bits of offset are not set. It does this by anding the inverted offset mask with the offset. This is clearly intended to be a bit-wise "invert". Fixes bug #25984.