aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-03-04 15:52:37 -0700
committerBrian Paul <[email protected]>2010-03-04 15:56:55 -0700
commitad1456a4447bff8a1dac69723663c698d6abbe81 (patch)
tree40903dc1e97d6e1a2f5612d209359c37967623b5 /src
parent877f2356b2ab7caa16beed496f36eca64ee201e1 (diff)
llvmpipe: new comment
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_tex_sample_llvm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_tex_sample_llvm.c b/src/gallium/drivers/llvmpipe/lp_tex_sample_llvm.c
index 2533275dc18..515c9089dd5 100644
--- a/src/gallium/drivers/llvmpipe/lp_tex_sample_llvm.c
+++ b/src/gallium/drivers/llvmpipe/lp_tex_sample_llvm.c
@@ -145,6 +145,10 @@ lp_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler)
}
+/**
+ * Fetch filtered values from texture.
+ * The 'texel' parameter returns four vectors corresponding to R, G, B, A.
+ */
static void
lp_llvm_sampler_soa_emit_fetch_texel(struct lp_build_sampler_soa *base,
LLVMBuilderRef builder,