Mesa (softpipe-opt): softpipe: fix s/t/p typos

Brian Paul brianp at kemper.freedesktop.org
Fri Aug 21 17:41:19 UTC 2009


Module: Mesa
Branch: softpipe-opt
Commit: 4e5c385d2183e7006c9d7ac0823919156bd4b8e6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e5c385d2183e7006c9d7ac0823919156bd4b8e6

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Aug 21 11:40:33 2009 -0600

softpipe: fix s/t/p typos

---

 src/gallium/drivers/softpipe/sp_tex_sample.c |    6 +++---
 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 7bc689a..a626731 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];




More information about the mesa-commit mailing list