summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: rename params in prototype to match implementationBrian Paul2010-03-171-1/+1
|
* swrast: remove unused compute_coveragei() functionBrian Paul2010-03-171-82/+0
|
* i965: Fix ENDLOOP to only patch up this loop's BREAK and CONT.Eric Anholt2010-03-161-2/+4
| | | | | | Corresponds to d225a25e21a24508aea3b877c78beb35502e942d and fixes piglit glsl-fs-loop-nested. Bug #25173. (cherry picked from commit a81836ee2fe5092d695b717addf8cec91f569777)
* i965: Unalias all GLSL source regs from the destination regs used.Eric Anholt2010-03-161-113/+25
| | | | | | | | | | | | 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)
* i965: Fix nested loops in the VS.Eric Anholt2010-03-161-2/+4
| | | | | | | | 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)
* i965: Fix up VP constbuf leak on program delete.Eric Anholt2010-03-161-3/+11
| | | | (cherry picked from commit 7f6d2754d586545ab6c970acffdd897294879039)
* i965: Fix up the handling of point sprite coordinate replacement.Eric Anholt2010-03-163-66/+96
| | | | | | | | | | | | | | 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)
* i965: Add support for the CMP opcode in the GLSL path.Eric Anholt2010-03-163-6/+15
| | | | | | This would be triggered by use of sqrt() along with control flow. Fixes piglit-fs-sqrt-branch and a bug in Yo Frankie!. (cherry picked from commit 48dca99feb394febc3af44e14f23fb12a9cc9204)
* i965: Fix the response len of masked sampler messages for 8-wide dispatch.Eric Anholt2010-03-161-3/+15
| | | | | | | | | | | The bad response length would hang the GPU with a masked sample in a shader using control flow. For 8-wide, the response length is always 4, and masked slots are just not written to. brw_wm_glsl.c already allocates registers in the right locations. Fixes piglit glsl-fs-bug25902 (fd.o bug #25902). (cherry picked from commit f6d210c284751ac50a8d6358de7e75a1ff1e4ac7) (cherry picked from commit dc8c0359448cdae7b367552ba58783c04b199778)
* Remove nonexistant files from tarballs rule of MakefileIan Romanick2010-03-161-15/+1
| | | | | The Makefile should eventually be fixed to stop building tarballs if one of the individual calls to tar fails.
* mesa: set version string to 7.8-rc1Ian Romanick2010-03-162-2/+2
|
* Correct GL_EQUIV code in r67/7xx.Matthew W. S. Bell2010-03-161-1/+1
| | | | | | | From 247e121106e8d3e389f2e5a6edf13ea70ac18df7 Mon Sep 17 00:00:00 2001 These seem to be documented in <http://www.svgopen.org/2003/papers/RasterOperationsUsingFilterElements/index.html>.
* radeon: Fix buffer object unmap to be called only once for dma buffers.Pauli Nieminen2010-03-161-6/+1
| | | | | | If flush happens inside radeonRefillCurrentMaRegion the last dma buffer would be unmapped twice. Unmapping buffer when moving buffer to wait list fixes the mapping error.
* Replace _mesa_strtod with _mesa_strtof.Marcin Baczyński2010-03-156-18/+20
| | | | Reviewed-by: Ian Romanick <[email protected]>
* mesa: Fix memory leak in decompress-with-blit.Keith Whitwell2010-03-131-0/+2
| | | | (cherry picked from commit f05a4ee6f2840590c90da4be2fe5c6295410a5af)
* vmwgfx/dri: Fix SCons build.Michel Dänzer2010-03-121-0/+1
|
* st/dri: Always try to set up R5G6B5 configs.Michel Dänzer2010-03-121-49/+52
| | | | | | | | | | Allows compiz to work in depth 16. The DRI2 getBuffersWithFormat hook is only required for 16/32 bit depth buffers, for colour buffers the only requirement is that the format matches the drawable depth, which we can't check here. (cherry picked from commit c50477c255a34444720fb944c54373462ef39fb9)
* dri/r700: include shader/programopt.h instead of programopt.c.Luc Verhaegen2010-03-121-1/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* Add programs to .gitignore in redbookJeff Smith2010-03-121-0/+13
| | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* Add programs to .gitignore in xdemosJeff Smith2010-03-121-3/+4
| | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* Add -L$(libdir) for xdemos and egl so that the right libX11 is foundJeff Smith2010-03-122-4/+4
| | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* Grammar and spelling fixesJeff Smith2010-03-1230-33/+33
| | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* radeon: Fix memory leaks from early return.Vinson Lee2010-03-111-0/+2
|
* st/mesa: s/BUFFER_FRONT_LEFT/surfIndex/Brian Paul2010-03-111-1/+1
|
* st/mesa: fix st_set_framebuffer_surface() state validationBrian Paul2010-03-111-38/+12
| | | | | | | Set the _NEW_BUFFERS flag and remove the code which updated the parent framebuffer size. Normal Mesa state validation will do that. Fixes issues with Warsow on r300g and possibly other bugs.
* st/xorg: Fixup configureJakob Bornecrantz2010-03-111-4/+12
| | | | | | | | | | | | | Make sure we always test for XEXT version. Make sure that the user has a recent version of libkms and libdrm installed. Note that the st/xorg code requires so new versions to work but these are needed to make a proper vmwgfx_drv.so driver which is the only real user. Cherry picked from 46cf606cd35d6740b28fd26bd32dbdfdde2c7833 Conflicts: configure.ac
* ARB prog parser: added (float) casts and regenerate filesBrian Paul2010-03-112-30/+16
|
* st/xorg: Include cursorstr.hJakob Bornecrantz2010-03-111-0/+1
|
* windows: fix compilation errors and warningsKarl Schultz2010-03-105-21/+57
|
* windows: Quiet warning by not defining YY_NO_UNISTD_H.Karl Schultz2010-03-101-32/+32
|
* st/mesa: fix incorrect glCopyPixels between window/FBOBrian Paul2010-03-101-4/+16
| | | | | | | | | There was a DrawBuffer/ReadBuffer typo and we were neglecting to invert the texture coords when copying from a window to an FBO. Plus, add some surface dump/debug code (disabled). (cherry picked from commit 34f02071618624263eba839b5aeb930d0e794078)
* st/mesa: fix incorrect glDrawPixels into FBOBrian Paul2010-03-101-2/+7
| | | | | | We weren't inverting the textured quad when drawing into an fbo. (cherry picked from commit 8d3f629a13afb0d6acafc7a007972fdc5efe6847)
* st/xorg: Work around cursor reference counting bugs in older X servers.Michel Dänzer2010-03-103-0/+20
| | | | | | | | | | Could result in use of freed memory and consequently random crashes, e.g. on screen resize. (cherry picked from commit 21c91b410a2a2cbf8eb677e59e3322f86320f2b0) Conflicts: src/gallium/state_trackers/xorg/xorg_tracker.h
* radeon: don't attempt to use alternate blit formats for depth buffersAlex Deucher2010-03-081-0/+4
| | | | noticed by fredrikh on IRC.
* softpipe: zero-out entire clear_flags array in sp_tile_cache_flush_clear()Brian Paul2010-03-081-3/+4
| | | | | | | | | Before, we only cleared the flags for the active tiles (the ones inside the framebuffer bound). The problem is if we later bound a different, larger surface to the tile cache we'd have some stale clear-flags still set (and mistakenly clear some tiles in the new surface). Fixes fd.o bug 26932.
* st/mesa: don't detach renderbuffer, surface in st_finish_render_texture()Brian Paul2010-03-081-5/+0
| | | | | | | | | There's no reason to release the renderbuffer from the framebuffer object or release the gallium surface in this function (they're reference counted). In fact, we don't want to do this because we may later use the texture as a pixel source (ex: glBlitFramebuffer) and need the surface. Fixes fd.o bug 26923 and is part of the fix for bug 26932.
* r600: enable GL_ARB_pixel_buffer_objectAlex Deucher2010-03-081-0/+1
|
* mesa: add additional missing z formats for render to textureBrian Paul2010-03-081-15/+83
| | | | | Allow render to texture for X8_Z24 and Z24_X8 formats. Replace big if/else with switch, etc.
* radeon/r200/r600: allow src and dst BOs to be placed in GTT during blitAlex Deucher2010-03-083-24/+6
|
* radeon/r200/r600: reset bos when validating buffers during blitAlex Deucher2010-03-083-0/+8
|
* r600: recalculate point size, if point min/max size changesAlex Deucher2010-03-081-0/+2
|
* r600: no need to flush on context initAlex Deucher2010-03-081-2/+0
|
* r300: don't enable EXT_packed_depth_stencilMaciej Cencora2010-03-081-1/+3
| | | | R300 hw doesn't support sampling from Z24_S8 or S8_Z24 formats.
* radeon: no need to emit full state twice after flushMaciej Cencora2010-03-081-5/+0
|
* r300: allow src and dst BOs to be placed in GTT during blitMaciej Cencora2010-03-081-8/+2
| | | | Fixes some relocation failures
* r300: reset bos when validating buffers during blitMaciej Cencora2010-03-081-0/+3
|
* radeon: fallback to software in glCopyTexImage if blit isn't availableMaciej Cencora2010-03-081-0/+4
|
* r300: VAP flush is needed only when vertex program or constants are changedMaciej Cencora2010-03-084-25/+2
|
* r300: recalculate point size, if point min/max size changesMaciej Cencora2010-03-081-0/+2
| | | | Fixes two wine d3d9 unit tests
* r300: no need to flush on context initMaciej Cencora2010-03-081-2/+0
|