summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_quad.h
diff options
context:
space:
mode:
authorJames Benton <jbenton@vmware.com>2012-09-13 16:04:42 +0100
committerJosé Fonseca <jfonseca@vmware.com>2012-11-28 19:14:36 +0000
commitfa1b481c09b14e01eca1b3db8e0854033f6dee3d (patch)
tree170810687d31e60041309682e8f923f409174077 /src/gallium/auxiliary/gallivm/lp_bld_quad.h
parent1d3789bccbbcc814fd7b339e9f5b5631e30d9f0e (diff)
downloadexternal_mesa3d-fa1b481c09b14e01eca1b3db8e0854033f6dee3d.zip
external_mesa3d-fa1b481c09b14e01eca1b3db8e0854033f6dee3d.tar.gz
external_mesa3d-fa1b481c09b14e01eca1b3db8e0854033f6dee3d.tar.bz2
llvmpipe: Unswizzled rendering.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_quad.h')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_quad.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_quad.h b/src/gallium/auxiliary/gallivm/lp_bld_quad.h
index be6a1ef..e41f80e 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_quad.h
+++ b/src/gallium/auxiliary/gallivm/lp_bld_quad.h
@@ -88,5 +88,14 @@ LLVMValueRef
lp_build_packed_ddx_ddy_onecoord(struct lp_build_context *bld,
LLVMValueRef a);
+/*
+ * Twiddle from quad format to row format
+ */
+void
+lp_bld_quad_twiddle(struct gallivm_state *gallivm,
+ struct lp_type lp_dst_type,
+ const LLVMValueRef* src,
+ unsigned src_count,
+ LLVMValueRef* dst);
#endif /* LP_BLD_QUAD_H_ */