summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-12-29glsl: added default case in _fetch_token() to silence warningsBrian Paul
2009-12-28intel: Fix false positives in checking for non-packed depth/stencil RB.Eric Anholt
The wine d3d9 visual.c testcase was tripping over this and failing. Presumably it's binding a packed depth/stencil texture to both stencil and depth attachment points, and we make a new renderbuffer wrapper for each in that case.
2009-12-28intel: Allow binding a stencil but not a depth buffer.Eric Anholt
Wine's d3d9 visual.c testcase tries this a lot, so I've added some piglit tests (fbo-nodepth-test, fbo-nostencil-test, fbo-stencil-only) and enabled it.
2009-12-28intel: Improve INTEL_DEBUG=fbo output.Eric Anholt
2009-12-28intel: Remove dead fthrottle_mode option. We only do IRQ waits.Eric Anholt
Noticed by clang.
2009-12-28mesa: remove gratuitous stores I added in remove_instructions.Eric Anholt
2009-12-28nouveau: Unreference state/buffer objects on context/screen destruction.Younes Manton
- unreference state objects so that buffer objects are unreferenced and eventually destroyed - free channel at screen's destruction Based on Krzysztof Smiechowicz's patch.
2009-12-28nouveau: Fix swizzling for copies to rectangular texturesLuca Barbieri
nVidia hardware seems to swizzle rectangular texture (with width != height) coordinates by swizzling the lower bits and then adding the higher bits from the larger dimension. However, nv04_swizzle_bits ignores width and height and just interleaves everything. This causes problems with rectangular POT textures with height or width 2048 or 4096 (but not 2048x1024 where it works by chance) since the driver swizzles them in 1024x1024 chunks and gets the start position for the non-first chunks wrong. The following patch seems to fix those problems.
2009-12-28nouveau: Fix nv20-40 swizzled miptree RTsLuca Barbieri
I just coded a patch that does this and seems to work fine. It must be fixed since it breaks OpenGL (or the state tracker can be changed, but it seems better to do it in the driver). The patch also fixes NV20 and NV30 in the same way. They compile but are untested. I would guess that using the 3D engine is faster for the larger levels, but the 2D engine is faster for the smaller ones (and lacks this issue).
2009-12-28NV30/NV40 CMP and SCS src == dst handlingLuca Barbieri
CMP and SCS can produce incorrect results if the source and destination are the same. This patch should fix the issues. CMP is fixed by predicating both moves. SCS by changing the order if the source component is X.
2009-12-28llvmpipe: Unmapping vertex/index buffers does NOT flush draw module anymore.José Fonseca
Not since 6094e79f4e3350d123c7532b1c73faa60834a62d. Drivers now need to flush draw module explicitely (which explains why all those previous commits adding draw_flushes calls were necessary). This is a good thing, but it's tricky to get this right in face of user buffers (it's not even clear who has the responsibility to flush when a user buffer is seen -- statetracker or pipe driver), so just force flush (temporarily) since it's not a bottleneck now.
2009-12-28python/retrace: Dump only the specified image rectangles.José Fonseca
2009-12-28xlib: Integrate the trace driver with all pipe drivers.José Fonseca
And not just softpipe. It is particularly convenient to use llvmpipe instead, since it is much faster. It also allows to use rbug with all xlib drivers.
2009-12-28scons: Fix xlib build.José Fonseca
After glsl rework merge.
2009-12-28nv04: Fix build after the latest nouveau_class.h changes.Francisco Jerez
2009-12-28nv50: Dehexify and bring up to date with new method defines.Marcin Kościelnicki
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2009-12-27Merge branch 'mesa_7_7_branch'Brian Paul
2009-12-27st/mesa: add missing case for PIPE_FORMAT_B8G8R8A8_UNORMBrian Paul
2009-12-27r300g: fix use of uninitialised variables.Dave Airlie
These buffers were getting dereferenced later.
2009-12-27r300g: rename modesetting_drv.so to radeong_drv.soDave Airlie
2009-12-26softpipe: Flush draw module when fragment pipeline state changes.José Fonseca
2009-12-26llvmpipe: Treat state changes systematically.José Fonseca
That is: - check for no op - update/flush draw module - update bound state and mark it as dirty In particular flushing the draw module is important since it may contain unflushed primitives which would otherwise be draw with wrong state.
2009-12-26i965: Extra asserts on flow control instructions to clarify for clang.Eric Anholt
2009-12-26i965: Clean up double initialization of dst_flags from a rebase resolve.Eric Anholt
Caught by clang.
2009-12-26i965: Fix setup of immediate types for gen4 disasm.Eric Anholt
Caught by clang.
2009-12-26llvmpipe: Use comments and more code from softpipe's is_texture_referenced ↵José Fonseca
implementation.
2009-12-26softpipe: Flush draw module before switching framebuffer.José Fonseca
Otherwise geometry might end up in the wrong rendertarget.
2009-12-26llvmpipe: Flush draw module before switching framebuffer.José Fonseca
Otherwise geometry will end up in the wrong rendertarget.
2009-12-26tgsi: Don't dump parenthesis for negation.José Fonseca
It doesn't seem necessary, and more importantly, tgsi_parse doesn't know how to read them.
2009-12-26python: Update python state tracker and samples for recent interface changes.José Fonseca
2009-12-26trace: Fix transfer size computation.José Fonseca
2009-12-26svga: Allow to dump an individual command.José Fonseca
2009-12-26r300g: fixup for GS additionsDave Airlie
draw_set_mapped_constant_buffer changed API
2009-12-25gallium: remove TGSI_SEMANTIC_VERTICESZack Rusin
it's a leftover from an early version of geometry shading support. geometry shaders now encode the primitive size in the PROPERTY token and don't need special input with their size.
2009-12-25draw: disable some debugging output coming from the geometry shadersZack Rusin
2009-12-25gallium: geometry shader can be always enabled and we don't need a cap for thatZack Rusin
using the draw module allows us to enable geometry shading even on hardware that doesn't support it.
2009-12-25util: put vertices_per_primitive function in its proper locationZack Rusin
2009-12-25draw/tgsi: fix geometry shader input/output swizzlingZack Rusin
2009-12-25tgsi: dump the indices correctly when dealing with 2d arraysZack Rusin
2009-12-25tgsi: fix property parsing/buildingZack Rusin
2009-12-25python: fix python state tracker after some latest changesZack Rusin
2009-12-25softpipe: make it possible to dump geometry shader from the softpipeZack Rusin
2009-12-25tgsi: add missing support for two dimensional arrays in various placesZack Rusin
in particular asm text parsing and sanity checking were missing code to handle multi-dimensional arrays/geometry shaders
2009-12-25python/gs: fix the exampleZack Rusin
2009-12-25gallium: add an inline that returns number of vertices per primitiveZack Rusin
2009-12-25softpipe/gs: don't crash with null shaderZack Rusin
2009-12-25gs: fix drivers so they work with geometry shadersZack Rusin
2009-12-25tgsi: make the tgsi assembly parser report line/column on errorZack Rusin
2009-12-25gallium: add geometry shader support to galliumZack Rusin
2009-12-24i965g: get trivial/tri working again after edgeflag changesKeith Whitwell