summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* r300g: do not use HiZ if HiZ RAM is not properly initializedMarek Olšák2010-08-155-18/+23
|
* r300g: rename dirty_zmask -> zmask_in_useMarek Olšák2010-08-155-13/+13
|
* r300g: do not clear with blitter if we clear just the ZMask RAMMarek Olšák2010-08-151-9/+37
| | | | | This skips the blitter clear path entirely if the color is not cleared and the depth+stencil is cleared with the ZMask.
* r300g: do not use fastfill if ZMask RAM is not properly initializedMarek Olšák2010-08-154-18/+31
| | | | z_fastfill -> dirty_zmask[level].
* r300g: separate num_cs_end_dwords out from prepare_for_renderingMarek Olšák2010-08-153-24/+25
|
* r300g: do not support separate depth/stencil clear in the driverMarek Olšák2010-08-131-3/+1
| | | | It doesn't work well with Hyper-Z, so put the burden on the state tracker.
* r300g: fix fastfill when color and Z clear are invoked separatelyMarek Olšák2010-08-132-2/+2
| | | | This always restores the previous depth clear value after CBZB clear.
* r600g: update shader capsMarek Olšák2010-08-131-5/+13
| | | | | | Sent on ML by Владимир. These values are what fglrx returns.
* r300g: disable depth clamp for nowMarek Olšák2010-08-131-1/+1
| | | | | | | It breaks Regnum Online in that it renders random triangles all over the screen. https://bugs.freedesktop.org/show_bug.cgi?id=29518
* r600g: fix memory leaks running gears.Dave Airlie2010-08-131-0/+5
| | | | | I noticed gears memory usage was heading skywards, some r600 "states" aren't properly refcounted, and the ctx->state is never freed.
* Revert "u_blitter: unify clear_depth_stencil and flush_depth_stencil"Marek Olšák2010-08-121-3/+1
| | | | This reverts commit de4784e36505316c2a5ab34cc5b371d17f38d3c5.
* r600g: fix typo in stencil translate.Dave Airlie2010-08-121-1/+1
| | | | fixes piglit stencil-twoside and stencil-wrap
* r600g: fix provoking-vertex piglit test.Dave Airlie2010-08-121-8/+12
|
* r600g: improve texture format checker.Dave Airlie2010-08-124-12/+263
| | | | | | | | | This takes the r300g texture format checker and fixes it up for r600g, it passes glean texSwizzle, pixelformats, and texture_srgb tests, however I think it L8S8_SRGB is broken as is L8_SRGB, need to investigate. Signed-off-by: Dave Airlie <[email protected]>
* u_blitter: unify clear_depth_stencil and flush_depth_stencilMarek Olšák2010-08-121-1/+3
| | | | No need to enable depth test for clear.
* r300/compiler: Implement the CONT opcode.Tom Stellard2010-08-111-1/+1
|
* r600g: accept empty frag prog shaderJerome Glisse2010-08-113-3/+17
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: add src negation supportJerome Glisse2010-08-111-0/+1
| | | | | | Should fix few glBitmap cases. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: add point/sprite rendering supportJerome Glisse2010-08-113-14/+149
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* llvmpipe: Debug code to dump interpolation coefficients.José Fonseca2010-08-111-1/+29
|
* llvmpipe: Use single precision divide for one over area computation.José Fonseca2010-08-111-1/+1
|
* auxiliary: fix u_split_prim naming conventionLuca Barbieri2010-08-112-6/+6
| | | | Current practice is to start identifiers with "util_" instead of "u_".
* auxiliary: move Ben Skeggs' primitive splitter to common codeLuca Barbieri2010-08-113-102/+2
| | | | | | | | | | | | | | | | | | | | | This is a simple framework that handles splitting primitives in an abstract way. The user has to specify the primitive start, start index and count. Then, it can ask the primitive splitter to "draw" a chunk of the primitive, staying under a given vertex/index budget. The primitive splitter will then call user-supplied functions to emit a range of vertices/indices, as well as switch the edgeflag on or off. This is particularly useful for hardware that either has limits on the vertex count field, or where vertices are pushed on a FIFO or temporary buffer of limited size. Note that unlike other splitters, it does not manipulate data in any way, and merely asks a callback to do so, in vertex intervals.
* r300g: initialize VAP_VTX_STATE_CNTLMarek Olšák2010-08-111-0/+5
| | | | This got lost during the rasterizer rewrite.
* r300g: implement gl_FrontFacingMarek Olšák2010-08-113-7/+53
|
* r300g: Remove unnecessary header.Vinson Lee2010-08-101-1/+0
|
* r300/compiler: Implement hardware assisted loops for vertex shaders.Tom Stellard2010-08-103-1/+40
| | | | Single loops work, but nested loops do not.
* r600g: avoid reemiting literal, avoid scheduling empty csJerome Glisse2010-08-104-2/+38
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* llvmpipe: Always use floating-point operators for floating-point typesnobled2010-08-101-9/+8
| | | | | | | | See: http://bugs.freedesktop.org/29404 http://bugs.freedesktop.org/29407 Signed-off-by: José Fonseca <[email protected]>
* util: Move _mm_shuffle_epi8() to u_sse.h.José Fonseca2010-08-091-28/+1
| | | | It's bound to be useful elsewhere.
* r600g: fix r600 context structure, avoid segfault when no scissorJerome Glisse2010-08-092-3/+16
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r300g: do not print shader compiler errors by defaultMarek Olšák2010-08-092-5/+4
|
* r600g: fix some warningsMarek Olšák2010-08-093-3/+5
|
* r600g: fill out some missing caps and sort themMarek Olšák2010-08-091-32/+65
| | | | | | The shader caps need additional corrections. (based on a patch from netkas at Phoronix)
* r300g: fix hiz/zmask offset emissions.Dave Airlie2010-08-091-2/+2
| | | | | | ofs is in dwords, so need to shift it for registers. Signed-off-by: Dave Airlie <[email protected]>
* nouveau: fix maps with PIPE_TRANSFER_UNSYNCHRONIZED | PIPE_TRANSFER_DONTBLOCKLuca Barbieri2010-08-091-3/+2
| | | | | | | | | In this case, we were incorrectly prioritizing PIPE_TRANSFER_DONTBLOCK over PIPE_TRANSFER_UNSYNCHRONIZED. This can lead to failure in the Mesa VBO draw paths that end up specifying both, but don't expect map to fail (in particular, the problem manifested as a leak of buffer objects in teapot with other changes).
* r300g: remove a flushMarek Olšák2010-08-081-1/+0
| | | | Ooops, it wasn't supposed to be there.
* r300g: flush zmasks of zbuffers we are going to use as samplersMarek Olšák2010-08-084-7/+58
| | | | It sometimes works, sometimes not. I guess we have the zmask offsets wrong.
* r300g: do not allocate a zmask block for 3D textures and cubemapsMarek Olšák2010-08-081-0/+6
|
* r300g: take hiz/zmask offsets into a/c when clearing.Dave Airlie2010-08-081-0/+4
| | | | | | Need to add a test for multi-hiz/zmask db in a single context. Signed-off-by: Dave Airlie <[email protected]>
* r300g: fix cbzb clears when hyperz is offMarek Olšák2010-08-075-10/+11
|
* nouveau: fix potential NULL-ptr dereference in nouveau_stateobj.hMaarten Maathuis2010-08-061-6/+4
| | | | | | | | - This can only be triggered when DEBUG_NOUVEAU_STATEOBJ is active. - Also remove a redundant pointer assignment. Reported-by: Roy Spliet <[email protected]> Signed-off-by: Maarten Maathuis <[email protected]>
* r600g: add PA_CL_CLIP_CNTL definitionJerome Glisse2010-08-061-0/+55
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix rendering, only enable target we write tooJerome Glisse2010-08-061-2/+2
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: really fix multi target supportJerome Glisse2010-08-064-46/+26
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* gallium: remove stray semicolonsBrian Paul2010-08-061-1/+1
|
* r600g: finish multi target rendering supportJerome Glisse2010-08-065-32/+68
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix color format, indentation, definesJerome Glisse2010-08-063-89/+93
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* Revert "r600g: don't use dynamic state allocation for states"Jerome Glisse2010-08-066-297/+346
| | | | | | | | | | | This reverts commit 9c949d4a4dd43b7889e13bdf683bcf211f049ced. Conflicts: src/gallium/drivers/r600/r600_context.h src/gallium/drivers/r600/r600_draw.c src/gallium/drivers/r600/r600_shader.c src/gallium/drivers/r600/r600_state.c
* r300g: Remove unnecessary headers.Vinson Lee2010-08-051-2/+0
|