summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* softpipe: add support for color writes all color bufs propertyDave Airlie2010-12-243-4/+14
|
* gallium: add fragment shader property for color writes to all buffers. (v2)Dave Airlie2010-12-245-3/+30
| | | | | | | | | | 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 <[email protected]>
* 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
|
* gallium: add new formats L16A16_UNORM, A16_UNORM, I16_UNORM, B2G3R3_UNORMMarek Olšák2010-12-232-0/+10
|
* gallivm: Disable MMX-disabling code on llvm-2.9.Vinson Lee2010-12-221-0/+2
| | | | | | | The disable-mmx option was removed in llvm-2.9svn by revisions 122188 and 122189. Fixes FDO bug 32564.
* gallivm: Fix 'cast from pointer to integer of different size' warning.Vinson Lee2010-12-221-1/+1
| | | | | | 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
* 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
|
* st/vega: Remove unnecessary headers.Vinson Lee2010-12-226-12/+0
|
* r600g: Remove the unused "pframebuffer" field from r600_pipe_context.Henri Verbeet2010-12-223-5/+0
|
* r600g: r600_new() and r600_delete() are unused.Henri Verbeet2010-12-224-124/+15
|
* st/egl: Assorted fixes for dri2_display_get_configs.Chia-I Wu2010-12-221-4/+36
| | | | | | 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.
* r600g: remove useless switch statementsAlex Deucher2010-12-222-105/+0
| | | | Signed-off-by: Alex Deucher <[email protected]>
* st/egl: Fix eglCopyBuffers.Chia-I Wu2010-12-221-6/+5
| | | | Flush before presenting.
* st/egl: Plug pbuffer leaks.Chia-I Wu2010-12-221-8/+2
| | | | Unreference validated resources or remove unnecessary validations.
* st/egl: Allow single-buffered pixmaps.Chia-I Wu2010-12-222-26/+17
| | | | | | | 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.
* r600g: drop unused code in evergreen.Dave Airlie2010-12-223-61/+1
| | | | | | | this code was pretty much duplicated, thanks to Henri Verbeet on irc for pointing it out. Signed-off-by: Dave Airlie <[email protected]>
* st/egl: Remove native_config::samples.Chia-I Wu2010-12-223-5/+1
| | | | Multisample buffers are never requested.
* st/egl: Remove native_config::slow_config.Chia-I Wu2010-12-225-9/+0
| | | | | In direct rendering scenario, it is not needed until an EGLDisplay can support both HW and SW pipe screens.
* st/egl: Remove unnecessary egl_g3d_find_pixmap_config.Chia-I Wu2010-12-223-36/+2
| | | | | | 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.
* st/egl: Make config optional for create_pixmap_surface.Chia-I Wu2010-12-223-46/+79
| | | | | | eglCopyBuffers or EGL_KHR_image_pixmap require creating a pixmap surface without a config. Make it just work without relying on is_pixmap_supported.
* 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-225-4/+15
|
* 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]>
* st/python: remove unused 'buf' parameter in pipe_buffer_unmapVinson Lee2010-12-201-1/+1
| | | | | | This is a follow-up to commit ec51092a72e2dff1e9b1362d813fe4691cda89b7. Fixes SCons build.
* gallium: remove unused 'buf' parameter in pipe_buffer_unmapMarek Olšák2010-12-2014-41/+32
|
* r300g: optimize the fallback for misaligned ushort indicesMarek Olšák2010-12-192-2/+22
|
* gallivm: Cleanup util_format_xxx_fetch_xxx call generation.José Fonseca2010-12-171-47/+24
| | | | | | | 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.
* 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
* gallivm: fix copy&paste error from previous commitBrian Paul2010-12-161-1/+1
| | | | | | Fixes piglit regression, http://bugs.freedesktop.org/show_bug.cgi?id=32452 NOTE: This is a candidate for the 7.10 branch
* gallivm: work around LLVM 2.6 bug when calling C functionsBrian Paul2010-12-162-11/+61
| | | | | | | | | 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
* draw: s/varient/variant/Brian Paul2010-12-1610-110/+110
|
* 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]>
* gallium: properly check for src->dst blit compatibilitiesJerome Glisse2010-12-151-2/+2
| | | | | | Spotted by Christoph Bumiller & Jose Fonseca Signed-off-by: Jerome Glisse <[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).
* tgsi: document texture opcodesBrian Paul2010-12-141-6/+58
|