mesa: Move ROUND_DOWN_TO() macro from i915/i965 to macros.h.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 8 Jul 2013 01:38:38 +0000 (18:38 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 13 Oct 2013 07:10:44 +0000 (00:10 -0700)
commit1a82081db6e57eaa74f852ed8acb391a7f4c2ca6
tree32213973060fe67f5530e6a6c3f16b2c74e95ba7
parent50c9f04c5f5700ac27f8552694d2a2f2ab6fe89f
mesa: Move ROUND_DOWN_TO() macro from i915/i965 to macros.h.

This seems generally useful, so it may as well live in core Mesa.

In fact, the comment for ALIGN() in macros.h actually says to "see also"
ROUND_DOWN_TO, which...was in a driver somewhere.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i915/intel_context.h
src/mesa/main/macros.h