From 728741a3bd27a3aaab50393665d25776ad06fcb3 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Tue, 6 Apr 2010 22:49:33 +0100 Subject: gallivm: Fallback to calling util_format_description::fetch_float for any format we can't code LLVM IR directly. --- src/gallium/auxiliary/gallivm/lp_bld_sample.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gallium/auxiliary/gallivm/lp_bld_sample.c') diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.c b/src/gallium/auxiliary/gallivm/lp_bld_sample.c index bb76ad4c6b..0744be6b41 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.c @@ -157,9 +157,10 @@ lp_build_gather(LLVMBuilderRef builder, /** - * Compute the offset of a pixel. + * Compute the offset of a pixel block. * - * x, y, z, y_stride, z_stride are vectors + * x, y, z, y_stride, z_stride are vectors, and they refer to pixel blocks, as + * per format description, and not individual pixels. */ LLVMValueRef lp_build_sample_offset(struct lp_build_context *bld, -- cgit v1.2.3