Re: [Mesa-dev] [PATCH 1/7] radv/meta: add srgb conversion to end of resolve shader.

2017-05-07 Thread Dave Airlie
On 5 May 2017 at 01:46, Bas Nieuwenhuizen wrote: > Can't we just use a non-SRGB image view into the destination image? > That should save some operations. We could possibly here, but not in the subpass path, which a later patch enables. I wasn't sure it was worth the

Re: [Mesa-dev] [PATCH 1/7] radv/meta: add srgb conversion to end of resolve shader.

2017-05-07 Thread Bas Nieuwenhuizen
This series is Reviewed-by: Bas Nieuwenhuizen On Thu, May 4, 2017 at 5:27 AM, Dave Airlie wrote: > From: Dave Airlie > > If we are resolving into an srgb dest, we need to convert > to linear so the store does the conversion

Re: [Mesa-dev] [PATCH 1/7] radv/meta: add srgb conversion to end of resolve shader.

2017-05-04 Thread Bas Nieuwenhuizen
Can't we just use a non-SRGB image view into the destination image? That should save some operations. On Thu, May 4, 2017 at 5:27 AM, Dave Airlie wrote: > From: Dave Airlie > > If we are resolving into an srgb dest, we need to convert > to linear so the

[Mesa-dev] [PATCH 1/7] radv/meta: add srgb conversion to end of resolve shader.

2017-05-03 Thread Dave Airlie
From: Dave Airlie If we are resolving into an srgb dest, we need to convert to linear so the store does the conversion back. This should fix some wierdness seen when we subresolves hit the compute path. Signed-off-by: Dave Airlie ---