summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-12-24softpipe: add support for color writes all color bufs propertyDave Airlie
2010-12-24gallium: add fragment shader property for color writes to all buffers. (v2)Dave Airlie
For GL fragColor semantics we need to tell the pipe drivers that the fragment shader color result is to be replicated to all bound color buffers, this adds the basic TGSI + documentation. v2: fix missing comma pointed out by Tilman on mesa-dev. Signed-off-by: Dave Airlie <airlied@redhat.com>
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-23gallium: add new formats L16A16_UNORM, A16_UNORM, I16_UNORM, B2G3R3_UNORMMarek Olšák
2010-12-22gallivm: Disable MMX-disabling code on llvm-2.9.Vinson Lee
The disable-mmx option was removed in llvm-2.9svn by revisions 122188 and 122189. Fixes FDO bug 32564.
2010-12-22gallivm: Fix 'cast from pointer to integer of different size' warning.Vinson Lee
Fixes this GCC warning. lp_bld_const.h: In function 'lp_build_const_int_pointer': lp_bld_const.h:137: warning: cast from pointer to integer of different size
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-22st/vega: Remove unnecessary headers.Vinson Lee
2010-12-22r600g: Remove the unused "pframebuffer" field from r600_pipe_context.Henri Verbeet
2010-12-22r600g: r600_new() and r600_delete() are unused.Henri Verbeet
2010-12-22st/egl: Assorted fixes for dri2_display_get_configs.Chia-I Wu
Set window_bit only when the visual id is greater than zero. Correct visual types. Skip slow configs as they are not relevant. Finally, do not return duplicated configs.
2010-12-22r600g: remove useless switch statementsAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-12-22st/egl: Fix eglCopyBuffers.Chia-I Wu
Flush before presenting.
2010-12-22st/egl: Plug pbuffer leaks.Chia-I Wu
Unreference validated resources or remove unnecessary validations.
2010-12-22st/egl: Allow single-buffered pixmaps.Chia-I Wu
All single-buffered configs were ignored before to make sure EGL_RENDER_BUFFER is settable for window surfaces. It is better to allow single-buffered configs and set EGL_WINDOW_BIT only for double-buffered ones. This way there can be single-buffered pixmaps.
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-22st/egl: Remove native_config::samples.Chia-I Wu
Multisample buffers are never requested.
2010-12-22st/egl: Remove native_config::slow_config.Chia-I Wu
In direct rendering scenario, it is not needed until an EGLDisplay can support both HW and SW pipe screens.
2010-12-22st/egl: Remove unnecessary egl_g3d_find_pixmap_config.Chia-I Wu
It was used to find a compatible config for a given pixmap. Now that a config is optional for pixmap surface creation, the function is not needed.
2010-12-22st/egl: Make config optional for create_pixmap_surface.Chia-I Wu
eglCopyBuffers or EGL_KHR_image_pixmap require creating a pixmap surface without a config. Make it just work without relying on is_pixmap_supported.
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-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-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