diff options
author | Matt Turner <[email protected]> | 2011-05-09 00:17:01 -0400 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-05-12 16:37:34 -0600 |
commit | c5ac8a8aa2a9fe751453c1fcc8539b7dae5d473c (patch) | |
tree | c8062b45796751933f938bce095d0b9c3667e33a /src/gallium/drivers/softpipe | |
parent | 48a0a096f878d1e627226eae520847063473b17f (diff) |
Remove redundant util_unsigned_logbase2
util_logbase2 is exactly the same function.
Signed-off-by: Matt Turner <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_tex_sample.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c index 02892c16bde..1446aee2aa4 100644 --- a/src/gallium/drivers/softpipe/sp_tex_sample.c +++ b/src/gallium/drivers/softpipe/sp_tex_sample.c @@ -2243,8 +2243,8 @@ sp_sampler_variant_bind_view( struct sp_sampler_variant *samp, samp->view = view; samp->cache = tex_cache; - samp->xpot = util_unsigned_logbase2( texture->width0 ); - samp->ypot = util_unsigned_logbase2( texture->height0 ); + samp->xpot = util_logbase2( texture->width0 ); + samp->ypot = util_logbase2( texture->height0 ); samp->level = view->u.tex.first_level; } |