On 07/02/2013 04:06 PM, Kenneth Graunke wrote:
The texture alignment unit functions are called from brw_tex_layout.c,
so it makes sense to put them there. Since the only caller of
intel_get_texture_alignment_unit() is in brw_tex_layout.c, it could be
made into a static function. However, this patch instead simply folds
it into the caller, as it's only two lines anyway.
Signed-off-by: Kenneth Graunke <kenn...@whitecape.org>
---
src/mesa/drivers/dri/i965/Makefile.sources | 1 -
src/mesa/drivers/dri/i965/brw_tex_layout.c | 105 +++++++++++++++++-
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 1 -
src/mesa/drivers/dri/i965/intel_tex_layout.c | 147 -------------------------
src/mesa/drivers/dri/i965/intel_tex_layout.h | 38 -------
src/mesa/drivers/dri/i965/intel_tex_validate.c | 1 -
6 files changed, 102 insertions(+), 191 deletions(-)
delete mode 100644 src/mesa/drivers/dri/i965/intel_tex_layout.c
delete mode 100644 src/mesa/drivers/dri/i965/intel_tex_layout.h
This mini series is
Reviewed-by: Chad Versace <chad.vers...@linux.intel.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev