summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* draw: implement primitive splitting for primitive restartBrian Paul2010-10-211-1/+85
|
* draw: Remove unnecessary header.Vinson Lee2010-10-211-1/+0
|
* draw: use float version of LLVM Mul/Add instructionsBrian Paul2010-10-201-7/+7
| | | | LLVM 2.8 is pickier about int vs float instructions and operands.
* llvmpipe/draw: always enable LLVMAddInstructionCombiningPass()Brian Paul2010-10-201-7/+1
| | | | | | We were working around an LLVM 2.5 bug but we're using LLVM 2.6 or later now. This basically reverts commit baddcbc5225e12052b3bc8c07a8b65243d76574d. This fixes the piglit bug/tri-tex-crash.c failure.
* draw: Move loop variable declaration outside for loop.Vinson Lee2010-10-191-1/+2
| | | | Fixes MSVC build.
* draw: make sure viewport gets updated in draw llvm shaderKeith Whitwell2010-10-193-27/+47
| | | | The viewport state was being baked in at compile time (oops...)
* Merge branch 'llvm-cliptest-viewport'Keith Whitwell2010-10-195-42/+455
|\
| * draw: corrections to allow for different cliptest casesHui Qi Tay2010-10-191-3/+5
| |
| * llvmpipe: clean up fields in draw_llvm_variant_keyKeith Whitwell2010-10-172-14/+9
| |
| * draw: corrections for w coordinateHui Qi Tay2010-10-171-2/+3
| |
| * draw: sanitize llvm variant keyHui Qi Tay2010-10-142-1/+3
| | | | | | | | Fixes recompilation, but seems to be broken with llvm 2.8.
| * draw: some changes to allow for runtime changes to userclip planesdelphi2010-10-105-20/+67
| |
| * draw: added userclip planes and updated variant_keydelphi2010-10-042-47/+99
| |
| * draw: added viewport and cliptest flagsHui Qi Tay2010-09-293-50/+98
| | | | | | | | | | | | | | Corrections in store_clip to store clip coordinates in AoS form. Viewport & cliptest flag options based on variant key. Put back draw_pt_post_vs and now 2 paths based on whether clipping occurs or not.
| * draw: cliptest and viewport done in a single loop in vertex shaderHui Qi Tay2010-09-292-27/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cliptesting now done at the end of vs in draw_llvm instead of draw_pt_post_vs. Added viewport mapping transformation and further cliptesting to vertex shader in draw_llvm.c Alternative path where vertex header setup, clip coordinates store, cliptesting and viewport mapping are done earlier in the vertex shader. Still need to hook this up properly according to the return value of "draw_llvm_shader" function.
* | gallivm: fix incorrect type for zero vector in emit_kilp()Brian Paul2010-10-191-1/+2
| | | | | | | | http://bugs.freedesktop.org/show_bug.cgi?id=30974
* | gallivm: Add a note about SSE4.1's nearest mode rounding.José Fonseca2010-10-181-0/+6
| |
* | gallivm: Comment lp_build_insert_new_block().José Fonseca2010-10-171-0/+8
| |
* | gallivm: Fix SoA cubemap derivative computation.José Fonseca2010-10-171-4/+4
| | | | | | | | | | | | Derivatives are now scalar. Broken since 17dbd41cf23e7e7de2f27e5e9252d7f792d932f3.
* | gallivm: use util_snprintf()Brian Paul2010-10-151-1/+2
| |
* | gallivm: added lp_build_load_volatile()Brian Paul2010-10-152-0/+16
| | | | | | | | | | There's no LLVM C LLVMBuildLoadVolatile() function so roll our own. Not used anywhere at this time but can come in handy during debugging.
* | gallivm: added lp_build_print_vec4()Brian Paul2010-10-152-0/+24
| |
* | target-helpers: Remove per target software wrapper checkJakob Bornecrantz2010-10-152-18/+33
| | | | | | | | | | Instead of having a NAME_SOFTWARE check just use the GALLIUM_DRIVER instead but set the default to native which is the same as not wrapped.
* | wrapper: Add a way to dewrap a pipe screen without destroying itJakob Bornecrantz2010-10-151-2/+2
| |
* | wrapper: Fix spellingJakob Bornecrantz2010-10-151-1/+1
| |
* | gallium: move some intrinsics helpers to u_sse.hKeith Whitwell2010-10-151-0/+74
| |
* | tgsi: add scanner support for centroid inputsDave Airlie2010-10-152-0/+2
| |
* | gallivm: add compile-time option to emit inst addrs and/or line numbersBrian Paul2010-10-141-3/+10
| | | | | | | | Disabling address printing is helpful for diffing.
* | gallivm: More accurate float -> 24bit & 32bit unorm conversion.José Fonseca2010-10-131-40/+86
| |
* | gallivm: work-around trilinear mipmap filtering regression with LLVM 2.8Brian Paul2010-10-131-0/+20
| | | | | | | | The bug only happens on the AOS / fixed-pt path.
* | gallivm: Remove unnecessary header.Vinson Lee2010-10-131-1/+0
| |
* | gallivm: only use lp_build_conv 4x4f -> 1x16 ub fastpath with sse2Roland Scheidegger2010-10-131-19/+5
| | | | | | | | | | | | | | | | This is relying on lp_build_pack2 using the sse2 pack intrinsics which handle clamping. (Alternatively could have make it use lp_build_packs2 but it might not even produce more efficient code than not using the fastpath in the first place.)
* | draw/llvmpipe: replace DRAW_MAX_TEXTURE_LEVELS with PIPE_MAX_TEXTURE_LEVELSBrian Paul2010-10-124-20/+18
| | | | | | | | | | There's no apparent reason for the former to exist. And they didn't even have the same value.
* | gallivm: remove newlinesBrian Paul2010-10-121-2/+0
| |
* | gallivm: fix different handling of [non]normalized coords in linear soa pathRoland Scheidegger2010-10-131-16/+6
| | | | | | | | | | There seems to be no reason for it, so do same math for both (except the scale mul, of course).
* | gallium/util: add S8 tile sampling support.Dave Airlie2010-10-131-0/+27
| |
* | gallium/format: add X32_S8X24_USCALED format.Dave Airlie2010-10-133-0/+27
| | | | | | | | Has similiar use cases to the S8X24 and X24S8 formats.
* | gallium/format: add support for X24S8 and S8X24 formats.Dave Airlie2010-10-134-0/+102
| | | | | | | | | | | | these formats are needed for hw that can sample and write stencil values. Signed-off-by: Dave Airlie <[email protected]>
* | gallium/tgsi: add support for stencil writes.Dave Airlie2010-10-133-4/+8
| | | | | | | | | | | | this adds the capability + a stencil semantic id, + tgsi scan support. Signed-off-by: Dave Airlie <[email protected]>
* | gallivm: Name anonymous union.José Fonseca2010-10-122-7/+7
| |
* | gallivm: don't branch on KILLs near end of shaderKeith Whitwell2010-10-121-10/+47
| |
* | gallium: move sse intrinsics debug helpers to u_sse.hKeith Whitwell2010-10-121-1/+79
| |
* | gallivm: More detailed analysis of tgsi shaders.José Fonseca2010-10-114-0/+559
| | | | | | | | To allow more optimizations, in particular for direct textures.
* | tgsi: Export some names for some tgsi enums.José Fonseca2010-10-112-23/+35
| | | | | | | | Useful to give human legible names in other cases.
* | gallivm: Eliminate unsigned integer arithmetic from texture coordinates.José Fonseca2010-10-113-42/+32
| | | | | | | | | | | | | | | | | | | | | | SSE support for 32bit and 16bit unsigned arithmetic is not complete, and can easily result in inefficient code. In most cases signed/unsigned doesn't make a difference, such as for integer texture coordinates. So remove uint_coord_type and uint_coord_bld to avoid inefficient operations to sneak in the future.
* | gallivm: Pass texture coords derivates as scalars.José Fonseca2010-10-104-26/+38
| | | | | | | | | | We end up treating them as scalars in the end, and it saves some instructions.
* | gallivm: Use variables instead of Phis in loops.José Fonseca2010-10-102-42/+23
| | | | | | | | With this commit all explicit Phi emission is now gone.
* | gallivm: Allow to disable bri-linear filtering with ↵José Fonseca2010-10-103-9/+10
| | | | | | | | GALLIVM_DEBUG=no_brilinear runtime option
* | gallivm: Fix a long standing bug with nested if-then-else emission.José Fonseca2010-10-101-17/+6
| | | | | | | | | | | | | | | | | | | | | | | | We can't patch true-block at end-if time, as there is no guarantee that the block at the beginning of the true stanza is the same at the end of the true stanza -- other control flow elements may have been emitted half way the true stanza. Although this bug surfaced recently with the commit to skip mip filtering when lod is an integer the bug was always there, although probably it was avoided until now: e.g., cubemap selection nests if-then-else on the else stanza, which does not suffer from the same problem.
* | gallivm: Cleanup the rest of the flow module.José Fonseca2010-10-092-201/+37
| |