summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-12-21nvc0: fence.bo is mappable, mark it as suchBen Skeggs
2010-12-21Merge remote branch 'origin/master' into nvc0-newBen Skeggs
Conflicts: src/gallium/drivers/nouveau/nouveau_winsys.h
2010-12-21nouveau: fix includes for latest libdrmBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-20r600g: properly unset vertex bufferJerome Glisse
Fix bug http://bugs.freedesktop.org/show_bug.cgi?id=32455 Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-12-20st/python: remove unused 'buf' parameter in pipe_buffer_unmapVinson Lee
This is a follow-up to commit ec51092a72e2dff1e9b1362d813fe4691cda89b7. Fixes SCons build.
2010-12-20gallium: remove unused 'buf' parameter in pipe_buffer_unmapMarek Olšák
2010-12-19nvc0: s/INLIN_RING/IMMED_RINGChristoph Bumiller
2010-12-19nvc0: improve shader support for texturingChristoph Bumiller
Fixed shadow and cube texture fetches, add array texture fetches.
2010-12-19nvc0: adapt to array textures interface changeChristoph Bumiller
2010-12-19Merge remote branch 'origin/master' into nvc0-newChristoph Bumiller
2010-12-19nvc0: fix clipping with scissors/viewportChristoph Bumiller
Also setup optional path to use proper primitive clipping instead, which is probably slower.
2010-12-19nvc0: use BIND_RING to set subchannel classesChristoph Bumiller
2010-12-19nvc0: switch to the proper constants upload pathChristoph Bumiller
Makes things suddenly go surprisingly fast.
2010-12-19nvc0: add the index buffer offset where missingChristoph Bumiller
2010-12-19r300g: optimize the fallback for misaligned ushort indicesMarek Olšák
2010-12-17gallivm: Cleanup util_format_xxx_fetch_xxx call generation.José Fonseca
No need to register function prototypes in the module now that we call the C function pointer directly -- less LLVM objects lying around. Limited testing with lp_test_format.
2010-12-17r300g: finally fix the texture corruption on r3xx-r4xxMarek Olšák
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 <aaalmosss@gmail.com> for finding the bug in the code. NOTE: This is a candidate for both the 7.9 and 7.10 branches.
2010-12-16softpipe: remove sp_tex_tile_cache_border_color()Brian Paul
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
2010-12-16softpipe: fix depth texture sampling regressionBrian Paul
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
2010-12-16gallivm: fix copy&paste error from previous commitBrian Paul
Fixes piglit regression, http://bugs.freedesktop.org/show_bug.cgi?id=32452 NOTE: This is a candidate for the 7.10 branch
2010-12-16gallivm: work around LLVM 2.6 bug when calling C functionsBrian Paul
Create a constant int pointer to the C function, then cast it to the function's type. This avoids using trampoline code which seem to be inadvertantly freed by LLVM in some situations (which leads to segfaults). The root issue and work-around were found by José. NOTE: This is a candidate for the 7.10 branch
2010-12-16draw: s/varient/variant/Brian Paul
2010-12-16svga: s/varient/variant/Brian Paul
2010-12-16i965g: s/varient/variant/Brian Paul
2010-12-16i915g: s/varient/variant/Brian Paul
2010-12-16softpipe: s/varient/variantBrian Paul
2010-12-16nvfx: fix fragprog word swapping on big-endian machinesBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-15gallium: properly check for src->dst blit compatibilitiesJerome Glisse
Spotted by Christoph Bumiller & Jose Fonseca Signed-off-by: Jerome Glisse <jglisse@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-14tgsi: document texture opcodesBrian Paul
2010-12-14gallivm: do texture swizzle after shadow compareBrian Paul
We need to swizzle after the shadow comparison so that the GL_DEPTH_MODE functionality is handled properly. This fixes all the piglit glsl-fs-shadow2d*.shader_test cases, except for glsl-fs-shadow2dproj-bias.shader_test which fails because of a bug in the GLSL compiler (fd.o 32395).
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-13gallivm: store callbacks in a linked list rather than fixed size arrayBrian Paul
Should fix http://bugs.freedesktop.org/show_bug.cgi?id=32308
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-11tgsi: fix rbug compile errorMarek Olšák
../mesa/src/gallium/auxiliary/tgsi/tgsi_parse.h:139: error: dereferencing pointer ‘tokens.25’ does break strict-aliasing rules Signed-off-by: Marek Olšák <maraeo@gmail.com>
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-10r600g: fix bo size when creating bo from handleJerome Glisse
Spoted by Alex Diomin Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-12-10targets/egl: Improve st_GL.so loading.Chia-I Wu
When the application is not linked to any libGL*.so, loading st_GL.so would give /usr/local/lib/egl/st_GL.so: undefined symbol: _glapi_tls_Context In that case, load libGL.so and try again. This works because util_dl_open loads with RTLD_GLOBAL. Fix "clear" OpenGL ES 1.1 demo.
2010-12-10target/egl: Fix misleading debug message.Chia-I Wu
When the name of the module is NULL, the process itself is dlopen()ed. Do not print libEGL debug: searching for st module (null)
2010-12-09draw/llvm: don't flush in vs_llvm_delete()Brian Paul
Fixes piglit glx-shader-sharing crash. When shaders are shared by multiple contexts, the shader's draw context pointer may point to a previously destroyed context. Dereferencing the context pointer will lead to a crash. In this case, simply removing the flushing code avoids the crash (the exec and sse shader paths don't flush here either). There's a deeper issue here, however, that needs examination. Shaders should not keep pointers to contexts since contexts might get destroyed at any time. NOTE: This is a candidate for the 7.10 branch (after this has been tested for a while).
2010-12-09draw/llvm: remove redundant commentBrian Paul
2010-12-09draw/llvm: remove extraneous conditionalBrian Paul
2010-12-09r600g: Fix SCons build.Vinson Lee