summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* r300g: support user buffers as constant buffersMarek Olšák2010-12-291-3/+9
|
* r300g: rename aos to vertex arraysMarek Olšák2010-12-286-45/+45
|
* r300g: mark vertex arrays as dirty after a buffer_offset changeMarek Olšák2010-12-281-0/+1
| | | | | | We shouldn't hit this bug in theory. NOTE: This is a candidate for the 7.10 branch.
* svga, glhd: Remove incorrect assert and add noteJakob Bornecrantz2010-12-162-1/+2
| | | | | Stride can be lower then the size of the attribute. But should probably be aligned to component size atleast for floats.
* svga: Minor debug text fixJakob Bornecrantz2010-12-161-1/+1
|
* svga: Correct spelling in swtnl backendJakob Bornecrantz2010-12-161-4/+4
|
* i915g: Ignore color0 writes all cbufs tgsi propertyJakob Bornecrantz2010-12-271-0/+8
|
* nvfx: Remove unused variable.Vinson Lee2010-12-251-1/+0
| | | | | | Fixes this GCC warning. nvfx_vbo.c: In function 'nvfx_idxbuf_emit': nvfx_vbo.c:410: warning: unused variable 'eng3d'
* nvfx: restore BEGIN_RING usageXavier Chantry2010-12-2515-164/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | Michel Hermier reported libdrm segfault (and kernel crash) on nv40 using gallium : http://www.mail-archive.com/[email protected]/msg06563.html It turns out these were caused by some missing WAIT_RING (or wrong computation of the WAIT_RING sizes). Unlike all other libdrm_nouveau users, nvfx gallium tried to use a mininum calls of WAIT_RING, one WAIT_RING could apply to many methods for different code paths and spread across several functions. This made it too tricky to find out what the missing or wrong WAIT_RING was. By restoring BEGIN_RING, we force one WAIT_RING per method, and it's much easier to check if the free size required in the pushbuffer is correct. As curro said, "let's keep it simple for the maintainers until the big bottlenecks are gone" Benchmarked on nv35 with openarena, nexuiz and ut2004 and no performance regression. The core of this patch was made with Coccinelle, with minor manual fixes made on top. Tested-by: Michel Hermier <[email protected]> Signed-off-by: Francisco Jerez <[email protected]>
* r300g: simplify buffer_transfer_inline_writeMarek Olšák2010-12-251-8/+8
|
* r300g: simplify the code for buffer uploadsMarek Olšák2010-12-253-62/+32
|
* r300g: user index buffers are always alignedMarek Olšák2010-12-251-1/+2
|
* r300g: increase the size of upload buffersMarek Olšák2010-12-252-4/+3
|
* r300g/swtcl: re-enable LLVMMarek Olšák2010-12-243-1/+24
| | | | | | Based on a patch from Drill <[email protected]>. NOTE: This is a candidate for the 7.10 branch.
* r600g: r600_blit_uncompress_depth() can't fail.Henri Verbeet2010-12-242-5/+2
|
* r600g: Get rid of r600_blit_uncompress_depth_ptr.Henri Verbeet2010-12-243-6/+1
|
* r600g: hack around property unknown issues.Dave Airlie2010-12-241-0/+2
| | | | | | | | should fix https://bugs.freedesktop.org/show_bug.cgi?id=32619 Need to add proper support for properties later. Signed-off-by: Dave Airlie <[email protected]>
* r300g: turn back on rv530 hiz.Dave Airlie2010-12-241-1/+1
| | | | | | still needs RADEON_HYPERZ=y env var. Signed-off-by: Dave Airlie <[email protected]>
* r300g: hyperz fixing typo.Dave Airlie2010-12-241-2/+2
| | | | | | | | | Really no idea why I didn't see this before, but these values were opposite the register spec. this seems to fix rv530 HiZ on my laptop, will reenable in next commit. Signed-off-by: Dave Airlie <[email protected]>
* r600g: Rearrange print order of outputs of R600_ERR.Vinson Lee2010-12-231-1/+1
|
* r300g: add support for color0 writes to all bound color buffers.Dave Airlie2010-12-245-9/+54
| | | | | | Thanks to Marek Olšák for making my initial attempt actually work. Signed-off-by: Dave Airlie <[email protected]>
* softpipe: add support for color writes all color bufs propertyDave Airlie2010-12-243-4/+14
|
* r300g: use a simpler fallback for misaligned ushort indices with trianglesMarek Olšák2010-12-231-26/+53
| | | | | | If 'start' is odd, render the first triangle with indices embedded in the command stream, which adds 3 to 'start' and makes it even. Then continue with the fast path.
* r300g: add support for B2G3R3 texturingMarek Olšák2010-12-232-0/+9
|
* i915g: Remove unnecessary header.Vinson Lee2010-12-221-1/+0
|
* llvmpipe: Remove unnecessary headers.Vinson Lee2010-12-222-3/+0
|
* r300g: Remove unnecessary headers.Vinson Lee2010-12-222-3/+0
|
* svga: Remove unnecessary header.Vinson Lee2010-12-221-1/+0
|
* r600g: Remove the unused "pframebuffer" field from r600_pipe_context.Henri Verbeet2010-12-223-5/+0
|
* r600g: drop unused code in evergreen.Dave Airlie2010-12-222-5/+1
| | | | | | | this code was pretty much duplicated, thanks to Henri Verbeet on irc for pointing it out. Signed-off-by: Dave Airlie <[email protected]>
* r600g: fix evergreen segfaults.Dave Airlie2010-12-221-1/+1
| | | | | | | | evergreen was crashing running even gears here. This is a 7.10 candidate if its broken the same. Signed-off-by: Dave Airlie <[email protected]>
* r300g: fix precision issues with B10G10R10A2Marek Olšák2010-12-221-0/+2
|
* r300g: support B10G10R10A2 render targets only with DRM 2.8.0 or later versionsMarek Olšák2010-12-222-3/+6
|
* r600g: avoid segfaultJerome Glisse2010-12-212-2/+2
| | | | | | Candidates 7.10 Signed-off-by: Jerome Glisse <[email protected]>
* nouveau: fix includes for latest libdrmBen Skeggs2010-12-214-5/+4
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* r600g: properly unset vertex bufferJerome Glisse2010-12-203-12/+22
| | | | | | Fix bug http://bugs.freedesktop.org/show_bug.cgi?id=32455 Signed-off-by: Jerome Glisse <[email protected]>
* gallium: remove unused 'buf' parameter in pipe_buffer_unmapMarek Olšák2010-12-2011-31/+23
|
* r300g: optimize the fallback for misaligned ushort indicesMarek Olšák2010-12-192-2/+22
|
* r300g: finally fix the texture corruption on r3xx-r4xxMarek Olšák2010-12-171-17/+15
| | | | | | | | | | | | | Even though a bound texture stays bound when calling set_fragment_sampler_views, it must be assigned a new cache region depending on the occupancy of other texture units. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28800 Thanks to Álmos <[email protected]> for finding the bug in the code. NOTE: This is a candidate for both the 7.9 and 7.10 branches.
* softpipe: remove sp_tex_tile_cache_border_color()Brian Paul2010-12-163-34/+2
| | | | | | | With swizzling done at the end of texture sampling, we can greatly simplify swizzling of the border color. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32460
* softpipe: fix depth texture sampling regressionBrian Paul2010-12-161-9/+17
| | | | | | | We need to keep using the pipe_get_tile_swizzle() even though there's no swizzling because we need to explicitly pass in the surface format. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32459
* svga: s/varient/variant/Brian Paul2010-12-162-2/+2
|
* i965g: s/varient/variant/Brian Paul2010-12-164-8/+8
|
* i915g: s/varient/variant/Brian Paul2010-12-163-3/+3
|
* softpipe: s/varient/variantBrian Paul2010-12-165-77/+77
|
* nvfx: fix fragprog word swapping on big-endian machinesBen Skeggs2010-12-161-2/+2
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* r600g: fix pow(0, 0) evaluating to NaNFredrik Höglund2010-12-151-1/+1
| | | | | | | We have to use the non-IEEE compliant version of MUL here, since log2(0) is -inf, and 0 * -inf is NaN in IEEE arithmetic. candidates for 7.10 branch
* r600g: need to reference upload buffer as the might still live accross flushJerome Glisse2010-12-152-2/+4
| | | | | | | | | | Can't get away from referencing upload buffer as after flush a vertex buffer using the upload buffer might still be active. Likely need to simplify the pipe_refence a bit so we don't waste so much cpu time in it. candidates for 7.10 branch Signed-off-by: Jerome Glisse <[email protected]>
* softpipe: do texture swizzle during texture samplingBrian Paul2010-12-144-15/+114
| | | | | | Instead of when we read texture tiles. Now swizzling happens after the shadow depth compare step. This fixes the piglit glsl-fs-shadow2d* tests (except for proj+bias because of a GLSL bug).
* r600g: fix segfault when translating vertex bufferJerome Glisse2010-12-144-21/+10
| | | | | | | | | Note the support for non float vertex draw likely regressed need to find what we want to do there. candidates for 7.10 branches Signed-off-by: Jerome Glisse <[email protected]>