diff options
author | Corbin Simpson <[email protected]> | 2009-08-07 20:16:39 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-08-07 20:50:42 -0700 |
commit | 847fcb645c1d0c69617f0cafe8e6410e13f08fa6 (patch) | |
tree | 525a20ed0f38dbc22c9179eefcadad826af268b1 /src/gallium/drivers/cell/ppu | |
parent | c58133b81ab7c9ee12cac05c4671a87e34708a66 (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/ppu')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_texture.c | 7 |
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) { |