summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
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-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-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
2009-12-24i965g: strict aliasing changesKeith Whitwell
2009-12-24gallium/util: quieten compilerKeith Whitwell
2009-12-24i965g: calculate depth min/maxKeith Whitwell
Previously hard-wired to 0..1
2009-12-24nv50: support TGSI_OPCODE_CONTChristoph Bumiller
2009-12-24nv50: make edgeflags workChristoph Bumiller
It doesn't seem to be possible to set the egdeflag in the vertex shader, so we need to fallback to pushing vertices through the FIFO and use method 0x15e4 if they are used. This only works if VP does MOV OUT[X] IN[Y] where X is the edgeflag output, and Y is saved so we can tell the correct input later. The VP still writes the useless values to wasted outputs as punishment.
2009-12-23llvmpipe: Install unit tests on build/xxx/binJosé Fonseca
2009-12-23util: Define common dynamic library extensions.José Fonseca
2009-12-23i965g: Rename {pf->util_format}_is_depth_or_stencil()Tomas Carnecky
2009-12-23[i965] Rename {pf -> util}_format_is_depth_or_stencil()Tomas Carnecky
The function was moved and renamed in 0bed834b. Signed-off-by: Tomas Carnecky <tom@dbservice.com>
2009-12-22i965g: fix for edgeflag changes (untested)Roland Scheidegger
2009-12-22Merge branch 'gallium-edgeflags'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_draw.c