From 4440428faa82f01b4dfb4be89618be2aaf153abd Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Thu, 7 Jan 2010 13:48:41 +0100 Subject: gallium: Fix texture sampling with explicit LOD in softpipe. --- src/gallium/drivers/softpipe/sp_tex_sample.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/softpipe/sp_tex_sample.h') diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.h b/src/gallium/drivers/softpipe/sp_tex_sample.h index d01b384e858..b6e66c998ae 100644 --- a/src/gallium/drivers/softpipe/sp_tex_sample.h +++ b/src/gallium/drivers/softpipe/sp_tex_sample.h @@ -53,7 +53,8 @@ typedef void (*filter_func)(struct tgsi_sampler *tgsi_sampler, const float s[QUAD_SIZE], const float t[QUAD_SIZE], const float p[QUAD_SIZE], - const float lodbias[QUAD_SIZE], + const float c0[QUAD_SIZE], + enum tgsi_sampler_control control, float rgba[NUM_CHANNELS][QUAD_SIZE]); -- cgit v1.2.3