summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/spu/spu_tri.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-04 13:23:07 -0700
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:50:29 +1100
commit4080fef4732078e8861eb0d26d1f6e43aa27dd9e (patch)
tree452b76e99786a0e12b264fc8323d2d698537a827 /src/mesa/pipe/cell/spu/spu_tri.c
parent1bd182889b3dbb2f4c75d18184e7c76a5bfca248 (diff)
Cell: choose bilinear vs. nearest filtering according to sampler state
Diffstat (limited to 'src/mesa/pipe/cell/spu/spu_tri.c')
-rw-r--r--src/mesa/pipe/cell/spu/spu_tri.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/pipe/cell/spu/spu_tri.c b/src/mesa/pipe/cell/spu/spu_tri.c
index c148c75dd6..7b422f71a8 100644
--- a/src/mesa/pipe/cell/spu/spu_tri.c
+++ b/src/mesa/pipe/cell/spu/spu_tri.c
@@ -309,13 +309,13 @@ emit_quad( int x, int y, mask_t mask )
eval_coeff(2, (float) x, (float) y, texcoords);
if (spu_extract(mask, 0))
- spu.ctile.ui[iy][ix] = sample_texture(texcoords[0].v);
+ spu.ctile.ui[iy][ix] = spu.sample_texture(texcoords[0].v);
if (spu_extract(mask, 1))
- spu.ctile.ui[iy][ix+1] = sample_texture(texcoords[1].v);
+ spu.ctile.ui[iy][ix+1] = spu.sample_texture(texcoords[1].v);
if (spu_extract(mask, 2))
- spu.ctile.ui[iy+1][ix] = sample_texture(texcoords[2].v);
+ spu.ctile.ui[iy+1][ix] = spu.sample_texture(texcoords[2].v);
if (spu_extract(mask, 3))
- spu.ctile.ui[iy+1][ix+1] = sample_texture(texcoords[3].v);
+ spu.ctile.ui[iy+1][ix+1] = spu.sample_texture(texcoords[3].v);
}
else {
/* simple shading */