summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_tex_sample.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2010-01-07 13:48:41 +0100
committerMichal Krol <[email protected]>2010-01-07 13:48:41 +0100
commit4440428faa82f01b4dfb4be89618be2aaf153abd (patch)
treef52f00c4e06438bb722cc615318103407173a6cc /src/gallium/drivers/softpipe/sp_tex_sample.h
parent4bfe1c955fe679547c8a03119d1681e33593c768 (diff)
gallium: Fix texture sampling with explicit LOD in softpipe.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_tex_sample.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_tex_sample.h3
1 files changed, 2 insertions, 1 deletions
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]);