Re: [Mesa-dev] [Mesa-stable] [PATCH 2/6] i965/miptree: Loosen the format check in miptree_match_image

2018-02-28 Thread Jason Ekstrand
On Wed, Feb 28, 2018 at 1:41 PM, Emil Velikov wrote: > Hi Jason, > > On 24 January 2018 at 23:46, 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 s

Re: [Mesa-dev] [Mesa-stable] [PATCH 2/6] i965/miptree: Loosen the format check in miptree_match_image

2018-02-28 Thread Emil Velikov
Hi Jason, On 24 January 2018 at 23:46, 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 s