summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-02-21i965g: Remove dead code.Vinson Lee
2010-02-21i965g: Fix assertions that were always true.Vinson Lee
The surface_format field is 9 bits wide which has a maximum value of 511. BRW_SURFACEFORMAT_INVALID has a value of 4095 which exceeds the width of the surface_format field. This patch asserts that the format is not BRW_SURFACEFORMAT_INVALID before assignment to the surface_format field.
2010-02-21i965g: Fix use of out-of-scope variable.Vinson Lee
2010-02-19r300g: fix rendering into the L8 and A8 texture formatsMarek Olšák
RB3D_COLORPITCH.COLORFORMAT.I8 stores the C2 component.
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Revert "r300g: remove L8_UNORM from colorbuffer formats"Corbin Simpson
This reverts commit fc427d23439a2702068209957f08990ea29fe21b. At least xorg uses this, and just because something is not used in OpenGL is *never* a valid reason to remove functionality from Gallium. If something lacks a test, go add a test, don't remove features.
2010-02-19r300g: remove L8_UNORM from colorbuffer formatsMarek Olšák
Not renderable in OpenGL anyway.
2010-02-18softpipe: fix depth testing problemsBrian Paul
The optimized Z-test functions assumed that the array of incoming quads are adjacent, but that's not always true. The fragment shader can cull intermediate quads, for example. Now these Z-test functions can cope with non-adjacent quads. A little bit of performance is probably lost, but it's probably not worth worring about. This fixes broken glBitmap() Z testing, among other things. (cherry picked from commit d437d905e6924ebc05ec9efe87e1e2c48d75bc13)
2010-02-18softpipe: comments and whitespace fixesBrian Paul
2010-02-18softpipe: const qualifiers, commentsBrian Paul
2010-02-18identity: Propagate api->name and api->driver_name upJakob Bornecrantz
2010-02-18trace: Propagate api->name upJakob Bornecrantz
2010-02-17svga: Silence uninitialized variable warnings.Vinson Lee
2010-02-18r300g: add support for all missing non-FP sampler formatsMarek Olšák
The idea is to directly parse the format description in r300_translate_texformat and return ~0 if the format is unsupported.
2010-02-17llvmpipe: use ffs technique for full tiles alsoKeith Whitwell
Need to compute two masks here for full and partial 16x16 blocks. Gives a further good improvement for isosurf particularly: isosurf 97 -> 108 gears 597 -> 611
2010-02-17llvmpipe: rework do_block_16 to use bitmasks and ffsKeith Whitwell
Some nice speedups: gears: 547 -> 597 isosurf: 83 -> 98 Others like gloss unchanged. Could do further work in this direction.
2010-02-16nv40: Fix incorrect so_new() numbering.Francisco Jerez
2010-02-16nv40: Implement PIPE_CAP_MAX_COMBINED_SAMPLERS.Francisco Jerez
2010-02-16nv50: use hw idx buffers where we canBen Skeggs
2010-02-16nouveau: fix for latest libdrmBen Skeggs
2010-02-15r300g: fix the size of constant buffersMarek Olšák
4 more piglit tests pass, sweet.
2010-02-15trace: Dump blend state as a binary blob.José Fonseca
Gallium interfaces are too fluid -- XML or not is just too much work trying to accommodate for differences in traces. SWIG generated bindings are also full of quirks, making unmarshalling the XML from too hard. Finally, this is the first step for faster tracing.
2010-02-15trace: Fix constant buffer unwrapping.José Fonseca
Pointer unwrapping should happen before dump the pointer, so that the real pipe driver pointers are shown, instead of the trace driver's.
2010-02-14trace: No need to dump reference counts.José Fonseca
2010-02-14trace: Update for os_stream changes.José Fonseca
2010-02-14llvmpipe: Silence unused value warning.Vinson Lee
2010-02-14svga: Silence uninitialized variable warning.Vinson Lee
2010-02-14r300: add half_float_vertex supportMarek Olšák
2010-02-14r300g: set the correct tiling flags for renderbuffersMarek Olšák
MACRO_SWITCH is applied to samplers but not renderbuffers. This commit fixes incorrect rendering to large and small mipmaps where the large ones are macrotiled and the small ones are not and both are emitted in the same CS. Note that this is still disabled by default (rework of texture transfers is next).
2010-02-14r300g: add macrotiling support to texture setupMarek Olšák
2010-02-14r300g: accelerate blitting for all formats by faking the texture formatMarek Olšák
2010-02-14r300g: fix texture formats: A4R4G4B4_UNORM, A1R5G5B5_UNORM, R5G6B5_UNORMMarek Olšák
2010-02-14llvmpipe: s/debug_dump_/util_dump_/José Fonseca
2010-02-14cell: Use util_format_name().José Fonseca
2010-02-14llvmpipe: Use util_format_name().José Fonseca
2010-02-14nv: Use util_format_name().José Fonseca
2010-02-14r300g: Use util_format_name().José Fonseca
2010-02-14trace: Use util_format_name().José Fonseca
2010-02-14trace: Fix generated XML.José Fonseca
2010-02-13llvmpipe: Silence uninitialized variable warning.Vinson Lee
2010-02-13softpipe: Silence uninitialized variable warnings.Vinson Lee
2010-02-14r300g: fix scons buildMarek Olšák
2010-02-13softpipe: fix broken cubemap / mipmap selection codeBrian Paul
This is a quick-fix for the time being... The per-face mipmap LOD computation was invalid at cube edges. In mip_filter_nearest/linear() we were trying to compute LOD using texcoords that were sometimes indexes into different cube faces. The subtraction used to compute the partial derivatives basically gave random values, so the LOD was unpredictable. This fix simply uses the same cube face for all four pixels in the quad. The per- face texcoords all reference the same cube face so the partial deriviates are computed properly. A more elaborate fix would involve computing the LOD at the same time as we choose the cube faces. But for now, this solution works well and allows the piglit/cubemap test to pass. (cherry picked from commit 1ff9cd5079b095d7050edb8dc6a7e5b8cad36e1e)
2010-02-13svga: Fix texture border color.José Fonseca
Also opposite ordering.
2010-02-13r300g: do not invalidate texture caches when only sampler state is changedMarek Olšák
2010-02-13r300g: cleanup the emission of RS block stateMarek Olšák
Emit as few regs as possible.
2010-02-13r300g: cleanup the emission of framebuffer stateMarek Olšák
Some emits are not needed anymore.
2010-02-13r300g: disable independent blend enablesMarek Olšák
Not supported by r300.
2010-02-13r300g: emit INDEPENDENT_COLORFORMAT_ENABLE only on r5xxMarek Olšák
2010-02-12svga: Silence uninitialized variable warning.Vinson Lee