summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* 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.
* dri/r700: include shader/programopt.h instead of programopt.c.Luc Verhaegen2010-03-121-1/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* Grammar and spelling fixesJeff Smith2010-03-125-6/+6
| | | | | 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
|
* radeon: don't attempt to use alternate blit formats for depth buffersAlex Deucher2010-03-081-0/+4
| | | | noticed by fredrikh on IRC.
* r600: enable GL_ARB_pixel_buffer_objectAlex Deucher2010-03-081-0/+1
|
* 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
|
* r300: remove unnecessary codeMaciej Cencora2010-03-081-17/+0
| | | | _tnl_UpdateFixedFunctionProgram is already called in r300_draw.c
* i965: Only use the effective subset of the WM sampler key.Eric Anholt2010-03-051-4/+9
| | | | | | | | The whole structure is 836 bytes, but if only the first one or two samplers are used (as is common), the part that matters is only 56 or 108 bytes. By using just that subset as the key (since the key size is also part of the key), we improve firefox-talos-gfx performance by 1%.
* intel: Remove support for the DRI1 TFP extension.Eric Anholt2010-03-057-144/+39
|
* i965: Remove the paths for making a const surface object for a NULL BO.Eric Anholt2010-03-052-20/+13
|
* i965: Remove the unused SDC BO pointer from the sampler state key.Eric Anholt2010-03-051-1/+0
| | | | | Since it's a BO pointer, it already lives outside the key in brw->wm.sdc_bo[] which is used for sampler state lookup and setup.
* i965: Rename SNB brw_*_key structs to gen6_*_key structs.Eric Anholt2010-03-051-8/+8
|
* i965: Pack gen6 blend_state_key structure.Eric Anholt2010-03-051-2/+1
|
* intel: Only do batchbuffer debug if --enable-debug is used.Eric Anholt2010-03-051-0/+10
| | | | | | | | This saves 6.6KB on the 965 driver, and appears to speed firefox-talos-gfx up by 1-2%. Unlike many other asserts in the driver, when we make a mistake that would trigger one of these it generally shows up all the time for developers, so turning it off for release seems fine.
* intel: Replace batch macro contents with function calls.Eric Anholt2010-03-051-28/+39
| | | | This manages to cut down another 3800 bytes.
* intel: Move the assertions about reloc delta from the macros to the function.Eric Anholt2010-03-052-2/+4
| | | | Cuts another 1800 bytes from the driver.
* intel: Check that the batch is mapped per BEGIN, not each OUT.Eric Anholt2010-03-051-1/+1
| | | | Shaves 800 bytes off the driver.
* i965: Try to assign SNB SF inputs to outputs.Eric Anholt2010-03-051-2/+41
|
* i965: Fix the SNB SF input size.Eric Anholt2010-03-051-1/+1
|
* Merge branch 'object-purgeable'Chris Wilson2010-03-052-1/+136
|\ | | | | | | Acked-by: Brian Paul <[email protected]>
| * APPLE_object_purgeable: intelChris Wilson2010-03-052-1/+136
| | | | | | | | | | | | Implement support for purgeable objects by using the GEM madvise ioctl. Signed-off-by: Chris Wilson <[email protected]>
* | intel: Remove non-kernel-exec-fencing support.Eric Anholt2010-03-0419-638/+94
| | | | | | | | | | | | | | Shaves 60k off the driver from removing the broken spans code. This means we now require 2.6.29, which seems fair given that it's a year old and we've removed support for non-KMS already in the last release of 2D.
* | intel: Remove the unused s8 spans code. Not hit during no_rast piglit.Eric Anholt2010-03-041-59/+1
| | | | | | | | Shaves 5.5k off of the driver.
* | dri/nouveau: Remove some CI remnants.Francisco Jerez2010-03-046-12/+0
| |
* | dri/nouveau: Trivially add GL_ARB_texture_mirrored_repeat.Andrew Randrianasulu2010-03-041-0/+1
| | | | | | | | Signed-off-by: Francisco Jerez <[email protected]>
* | dri/nouveau: Enable GL_EXT_stencil_wrap.Andrew Randrianasulu2010-03-041-3/+4
| | | | | | | | Signed-off-by: Francisco Jerez <[email protected]>
* | dri/nouveau: Add GL_EXT_stencil_wrap for nv04.Andrew Randrianasulu2010-03-041-0/+4
| | | | | | | | Signed-off-by: Francisco Jerez <[email protected]>
* | dri/nouveau: Fix rb->DataType for z24s8 renderbuffers.Francisco Jerez2010-03-041-1/+1
| |
* | dri/nouveau: Try to keep client buffers smaller than the scratch VBO length.Francisco Jerez2010-03-041-0/+26
| |
* | dri/nouveau: Pack client arrays as they're copied to the real BO.Francisco Jerez2010-03-041-12/+32
| |
* | i915: Enable texture tiling by default.Eric Anholt2010-03-041-8/+3
| | | | | | | | | | | | | | | | | | This now passes piglit testcases, and shows performance improvements on openarena. Blit-heavy apps may see degradation, but the expectation is that the common case of 3D rendering will see significant wins. This regresses gen-teximage on my 855, and no piglit tests on my 945.
* | i915: Fix up i830 for tiled drawing offsets.Eric Anholt2010-03-042-10/+36
|/ | | | Corresponds to b87406e55f029d29594ae76a4b39a4fe1007fe4f.
* DRI: Put back missing break-statementIan Romanick2010-03-041-0/+1
| | | | | | | | The break in the __DRI_ATTRIB_RENDER_TYPE case was accidentally removed in commit 5cf2c5851bcd29c2d53bb04ab692b4b156f5a74d. This puts it back. Signed-off-by: Ian Romanick <[email protected]>
* r300: make blit code work on swtcl machines.Dave Airlie2010-03-041-5/+18
| | | | | | | | Only tested this on my rv530 with R300_NO_TCL=1, but it works there at least. It would be nice to fix the tex_offset by chaning the vertex program on tcl to read from offset 6 but this isn't really necessary. Signed-off-by: Dave Airlie <[email protected]>
* r300_blit: initialise whole fp structure to 0Dave Airlie2010-03-041-0/+1
| | | | | | | at least on the r500 we get a lockup unless I do this, the compiler seems to fail to compile and we just get a null fp. Signed-off-by: Dave Airlie <[email protected]>