summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-21 11:40:33 -0600
committerBrian Paul <[email protected]>2009-08-21 11:40:33 -0600
commit4e5c385d2183e7006c9d7ac0823919156bd4b8e6 (patch)
tree383b389ee7567b475a6167669e63e7204fe90d68
parent4fc7d0345a18042a79686940fb7cc4e698cc9192 (diff)
softpipe: fix s/t/p typos
-rw-r--r--src/gallium/drivers/softpipe/sp_tex_sample.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c
index 7bc689a298f..a6267311052 100644
--- a/src/gallium/drivers/softpipe/sp_tex_sample.c
+++ b/src/gallium/drivers/softpipe/sp_tex_sample.c
@@ -990,7 +990,7 @@ img_filter_2d_linear(struct tgsi_sampler *tgsi_sampler,
assert(width > 0);
samp->linear_texcoord_s(s, width, x0, x1, xw);
- samp->linear_texcoord_s(t, height, y0, y1, yw);
+ samp->linear_texcoord_t(t, height, y0, y1, yw);
for (j = 0; j < QUAD_SIZE; j++) {
float tx[4][4]; /* texels */
@@ -1035,8 +1035,8 @@ img_filter_3d_linear(struct tgsi_sampler *tgsi_sampler,
assert(depth > 0);
samp->linear_texcoord_s(s, width, x0, x1, xw);
- samp->linear_texcoord_s(t, height, y0, y1, yw);
- samp->linear_texcoord_s(p, depth, z0, z1, zw);
+ samp->linear_texcoord_t(t, height, y0, y1, yw);
+ samp->linear_texcoord_p(p, depth, z0, z1, zw);
for (j = 0; j < QUAD_SIZE; j++) {
float tx0[4][4], tx1[4][4];