Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: do not use HiZ if HiZ RAM is not properly initialized | Marek Olšák | 2010-08-15 | 5 | -18/+23 |
| | |||||
* | r300g: rename dirty_zmask -> zmask_in_use | Marek Olšák | 2010-08-15 | 5 | -13/+13 |
| | |||||
* | r300g: do not clear with blitter if we clear just the ZMask RAM | Marek Olšák | 2010-08-15 | 1 | -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 initialized | Marek Olšák | 2010-08-15 | 4 | -18/+31 |
| | | | | z_fastfill -> dirty_zmask[level]. | ||||
* | r300g: separate num_cs_end_dwords out from prepare_for_rendering | Marek Olšák | 2010-08-15 | 3 | -24/+25 |
| | |||||
* | r300g: do not support separate depth/stencil clear in the driver | Marek Olšák | 2010-08-13 | 1 | -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 separately | Marek Olšák | 2010-08-13 | 2 | -2/+2 |
| | | | | This always restores the previous depth clear value after CBZB clear. | ||||
* | r600g: update shader caps | Marek Olšák | 2010-08-13 | 1 | -5/+13 |
| | | | | | | Sent on ML by Владимир. These values are what fglrx returns. | ||||
* | r300g: disable depth clamp for now | Marek Olšák | 2010-08-13 | 1 | -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 Airlie | 2010-08-13 | 1 | -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šák | 2010-08-12 | 1 | -3/+1 |
| | | | | This reverts commit de4784e36505316c2a5ab34cc5b371d17f38d3c5. | ||||
* | r600g: fix typo in stencil translate. | Dave Airlie | 2010-08-12 | 1 | -1/+1 |
| | | | | fixes piglit stencil-twoside and stencil-wrap | ||||
* | r600g: fix provoking-vertex piglit test. | Dave Airlie | 2010-08-12 | 1 | -8/+12 |
| | |||||
* | r600g: improve texture format checker. | Dave Airlie | 2010-08-12 | 4 | -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_stencil | Marek Olšák | 2010-08-12 | 1 | -1/+3 |
| | | | | No need to enable depth test for clear. | ||||
* | r300/compiler: Implement the CONT opcode. | Tom Stellard | 2010-08-11 | 1 | -1/+1 |
| | |||||
* | r600g: accept empty frag prog shader | Jerome Glisse | 2010-08-11 | 3 | -3/+17 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: add src negation support | Jerome Glisse | 2010-08-11 | 1 | -0/+1 |
| | | | | | | Should fix few glBitmap cases. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: add point/sprite rendering support | Jerome Glisse | 2010-08-11 | 3 | -14/+149 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | llvmpipe: Debug code to dump interpolation coefficients. | José Fonseca | 2010-08-11 | 1 | -1/+29 |
| | |||||
* | llvmpipe: Use single precision divide for one over area computation. | José Fonseca | 2010-08-11 | 1 | -1/+1 |
| | |||||
* | auxiliary: fix u_split_prim naming convention | Luca Barbieri | 2010-08-11 | 2 | -6/+6 |
| | | | | Current practice is to start identifiers with "util_" instead of "u_". | ||||
* | auxiliary: move Ben Skeggs' primitive splitter to common code | Luca Barbieri | 2010-08-11 | 3 | -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_CNTL | Marek Olšák | 2010-08-11 | 1 | -0/+5 |
| | | | | This got lost during the rasterizer rewrite. | ||||
* | r300g: implement gl_FrontFacing | Marek Olšák | 2010-08-11 | 3 | -7/+53 |
| | |||||
* | r300g: Remove unnecessary header. | Vinson Lee | 2010-08-10 | 1 | -1/+0 |
| | |||||
* | r300/compiler: Implement hardware assisted loops for vertex shaders. | Tom Stellard | 2010-08-10 | 3 | -1/+40 |
| | | | | Single loops work, but nested loops do not. | ||||
* | r600g: avoid reemiting literal, avoid scheduling empty cs | Jerome Glisse | 2010-08-10 | 4 | -2/+38 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | llvmpipe: Always use floating-point operators for floating-point types | nobled | 2010-08-10 | 1 | -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é Fonseca | 2010-08-09 | 1 | -28/+1 |
| | | | | It's bound to be useful elsewhere. | ||||
* | r600g: fix r600 context structure, avoid segfault when no scissor | Jerome Glisse | 2010-08-09 | 2 | -3/+16 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r300g: do not print shader compiler errors by default | Marek Olšák | 2010-08-09 | 2 | -5/+4 |
| | |||||
* | r600g: fix some warnings | Marek Olšák | 2010-08-09 | 3 | -3/+5 |
| | |||||
* | r600g: fill out some missing caps and sort them | Marek Olšák | 2010-08-09 | 1 | -32/+65 |
| | | | | | | The shader caps need additional corrections. (based on a patch from netkas at Phoronix) | ||||
* | r300g: fix hiz/zmask offset emissions. | Dave Airlie | 2010-08-09 | 1 | -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_DONTBLOCK | Luca Barbieri | 2010-08-09 | 1 | -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 flush | Marek Olšák | 2010-08-08 | 1 | -1/+0 |
| | | | | Ooops, it wasn't supposed to be there. | ||||
* | r300g: flush zmasks of zbuffers we are going to use as samplers | Marek Olšák | 2010-08-08 | 4 | -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 cubemaps | Marek Olšák | 2010-08-08 | 1 | -0/+6 |
| | |||||
* | r300g: take hiz/zmask offsets into a/c when clearing. | Dave Airlie | 2010-08-08 | 1 | -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 off | Marek Olšák | 2010-08-07 | 5 | -10/+11 |
| | |||||
* | nouveau: fix potential NULL-ptr dereference in nouveau_stateobj.h | Maarten Maathuis | 2010-08-06 | 1 | -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 definition | Jerome Glisse | 2010-08-06 | 1 | -0/+55 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix rendering, only enable target we write too | Jerome Glisse | 2010-08-06 | 1 | -2/+2 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: really fix multi target support | Jerome Glisse | 2010-08-06 | 4 | -46/+26 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | gallium: remove stray semicolons | Brian Paul | 2010-08-06 | 1 | -1/+1 |
| | |||||
* | r600g: finish multi target rendering support | Jerome Glisse | 2010-08-06 | 5 | -32/+68 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix color format, indentation, defines | Jerome Glisse | 2010-08-06 | 3 | -89/+93 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | Revert "r600g: don't use dynamic state allocation for states" | Jerome Glisse | 2010-08-06 | 6 | -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 Lee | 2010-08-05 | 1 | -2/+0 |
| |