summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
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-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-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-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-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: 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-25softpipe: make it possible to dump geometry shader from the softpipeZack 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-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-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-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
2009-12-22i965g: fix bo_referenceKeith Whitwell
2009-12-22i965g: update for u_format changesKeith Whitwell
2009-12-22Merge branch 'i965g-restart'Keith Whitwell
Conflicts: configure.ac
2009-12-22nv50: correct the negation of DDY sourcesChristoph Bumiller
The state tracker now does the correct thing, so interpret negation normally.
2009-12-21i965g: fixes to build after merge of masterKeith Whitwell
2009-12-21i965g: remove half-finished change to tgsi_parseKeith Whitwell
2009-12-21Merge commit 'origin/master' into i965g-restartKeith Whitwell
Conflicts: SConstruct configs/default configs/linux-dri
2009-12-21svga: fix typoRoland Scheidegger
2009-12-21i965g: hook vertex state emit up to PIPE_NEW_VERTEX_BUFFERKeith Whitwell
2009-12-21i965g: keep refcounts to bound vertex buffersKeith Whitwell
2009-12-21i965g: add DEBUG_WINSYS flagKeith Whitwell
2009-12-21i965g: remove duplicate set_viewport_state, fixes samples/depthKeith Whitwell
2009-12-20r300g: Add a few more params.Corbin Simpson
2009-12-20nv50: make address reg allocation a little less hackyChristoph Bumiller
Before I tried to distinguish int +0 and -0, and regs relative to $a1 would have been considered reserved for TGSI. This would probably never occur, let it be fixed even so.
2009-12-20nv50: use BREAKADDR and BREAK for loopsChristoph Bumiller
This is easier, we don't have to record all the BRK branches to fill in the address at ENDLOOP - which wasn't done before and thus made all but the last BRK branch jump to the start. Also, we don't risk reactivting threads that already left the loop if we join threads after a conditional with a BRK (although it might be wiser to remove the join altogether in such cases).
2009-12-20nv50: handle TGSI_OPCODE_RET,KILPChristoph Bumiller
2009-12-19r300g: add texture compare modesMarek Olšák
2009-12-18r300g: Fix provoking vertex for non-quads.Corbin Simpson
Read the comments. In short, we can't possibly pass piglit's glean/clipFlat without some help from Gallium and an API/spec change.
2009-12-18r300g: Respect provoking vertex for trifans.Corbin Simpson
Fixes part of piglit's clipFlat test; next up is to get quads right.
2009-12-19gallium: fix up drivers for edgeflag changesRoland Scheidegger
several drivers which chose to ignore edgeflags might require some more work, while edgeflags never worked there they might now crash.
2009-12-18r300g: Eliminate a couple more asserts.Corbin Simpson