summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/spu/spu_texture.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-10-13 14:09:54 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-10-13 16:43:36 -0600
commit67425aaa09df9cab76d7cc5c66e9e4595f0ccf40 (patch)
treec734e665431bd05a589a9e7eef0c9763839f5a3f /src/gallium/drivers/cell/spu/spu_texture.h
parentc8fb3682619ea49c5fefdf8b88cdb95eac7478ff (diff)
cell: bilinear texture filtering using integer arithmetic
Fewer float/int conversions involved.
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_texture.h')
-rw-r--r--src/gallium/drivers/cell/spu/spu_texture.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_texture.h b/src/gallium/drivers/cell/spu/spu_texture.h
index d576aed719..38a17deda2 100644
--- a/src/gallium/drivers/cell/spu/spu_texture.h
+++ b/src/gallium/drivers/cell/spu/spu_texture.h
@@ -47,5 +47,10 @@ sample_texture4_bilinear(vector float s, vector float t,
vector float r, vector float q,
uint unit, vector float colors[4]);
+extern void
+sample_texture4_bilinear_2(vector float s, vector float t,
+ vector float r, vector float q,
+ uint unit, vector float colors[4]);
+
#endif /* SPU_TEXTURE_H */