summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-05-13 09:26:17 -0600
committerBrian Paul <brianp@vmware.com>2010-05-13 14:15:44 -0600
commitadc6e73538e33156e9a489dbdae2e4452361bb6b (patch)
tree80497327fec7983c6961ff5305a4cce140a5eef8
parent5b5ce16da533290e605005916a19c8339f283787 (diff)
llvmpipe: additional comments
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_sample.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.c b/src/gallium/auxiliary/gallivm/lp_bld_sample.c
index 195a4953ab1..c7f9b1083b1 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_sample.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.c
@@ -120,10 +120,12 @@ lp_sampler_static_state(struct lp_sampler_static_state *state,
/**
* Gather elements from scatter positions in memory into a single vector.
+ * Use for fetching texels from a texture.
+ * For SSE, typical values are length=4, src_width=32, dst_width=32.
*
- * @param src_width src element width
- * @param dst_width result element width (source will be expanded to fit)
- * @param length length of the offsets,
+ * @param length length of the offsets
+ * @param src_width src element width in bits
+ * @param dst_width result element width in bits (src will be expanded to fit)
* @param base_ptr base pointer, should be a i8 pointer type.
* @param offsets vector with offsets
*/