mesa: Introduce a globally-available minify() macro.
authorEric Anholt <eric@anholt.net>
Sat, 13 Apr 2013 08:46:09 +0000 (01:46 -0700)
committerEric Anholt <eric@anholt.net>
Sun, 21 Apr 2013 19:28:04 +0000 (12:28 -0700)
commit47c0b5ecdd14ab5b07e4d3016e8dff7c9c3abb8b
treef2ea5c4e3860d6fd7911b50d4440f3fda6807163
parent1842dd08b83269816fe8eb8f2dcc1252f606fe48
mesa: Introduce a globally-available minify() macro.

This matches u_minify()'s behavior, for consistency.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/i915/i915_tex_layout.c
src/mesa/drivers/dri/i965/brw_tex_layout.c
src/mesa/drivers/dri/intel/intel_tex_layout.c
src/mesa/drivers/dri/intel/intel_tex_layout.h
src/mesa/drivers/dri/nouveau/nouveau_texture.c
src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c
src/mesa/main/macros.h