Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-28 | nouveau: 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-28 | nouveau: Fix swizzling for copies to rectangular textures | Luca 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-28 | nouveau: Fix nv20-40 swizzled miptree RTs | Luca 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-28 | NV30/NV40 CMP and SCS src == dst handling | Luca 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-28 | llvmpipe: 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-28 | python/retrace: Dump only the specified image rectangles. | José Fonseca | |
2009-12-28 | xlib: 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-28 | scons: Fix xlib build. | José Fonseca | |
After glsl rework merge. | |||
2009-12-28 | nv04: Fix build after the latest nouveau_class.h changes. | Francisco Jerez | |
2009-12-28 | nv50: Dehexify and bring up to date with new method defines. | Marcin Kościelnicki | |
Signed-off-by: Francisco Jerez <currojerez@riseup.net> | |||
2009-12-27 | Merge branch 'mesa_7_7_branch' | Brian Paul | |
2009-12-27 | st/mesa: add missing case for PIPE_FORMAT_B8G8R8A8_UNORM | Brian Paul | |
2009-12-27 | r300g: fix use of uninitialised variables. | Dave Airlie | |
These buffers were getting dereferenced later. | |||
2009-12-27 | r300g: rename modesetting_drv.so to radeong_drv.so | Dave Airlie | |
2009-12-26 | softpipe: Flush draw module when fragment pipeline state changes. | José Fonseca | |
2009-12-26 | llvmpipe: 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-26 | i965: Extra asserts on flow control instructions to clarify for clang. | Eric Anholt | |
2009-12-26 | i965: Clean up double initialization of dst_flags from a rebase resolve. | Eric Anholt | |
Caught by clang. | |||
2009-12-26 | i965: Fix setup of immediate types for gen4 disasm. | Eric Anholt | |
Caught by clang. | |||
2009-12-26 | llvmpipe: Use comments and more code from softpipe's is_texture_referenced ↵ | José Fonseca | |
implementation. | |||
2009-12-26 | softpipe: Flush draw module before switching framebuffer. | José Fonseca | |
Otherwise geometry might end up in the wrong rendertarget. | |||
2009-12-26 | llvmpipe: Flush draw module before switching framebuffer. | José Fonseca | |
Otherwise geometry will end up in the wrong rendertarget. | |||
2009-12-26 | tgsi: 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-26 | python: Update python state tracker and samples for recent interface changes. | José Fonseca | |
2009-12-26 | trace: Fix transfer size computation. | José Fonseca | |
2009-12-26 | svga: Allow to dump an individual command. | José Fonseca | |
2009-12-26 | r300g: fixup for GS additions | Dave Airlie | |
draw_set_mapped_constant_buffer changed API | |||
2009-12-25 | gallium: remove TGSI_SEMANTIC_VERTICES | Zack 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-25 | draw: disable some debugging output coming from the geometry shaders | Zack Rusin | |
2009-12-25 | gallium: geometry shader can be always enabled and we don't need a cap for that | Zack Rusin | |
using the draw module allows us to enable geometry shading even on hardware that doesn't support it. | |||
2009-12-25 | util: put vertices_per_primitive function in its proper location | Zack Rusin | |
2009-12-25 | draw/tgsi: fix geometry shader input/output swizzling | Zack Rusin | |
2009-12-25 | tgsi: dump the indices correctly when dealing with 2d arrays | Zack Rusin | |
2009-12-25 | tgsi: fix property parsing/building | Zack Rusin | |
2009-12-25 | python: fix python state tracker after some latest changes | Zack Rusin | |
2009-12-25 | softpipe: make it possible to dump geometry shader from the softpipe | Zack Rusin | |
2009-12-25 | tgsi: add missing support for two dimensional arrays in various places | Zack Rusin | |
in particular asm text parsing and sanity checking were missing code to handle multi-dimensional arrays/geometry shaders | |||
2009-12-25 | python/gs: fix the example | Zack Rusin | |
2009-12-25 | gallium: add an inline that returns number of vertices per primitive | Zack Rusin | |
2009-12-25 | softpipe/gs: don't crash with null shader | Zack Rusin | |
2009-12-25 | gs: fix drivers so they work with geometry shaders | Zack Rusin | |
2009-12-25 | tgsi: make the tgsi assembly parser report line/column on error | Zack Rusin | |
2009-12-25 | gallium: add geometry shader support to gallium | Zack Rusin | |
2009-12-24 | i965g: get trivial/tri working again after edgeflag changes | Keith Whitwell | |
2009-12-24 | i965g: strict aliasing changes | Keith Whitwell | |
2009-12-24 | gallium/util: quieten compiler | Keith Whitwell | |
2009-12-24 | i965g: calculate depth min/max | Keith Whitwell | |
Previously hard-wired to 0..1 | |||
2009-12-24 | nv50: support TGSI_OPCODE_CONT | Christoph Bumiller | |
2009-12-24 | nv50: make edgeflags work | Christoph 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-23 | llvmpipe: Install unit tests on build/xxx/bin | José Fonseca | |