summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-03-27mesa: move/update hash function commentsBrian Paul
(cherry picked from commit 535742d75f0096b22d1b8ff203ae561167af18f7)
2010-03-27mesa: fix deadlock in _mesa_HashFindFreeKeyBlock()Brian Paul
Fixes fd.o bug 27340. (cherry picked from commit 8fe3b3f66ae57a1a6eca7f6dcb0455e14ad92075)
2010-03-26dri/swrast: Fix frontbuffer rendering.Michel Dänzer
Was broken since the endianness fixes. (cherry picked from commit 4cf14fa80bda5f4ea65bef3a64e748e064d0bde1)
2010-03-26dri/swrast: Fix missed conversion of one pixel pointer increment.Michel Dänzer
This probably broke the swrast DRI driver when running X in depth 16. (cherry picked from commit 6ec259eb17dfbb74972b8cffb4e02a9dbab288cc)
2010-03-25i965: Fix readpixels from ReadBuffer != DrawBuffer.Eric Anholt
Fixes piglit fbo-readdrawpix. (cherry picked from commit 5782b2a968bb979b651e49bb5fc4162faa842050)
2010-03-25i965: Fix inversion for glCopyPixels to/from FBOs.Eric Anholt
fixes piglit fbo-copypix. (cherry picked from commit a589da14dee0c2a32e6e529f1a390b01a3ee4001)
2010-03-25intel: Rely on allocated region pitch for the miptree pitch.Eric Anholt
Bug #26966: 945 miptree pitch disagreement with libdrm. (cherry picked from commit da011faf48155a5c02ebc1fe1fa20a4f54b8c657)
2010-03-25intel: Remove extra tiling setting after allocating a tiled region.Eric Anholt
(cherry picked from commit 32f143b4327521a058dc05f0ab9087a5696b9618)
2010-03-25intel: Respect src pitch in _mesa_copy_rect().Eric Anholt
If a non-zero src_y was used, this would break piglit depth-level-clamp. (cherry picked from commit e1e48ea15c1fe448f0b69e086b66c1123dc98bb7)
2010-03-25glapi: return int = 0 from NoOpGeneric()Brian Paul
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.
2010-03-25glslcompiler: Fix build.Vinson Lee
2010-03-24r300: report correct state atom sizeMaciej Cencora
Spotted by Pauli Nieminen
2010-03-24r300: fix off by oneMaciej Cencora
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.
2010-03-24r300: fix vertex programs with big number of params (>255) under KMSMaciej Cencora
UMS will probably require some kernel work
2010-03-24r300: fix wpos/fog handlingMaciej Cencora
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.
2010-03-24r300: clean fog_attr/wpos_attr if code accessing these attributes has been ↵Maciej Cencora
removed FP during compilation
2010-03-23i965: Stop abusing ctx->NewState flags for storing driver internal changes.Eric Anholt
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.
2010-03-23softpipe: comments, re-formatting, etcBrian Paul
2010-03-23softpipe: add special cases for all Z compare modes for 16-bit Z bufferBrian Paul
We had fast paths for PIPE_FUNC_LESS and LEQUAL before. To satisfy OpenGL invariance rules, all depth compare modes should produce the same fragment Z values. Fixes progs/demos/singlebuffer.c
2010-03-23st/glx: better format selection in xmesa_choose_z_stencil_format()Brian Paul
This is a back-port of commit ef2664da6c4db1b52ef351641e3ee949b87f9c7b from master.
2010-03-22glx: Suppress BadDrawable from DRI2CopyRegionKristian Høgsberg
This can happen when an X window is destroyed behind our back. We use DRI2CopyRegion behind the scenes in many places (like flushing the fake front to the real front) so we have to ignore X errors triggered in that case. The glean test cases trigger this consistently as they don't destroy the GLX drawable nicely, they just destroy the X window.
2010-03-22mesa: set version string to 7.8-rc2Ian Romanick
2010-03-22intel: Call intel_prepare_render() before looking up regions.Kristian Høgsberg
Fixes #27213.
2010-03-22glslcompiler: fix build breakageBrian Paul
2010-03-22mesa: Add end of line to the end of a debug output.Pauli Nieminen
2010-03-21r200: Fix emit size prediction to account elt splitting.Pauli Nieminen
Emit sizes prediction didn't account for render splitting in hwtnl path.
2010-03-21r200: Don't flush when closing elts in KMS.Pauli Nieminen
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.
2010-03-21r200: Fix swtnl fallback to flush pending rendering before transition.Pauli Nieminen
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.
2010-03-21r200: Fix mixed indetion in r200TclFallback.Pauli Nieminen
2010-03-21vbo: Fix vbo_split_copy to pass correct max_index to draw.Pauli Nieminen
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.
2010-03-20r300/compiler: fix assertion failure in the r500-fragprog emission pathMarek Olšák
2010-03-21glapi: Fix aliases to non-static functions.Chia-I Wu
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.
2010-03-20glapi: Correctly generate static disatches for X86.Chia-I Wu
The entry point names, instead of the function name, should be used to test if the entry point should be statically dispatched.
2010-03-19r300g: remove hacks from translate_vertex_data_swizzleMarek Olšák
Fixing RGBA 4ub vertex colors.
2010-03-19drivers/x11: add PUBLIC qualifier to more API functionsBrian Paul
Based on a patch from Tom Fogal.
2010-03-18intel: Use bit-wise not instead of logical not (i830 path)Ian Romanick
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.
2010-03-18intel: Correct value of S0_VB_OFFSET_MASK to match hardware docs.Ian Romanick
2010-03-18Use bit-wise not instead of logical not.Ian Romanick
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.
2010-03-18st/mesa: s/unpack/pack/ to be more consistentBrian Paul
2010-03-18intel: Call _mesa_make_current() after getting initial buffersKristian Høgsberg
The default viewport is the window rectangle, which is set up by _mesa_make_current(). To be able to do that we need to get the window dimension (and buffers) first, so we have to call intel_prepare_render() before we can call into _mesa_make_current(). Fixes #26676 and #26678.
2010-03-17cell: return 1 for PIPE_CAP_BLEND_EQUATION_SEPARATEBrian Paul
With this feature, we get OpenGL version 2.0 and the progs/glsl/ demos run as-is.
2010-03-17cell: be more conservative in cell_is_format_supported()Brian Paul
This fixes a regression from commit a84575cdc0c8193b2c7858734e2ec6b1ec4511b2 which changed the depth/stencil format we were trying to use.
2010-03-17st/mesa: fix glCopyPixels bugs/crashes when src region need clippingBrian Paul
Use the _mesa_clip_readpixels() function to clip the src region against the buffer's bounds. Neatly, the resulting pixel unpack object's SkipPixels/SkipRows fields can be used to determine the position of the region in the destination texture. Fixes crash in progs/samples/copy.c and probably other cases.
2010-03-17mesa: rename params in prototype to match implementationBrian Paul
2010-03-17swrast: remove unused compute_coveragei() functionBrian Paul
2010-03-16i965: Fix ENDLOOP to only patch up this loop's BREAK and CONT.Eric Anholt
Corresponds to d225a25e21a24508aea3b877c78beb35502e942d and fixes piglit glsl-fs-loop-nested. Bug #25173. (cherry picked from commit a81836ee2fe5092d695b717addf8cec91f569777)
2010-03-16i965: Unalias all GLSL source regs from the destination regs used.Eric Anholt
We were doing it ad-hoc before, as instructions with potential aliasing problems were identified. But thanks to swizzling basically anything can have aliasing, so just do it generally at source reg setup time. This is somewhat inefficient, because sometimes an operation doesn't need unaliasing protection if the swizzling is safe, but the unaliasing before didn't cover those cases either. Fixes piglit glsl-fs-loop. (cherry picked from commit 6b194dab6b4d9f12cdd54c699b23c0d3420a49c2)
2010-03-16i965: Fix nested loops in the VS.Eric Anholt
We were patching up all the break and continues between the start of our loop and the end of our loop, even if they were breaks/continues for an inner loop. Avoiding patching already patched breaks/continues fixes piglit glsl-vs-loop-nested. (cherry picked from commit f6f547d87ea68f44c50a0b0231b7360ca94b2975)
2010-03-16i965: Fix up VP constbuf leak on program delete.Eric Anholt
(cherry picked from commit 7f6d2754d586545ab6c970acffdd897294879039)
2010-03-16i965: Fix up the handling of point sprite coordinate replacement.Eric Anholt
The code was walking over the regs of pairs of attributes and checking whether the attribute with a given reg index had point sprite enabled. So the point sprite setup code was rarely even getting executed. Instead, we need to determine which channels of a reg need point sprite coordinate replacement. In addition, it was multiplying the attribute by 1/w, when it's supposed to cover (0, 1) in each direction regardless of w, and it wasn't filling in the Z and W components of the texcoord as specified. Fixes piglit point-sprite and the spriteblast demo. Bug #24431, #22245. (cherry picked from commit bc632d04370566c1156cbd0345fe303834f0b910)