Re: [Mesa-dev] [PATCH 2/5] i965/gen8+: Don't upload the MCS buffer for single-sampled textures

2015-11-26 Thread Pohjolainen, Topi
On Wed, Nov 25, 2015 at 11:01:18AM -0800, Ben Widawsky wrote: > On Wed, Nov 25, 2015 at 06:36:36PM +0100, Neil Roberts wrote: > > For single-sampled textures the MCS buffer is only used to implement > > fast clears. However the surface always needs to be resolved before > > being used as a texture

Re: [Mesa-dev] [PATCH 2/5] i965/gen8+: Don't upload the MCS buffer for single-sampled textures

2015-11-26 Thread Pohjolainen, Topi
On Thu, Nov 26, 2015 at 11:18:34AM +0200, Pohjolainen, Topi wrote: > On Wed, Nov 25, 2015 at 11:01:18AM -0800, Ben Widawsky wrote: > > On Wed, Nov 25, 2015 at 06:36:36PM +0100, Neil Roberts wrote: > > > For single-sampled textures the MCS buffer is only used to implement > > > fast clears. However

Re: [Mesa-dev] [PATCH 2/5] i965/gen8+: Don't upload the MCS buffer for single-sampled textures

2015-11-26 Thread Neil Roberts
> On Thu, Nov 26, 2015 at 11:18:34AM +0200, Pohjolainen, Topi wrote: >> On Wed, Nov 25, 2015 at 11:01:18AM -0800, Ben Widawsky wrote: >> > On Wed, Nov 25, 2015 at 06:36:36PM +0100, Neil Roberts wrote: >> > > For single-sampled textures the MCS buffer is only used to implement >> > > fast clears.

Re: [Mesa-dev] [PATCH 2/5] i965/gen8+: Don't upload the MCS buffer for single-sampled textures

2015-11-26 Thread Pohjolainen, Topi
On Thu, Nov 26, 2015 at 11:39:20AM +0100, Neil Roberts wrote: > > On Thu, Nov 26, 2015 at 11:18:34AM +0200, Pohjolainen, Topi wrote: > >> On Wed, Nov 25, 2015 at 11:01:18AM -0800, Ben Widawsky wrote: > >> > On Wed, Nov 25, 2015 at 06:36:36PM +0100, Neil Roberts wrote: > >> > > For single-sampled

[Mesa-dev] [PATCH 2/5] i965/gen8+: Don't upload the MCS buffer for single-sampled textures

2015-11-25 Thread Neil Roberts
For single-sampled textures the MCS buffer is only used to implement fast clears. However the surface always needs to be resolved before being used as a texture anyway so the the MCS buffer doesn't actually achieve anything. This is important for Gen9 because in that case SRGB surfaces are not

Re: [Mesa-dev] [PATCH 2/5] i965/gen8+: Don't upload the MCS buffer for single-sampled textures

2015-11-25 Thread Ben Widawsky
On Wed, Nov 25, 2015 at 06:36:36PM +0100, Neil Roberts wrote: > For single-sampled textures the MCS buffer is only used to implement > fast clears. However the surface always needs to be resolved before > being used as a texture anyway so the the MCS buffer doesn't actually > achieve anything.