gallivm: added lp_sizeof_llvm_type()
[mesa.git] / src / gallium / auxiliary / gallivm / lp_bld_sample.c
index 195a4953ab15b54b7fe8b282eece505533acdcb5..c7f9b1083b1434bf343759e8621a68e2aba33d03 100644 (file)
@@ -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
  */