summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_tex_sample.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-14 11:00:35 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-14 11:00:35 -0600
commitb4480285ed5098f1c862690ee105dd46f5e6cd1e (patch)
treee14fd48ec493bca108dc4c1a9221020d30c4d5ee /src/mesa/pipe/softpipe/sp_tex_sample.h
parent9f51e181b1b610c10ee00d52bdcfcf33d0f1f3ed (diff)
tgsi_sampler->get_samples() now operates on a quad (returns 4 colors).
Lambda/level-of-detail is also computed in get_samples() now.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_tex_sample.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_tex_sample.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_tex_sample.h b/src/mesa/pipe/softpipe/sp_tex_sample.h
index 55ae49094b..417752d2d5 100644
--- a/src/mesa/pipe/softpipe/sp_tex_sample.h
+++ b/src/mesa/pipe/softpipe/sp_tex_sample.h
@@ -6,8 +6,11 @@ struct tgsi_sampler;
extern void
-sp_get_sample(struct tgsi_sampler *sampler,
- const GLfloat strq[4], GLfloat lambda, GLfloat rgba[4]);
+sp_get_samples(struct tgsi_sampler *sampler,
+ const GLfloat s[QUAD_SIZE],
+ const GLfloat t[QUAD_SIZE],
+ const GLfloat p[QUAD_SIZE],
+ GLfloat rgba[NUM_CHANNELS][QUAD_SIZE]);
#endif /* SP_TEX_SAMPLE_H */