[Mesa-dev] [PATCH 2/2] i965: Move the rest of intel_tex_layout.c into brw_tex_layout.c.

Chad Versace chad.versace at linux.intel.com
Tue Jul 2 16:51:08 PDT 2013


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 <kenneth at 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.versace at linux.intel.com>



More information about the mesa-dev mailing list