summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* Revert "r600g: truncate point sampled texture coordinates"Marek Olšák2011-05-022-14/+1
| | | | | | | This reverts commit 1dc204d145dc8c0b19473a7814c201a8954b6274. MC_COORD_TRUNCATE is for MPEG and produces quite an interesting behavior on regular textures. Anyway that commit broke filtering in demos/cubemap.
* tgsi: remove set-but-unused variablesMarek Olšák2011-05-011-4/+0
|
* draw: remove set-but-unused variableMarek Olšák2011-05-011-2/+1
|
* rbug: remove set-but-unused variablesMarek Olšák2011-05-013-28/+0
|
* r600g: remove set-but-unused variableMarek Olšák2011-05-011-4/+0
|
* r600g: remove FIXME commentMarek Olšák2011-05-011-3/+0
| | | | DONTBLOCK is correctly handled in r600_bo_map.
* i915g: enable X-tiling for s3tc texturesDaniel Vetter2011-04-301-2/+1
| | | | | Tested-by: Christopher Egert <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
* r300/compiler: Rewrite register allocatorTom Stellard2011-04-301-0/+1
| | | | | | | The new allocator uses ra and does swizzle packing. Also, a data structure (struct rc_variable) and associated functions have been added for generating UD and DU chains.
* egl/wayland: Fix possible lockup in drm initializationBenjamin Franzke2011-04-291-1/+1
| | | | Lockup happens when wl_drm interface is not available.
* r600g: print opcodes names instead of numbersMarek Olšák2011-04-291-1/+3
|
* r600g: implement EXT_packed_floatMarek Olšák2011-04-293-0/+10
|
* util: implement R11G11B10_FLOAT pack/unpack functionsMarek Olšák2011-04-294-1/+336
| | | | Reviewed-by: Brian Paul <[email protected]>
* mesa, util: move RGB9E5 conversion functions to gallium/utilMarek Olšák2011-04-292-1/+165
| | | | | | | Also use MAX3 and incorporate Ian's suggestion in texformat.c. I don't think wrapping u_format_rgb9e5.h in another header and thus making it more complicated is worth it.
* r600g: trivially implement EXT_texture_shared_exponentMarek Olšák2011-04-291-0/+5
| | | | Nothing else needed.
* util: implement R9G9B9E5 pack and unpack functionsMarek Olšák2011-04-291-5/+82
| | | | | | softpipe and llvmpipe support done (sampler only). Reviewed-by: Brian Paul <[email protected]>
* i915g: Enable S3TC texture supportChristopher Egert2011-04-292-6/+11
| | | | | | | Reviewed-by: Jakob Bornecrantz <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Signed-off-by: Christopher Egert <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* llvmpipe: move active_query assignmentBrian Paul2011-04-281-2/+2
| | | | Fixes piglit regression.
* llvmpipe: move active_query assignment in lp_setup_begin_query()Brian Paul2011-04-281-2/+2
| | | | | | | | | | If we run out of bin memory and do an early return from lp_setup_begin_query() we'd omit setting the setup->active_query pointer. Then, when lp_setup_end_query() was later called, the assertion for setup->active_query == pq would fail. Moving the assigment in lp_setup_begin_query() avoids that. Reviewed-by: Jose Fonseca <[email protected]>
* svga: emit user-defined clip plane stateBrian Paul2011-04-273-11/+26
| | | | User-defined clip planes were a swtnl fallback before.
* util: make macros MIN3, MAX3, MIN4, MAX4 little more efficientMarek Olšák2011-04-271-4/+4
|
* gallium/nouveau: fix printf warningsMarek Olšák2011-04-272-2/+2
|
* gallivm: fix warning: ‘value’ may be used uninitialized in this functionMarek Olšák2011-04-271-1/+1
| | | | The path where it's uninitialized is guarded by an assert.
* svga: fix warning: ‘uc.ui’ may be used uninitialized in this functionMarek Olšák2011-04-271-1/+1
| | | | | This is safe because it's initialized if buffers & PIPE_CLEAR_COLOR and probably doesn't have any effect otherwise.
* os: simplify ifdefnobled2011-04-271-1/+1
| | | | | | | The actual code that needs this include is just using "if defined (PIPE_OS_UNIX)", and the two conditions should match. This should also make the file compile under Hurd.
* winsys/wayland: Fix typo in MakefileBenjamin Franzke2011-04-251-1/+1
| | | | Reported by dir1212 on irc.
* st/egl: Add wayland shm softpipe supportBenjamin Franzke2011-04-254-3/+192
|
* st/egl: Generalize wayland backend a bitBenjamin Franzke2011-04-253-253/+361
|
* winsys: Add wayland shm sw winsysBenjamin Franzke2011-04-254-0/+343
|
* r600g: Unify comment style somewhat.Henri Verbeet2011-04-257-48/+53
| | | | Signed-off-by: Henri Verbeet <[email protected]>
* r600g: Cleanup the big endian support a bit.Henri Verbeet2011-04-2511-162/+166
| | | | | | | In particular, make sure the code is at least compiled on little endian systems. Signed-off-by: Henri Verbeet <[email protected]>
* r600g: Use EG constants in EG r600_colorformat_endian_swap().Henri Verbeet2011-04-251-21/+21
| | | | | | This would actually fail to compile when PIPE_ARCH_BIG_ENDIAN is defined. Signed-off-by: Henri Verbeet <[email protected]>
* r600g: Remove r600_helper.c from SConscript.Vinson Lee2011-04-241-1/+0
| | | | This is a follow-up to commit d737857ed2ff4313fd6046dcd80018c6308a53c5.
* r600g: remove some pointless and unused functionsMarek Olšák2011-04-253-21/+3
|
* r600g: do not reset device to 0 when doing unrelated operationsMarek Olšák2011-04-251-2/+0
| | | | Seems to be a copy-paste bug.
* r600g: trivially implement LATC/3DCMarek Olšák2011-04-251-0/+4
| | | | Passes fbo-generatemipmap-formats.
* r600g: drop r600_helper.c no point in itDave Airlie2011-04-254-73/+39
| | | | | | move the one function into state common Signed-off-by: Dave Airlie <[email protected]>
* r600g: enable EXT_draw_buffers2Dave Airlie2011-04-251-5/+1
| | | | | | | Doesn't cause any piglit regression and passes the fbo-draw-buffers-blend test. Signed-off-by: Dave Airlie <[email protected]>
* r600g: fix glean clipflat test.Dave Airlie2011-04-242-3/+8
| | | | | | | | the provoking vertex doesn't apply to quad/strip/polygon. This fixes clipFlat on r600g. Signed-off-by: Dave Airlie <[email protected]>
* r300g: reorder capsMarek Olšák2011-04-241-13/+11
|
* r300g: fix exposing caps on r300-r400Marek Olšák2011-04-241-2/+2
| | | | Broken with 72239d16cd08113e994ea3508f91193c682b0930.
* r600g: fix glsl-fs-abs-negDave Airlie2011-04-241-0/+2
| | | | | | the hw does neg after abs, so don't neg the source in the ABS instruction case. Signed-off-by: Dave Airlie <[email protected]>
* r600g: fix bank swizzle calcs for scalar only operations.Dave Airlie2011-04-241-15/+25
| | | | | | | | | | | | In the initial code if we had nothing in the vector slots r would never get reset to 0, so we'd fail to compile shaders, after the previous commit this would happen for the LIT tests. When I fixed that we did a lot of unnecessary loops through all the vector states when we had no vector slots filled. So this patch optimises thing for the scalar only state. This fixes the 3 LIT piglit tests on r600g. Signed-off-by: Dave Airlie <[email protected]>
* r600g: PV/PS have cycle restrictions in scalar operationsDave Airlie2011-04-241-2/+6
| | | | | | | | | | In the R600 ISA document: Section 4.7.5 Cycle restrictions for the ALU.trans states that PV/PS have cycle restrictions wrt constants. This is part of a fix for the LIT tests Signed-off-by: Dave Airlie <[email protected]>
* graw: Replace dead symlinks to delete python statetracker shaders with their ↵José Fonseca2011-04-2364-2/+818
| | | | contents.
* draw: fix point/line/tri flushing bug in vbuf codeBrian Paul2011-04-221-4/+10
| | | | | | | | Need to reset the point/line/tri functions to point to the "first" versions whenever we flush vertices. Fixes unfilled polygon rendering errors seen in demos/samples/logo.c. See comments for more info. NOTE: This is a candidate for the 7.10 branch.
* r300g: do not advertise color_buffer_float on r300 and r400Marek Olšák2011-04-221-1/+1
| | | | It seems they can't do unclamped vertex colors. Tested on RV350.
* egl/wayland: Update to buffer.damage additionBenjamin Franzke2011-04-221-0/+1
|
* r300g: disallow A16F,L16F,LA16F,I16F texture formats on DRM<2.8.0Marek Olšák2011-04-221-4/+9
|
* st/egl: Update to wayland protocol,egl changesBenjamin Franzke2011-04-222-27/+92
|
* galahad,util: warn on resource target mismatch in copy_regionMarek Olšák2011-04-212-0/+9
| | | | Reviewed-by: Jakob Bornecrantz <[email protected]>