summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-08-07 20:16:39 -0700
committerCorbin Simpson <[email protected]>2009-08-07 20:50:42 -0700
commit847fcb645c1d0c69617f0cafe8e6410e13f08fa6 (patch)
tree525a20ed0f38dbc22c9179eefcadad826af268b1 /src/gallium/drivers/cell
parentc58133b81ab7c9ee12cac05c4671a87e34708a66 (diff)
gallium: Move minify() to u_math.
minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3
Diffstat (limited to 'src/gallium/drivers/cell')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_texture.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_texture.c b/src/gallium/drivers/cell/ppu/cell_texture.c
index e26594448f0..80418f5aa21 100644
--- a/src/gallium/drivers/cell/ppu/cell_texture.c
+++ b/src/gallium/drivers/cell/ppu/cell_texture.c
@@ -44,13 +44,6 @@
-static unsigned
-minify(unsigned d)
-{
- return MAX2(1, d>>1);
-}
-
-
static void
cell_texture_layout(struct cell_texture *ct)
{