summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_quad.c
AgeCommit message (Collapse)Author
2010-08-09gallivm: Always use floating-point operators for floating-point typesnobled
This fixes the assert added in LLVM 2.8: assert(getType()->isIntOrIntVectorTy() && "Tried to create an integer operation on a non-integer type!") But it also fixes some subtle bugs, since we should've been doing this since LLVM 2.6 anyway. Includes a modified patch from steckdenis@yahoo.fr for the FNeg instructions in emit_fetch(); thanks for pointing those out. http://bugs.freedesktop.org/29404 http://bugs.freedesktop.org/29407 Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-07-01gallivm: Support extended swizzles in lp_build_swizzle1_aos().José Fonseca
And rename to lp_build_swizzle_aos().
2010-06-03gallivm: Factor out the quad derivative code into a single place. Fix ddy.José Fonseca
For ddy it should be (bottom - top).