diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-13 10:55:08 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-13 16:43:35 -0600 |
commit | 3b07c28dee74c7aa3be5efac8084d610675af291 (patch) | |
tree | 517a06c5b4413166bdfbe3cb9b885a146a1cba43 /src/gallium/drivers/cell/spu/spu_texture.h | |
parent | 734685549ca7dbee78845fdef1d65aceaa729845 (diff) |
cell: do texture sampling/filtering for four pixels at a time.
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_texture.h')
-rw-r--r-- | src/gallium/drivers/cell/spu/spu_texture.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_texture.h b/src/gallium/drivers/cell/spu/spu_texture.h index f7c9738be8..f019e7d8ef 100644 --- a/src/gallium/drivers/cell/spu/spu_texture.h +++ b/src/gallium/drivers/cell/spu/spu_texture.h @@ -40,8 +40,20 @@ extern vector float sample_texture_nearest(uint unit, vector float texcoord); +extern void +sample_texture4_nearest(vector float s, vector float t, + vector float r, vector float q, + uint unit, vector float colors[4]); + + extern vector float sample_texture_bilinear(uint unit, vector float texcoord); +extern void +sample_texture4_bilinear(vector float s, vector float t, + vector float r, vector float q, + uint unit, vector float colors[4]); + + #endif /* SPU_TEXTURE_H */ |