From ec43b2eb45a1b2e33f328f76624c987484e329f3 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Tue, 4 May 2010 13:51:54 +0100 Subject: gallivm: Proper implementation of TXL opcode. --- src/gallium/drivers/llvmpipe/lp_tex_sample.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/llvmpipe') diff --git a/src/gallium/drivers/llvmpipe/lp_tex_sample.c b/src/gallium/drivers/llvmpipe/lp_tex_sample.c index 3f788e598f..d3a9d39f61 100644 --- a/src/gallium/drivers/llvmpipe/lp_tex_sample.c +++ b/src/gallium/drivers/llvmpipe/lp_tex_sample.c @@ -172,7 +172,8 @@ lp_llvm_sampler_soa_emit_fetch_texel(struct lp_build_sampler_soa *base, const LLVMValueRef *coords, const LLVMValueRef *ddx, const LLVMValueRef *ddy, - LLVMValueRef lodbias, + LLVMValueRef lod_bias, /* optional */ + LLVMValueRef explicit_lod, /* optional */ LLVMValueRef *texel) { struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; @@ -185,7 +186,8 @@ lp_llvm_sampler_soa_emit_fetch_texel(struct lp_build_sampler_soa *base, type, unit, num_coords, coords, - ddx, ddy, lodbias, + ddx, ddy, + lod_bias, explicit_lod, texel); } -- cgit v1.2.3