OSDN Git Service

i965: Move the rest of intel_tex_layout.c into brw_tex_layout.c.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 2 Jul 2013 22:53:35 +0000 (15:53 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 3 Jul 2013 17:48:15 +0000 (10:48 -0700)
commit764afc48cf8a762f8c48209ba724103d421f0ac1
tree774a4bd84049ca61f7d03b5c34684390415256c7
parent466aa712b695010371228f6032bbed210ca206b2
i965: Move the rest of intel_tex_layout.c into brw_tex_layout.c.

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 <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_tex_layout.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_tex_layout.c [deleted file]
src/mesa/drivers/dri/i965/intel_tex_layout.h [deleted file]
src/mesa/drivers/dri/i965/intel_tex_validate.c