summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-12-24r600g: Get rid of r600_blit_uncompress_depth_ptr.Henri Verbeet
2010-12-24r600g: hack around property unknown issues.Dave Airlie
should fix https://bugs.freedesktop.org/show_bug.cgi?id=32619 Need to add proper support for properties later. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24r300g: turn back on rv530 hiz.Dave Airlie
still needs RADEON_HYPERZ=y env var. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24r300g: hyperz fixing typo.Dave Airlie
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 <airlied@redhat.com>
2010-12-23r600g: Rearrange print order of outputs of R600_ERR.Vinson Lee
2010-12-24r300g: add support for color0 writes to all bound color buffers.Dave Airlie
Thanks to Marek Olšák for making my initial attempt actually work. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24softpipe: add support for color writes all color bufs propertyDave Airlie
2010-12-23r300g: use a simpler fallback for misaligned ushort indices with trianglesMarek Olšák
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.
2010-12-23r300g: add support for B2G3R3 texturingMarek Olšák
2010-12-22i915g: Remove unnecessary header.Vinson Lee
2010-12-22llvmpipe: Remove unnecessary headers.Vinson Lee
2010-12-22r300g: Remove unnecessary headers.Vinson Lee
2010-12-22svga: Remove unnecessary header.Vinson Lee
2010-12-22r600g: Remove the unused "pframebuffer" field from r600_pipe_context.Henri Verbeet
2010-12-22r600g: drop unused code in evergreen.Dave Airlie
this code was pretty much duplicated, thanks to Henri Verbeet on irc for pointing it out. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-22r600g: fix evergreen segfaults.Dave Airlie
evergreen was crashing running even gears here. This is a 7.10 candidate if its broken the same. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-22r300g: fix precision issues with B10G10R10A2Marek Olšák
2010-12-22r300g: support B10G10R10A2 render targets only with DRM 2.8.0 or later versionsMarek Olšák
2010-12-21r600g: avoid segfaultJerome Glisse
Candidates 7.10 Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-12-16nvfx: fix fragprog word swapping on big-endian machinesBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-15r600g: fix pow(0, 0) evaluating to NaNFredrik Höglund
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
2010-12-15r600g: need to reference upload buffer as the might still live accross flushJerome Glisse
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 <jglisse@redhat.com>
2010-12-14softpipe: do texture swizzle during texture samplingBrian Paul
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).
2010-12-14r600g: fix segfault when translating vertex bufferJerome Glisse
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 <jglisse@redhat.com>
2010-12-12r600g: fix rendering with a vertex attrib having a zero strideAlex Deucher
The hardware supports zero stride just fine. This is a port of 2af8a1983180fc0168c1e0e53bcc69ee3d684ea4 from r300g. NOTE: This is a candidate for both the 7.9 and 7.10 branches. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-12-13r300g: fixup rs690 tiling stride alignment calculations.Dave Airlie
The RS690 memory controller prefers things to be on a different boundary than the discrete GPUs, we had an attempt to fix this, but it still failed, this consolidates the stride calculation into one place and removes the really special case check. This fixes gnome-shell and 16 piglit tests on my rs690 system. NOTE: This is a candidate for both the 7.9 and 7.10 branches. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-11nvc0: support user clip planesChristoph Bumiller
2010-12-11nvc0: enable vertex color clampingChristoph Bumiller
2010-12-11r300g: fix rendering with a vertex attrib having a zero strideMarek Olšák
The hardware apparently does support a zero stride, so let's use it. This fixes missing objects in ETQW, but might also fix a ton of other similar-looking bugs. NOTE: This is a candidate for both the 7.9 and 7.10 branches.
2010-12-10nvc0: fix FACE state and and handle FACE sysval/varying offsetChristoph Bumiller
2010-12-10nvc0: fix branching opsChristoph Bumiller
- bra is PC relative - jump to else condition was inverted - handle integer comparisons
2010-12-09r600g: Fix SCons build.Vinson Lee
2010-12-09r600g: indentation cleanupJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-12-09r600g: specialized upload managerJerome Glisse
Allow important performance increase by doing hw specific implementation of the upload manager helper. Drop the range flushing that is not hit with this code (and wasn't with previous neither). Performance improvement are mostly visible on slow CPU. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-12-09llvmpipe: Plug fence leaks.José Fonseca
2010-12-09nvc0: call grobj_alloc for all used classesChristoph Bumiller
Only doing this to notify the DRM that we need a PGRAPH context, nvc0 hardware doesn't use actual grobjs anymore.
2010-12-09nvc0: write texture address to TIC with a RELOCChristoph Bumiller
Direct access to the bo address requires an API change.
2010-12-09nvc0: use tile flags in a way compatible with nouveauChristoph Bumiller
2010-12-09nvc0: buffer suballocation with a primitive slab allocatorChristoph Bumiller
2010-12-09nvc0: generate shader header for geometry programsChristoph Bumiller
2010-12-09nvc0: fix immediate arg for SHL/SHRChristoph Bumiller
2010-12-09nvc0: index buffers are backChristoph Bumiller
Probably because long methods are gone index buffers must be explicit again.
2010-12-09nvc0: upload constants with m2mf for the time beingChristoph Bumiller
I get mysterious lockups with the dedicated CB upload ...
2010-12-09nvc0: support primitive restartChristoph Bumiller
2010-12-09nvc0: rcp f32 also supports neg and abs modifiersChristoph Bumiller
2010-12-07r600g: remove dead codeJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-12-07r300g: also revalidate the SWTCL vertex buffer after its reallocationMarek Olšák
2010-12-07r300g: validate buffers only if any of bound buffers is changedMarek Olšák
This prevents needless buffer validation (CS space checking).
2010-12-07r300g: cache packet dwords of 3D_LOAD_VBPNTR in a command buffer if possibleMarek Olšák
It's not always possible to preprocess the content of 3D_LOAD_VBPNTR in a command buffer, because the offset to all vertex buffers (which the packet depends on) is derived from the "start" parameter of draw_arrays and the "indexBias" parameter of draw_elements, but we can at least lazily make a command buffer for the case when offset == 0, which should occur most of the time.
2010-12-06r600g: avoid useless shader rebuild at draw callJerome Glisse
Avoid rebuilding constant shader state at each draw call, factor out spi update that might change at each draw call. Best would be to update spi only when revealent states change (likely only flat shading & sprite point). Signed-off-by: Jerome Glisse <jglisse@redhat.com>