diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-02-04 13:23:07 -0700 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-02-15 13:50:29 +1100 |
commit | 4080fef4732078e8861eb0d26d1f6e43aa27dd9e (patch) | |
tree | 452b76e99786a0e12b264fc8323d2d698537a827 /src/mesa/pipe/cell/spu/spu_texture.c | |
parent | 1bd182889b3dbb2f4c75d18184e7c76a5bfca248 (diff) |
Cell: choose bilinear vs. nearest filtering according to sampler state
Diffstat (limited to 'src/mesa/pipe/cell/spu/spu_texture.c')
-rw-r--r-- | src/mesa/pipe/cell/spu/spu_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/cell/spu/spu_texture.c b/src/mesa/pipe/cell/spu/spu_texture.c index 6e243f7fa3..ecacf2ec88 100644 --- a/src/mesa/pipe/cell/spu/spu_texture.c +++ b/src/mesa/pipe/cell/spu/spu_texture.c @@ -131,7 +131,7 @@ get_tex_tile(vector unsigned int ij) * XXX this is extremely primitive for now. */ uint -sample_texture(vector float texcoord) +sample_texture_nearest(vector float texcoord) { vector float tc = spu_mul(texcoord, spu.tex_size); vector unsigned int itc = spu_convtu(tc, 0); /* convert to int */ |