[Mesa-stable] [Mesa-dev] [PATCH 1/4] i965/miptree: Loosen the format check in miptree_match_image

Chad Versace chadversary at chromium.org
Fri Nov 10 00:27:53 UTC 2017


On Wed 08 Nov 2017, Jason Ekstrand wrote:
> This function is used to determine when we need to re-allocate a
> miptree.  Since we do nothing different in miptree allocation for
> sRGB vs. linear, loosening this should be safe and may lead to less
> copying and reallocating in some odd cases.
> 
> Cc: "17.3" <mesa-stable at lists.freedesktop.org>
> Cc: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  src/mesa/drivers/dri/i965/intel_mipmap_tree.c  | 6 ++++--
>  src/mesa/drivers/dri/i965/intel_tex.c          | 2 +-
>  src/mesa/drivers/dri/i965/intel_tex_obj.h      | 4 ++--
>  src/mesa/drivers/dri/i965/intel_tex_validate.c | 2 +-
>  4 files changed, 8 insertions(+), 6 deletions(-)

This is on my review queue for this week. I'm still dealing with a sick
family, though, and recovering myself. Maybe tomorrow I'll get to this.


More information about the mesa-stable mailing list