Re: [Mesa-dev] [v6 05/11] i965: Deferred allocation of mcs for lossless compressed

2016-05-10 Thread Pohjolainen, Topi
On Mon, May 09, 2016 at 10:30:25AM -0700, Ben Widawsky wrote: > On Mon, May 09, 2016 at 10:29:28AM -0700, Ben Widawsky wrote: > > On Fri, May 06, 2016 at 11:38:25AM +0300, Topi Pohjolainen wrote: > > > Until now mcs was associated to single sampled buffers only for > > > fast clear purposes and it

Re: [Mesa-dev] [v6 05/11] i965: Deferred allocation of mcs for lossless compressed

2016-05-09 Thread Ben Widawsky
On Mon, May 09, 2016 at 10:29:28AM -0700, Ben Widawsky wrote: > On Fri, May 06, 2016 at 11:38:25AM +0300, Topi Pohjolainen wrote: > > Until now mcs was associated to single sampled buffers only for > > fast clear purposes and it was therefore the responsibility of the > > clear logic to allocate th

Re: [Mesa-dev] [v6 05/11] i965: Deferred allocation of mcs for lossless compressed

2016-05-09 Thread Ben Widawsky
On Fri, May 06, 2016 at 11:38:25AM +0300, Topi Pohjolainen wrote: > Until now mcs was associated to single sampled buffers only for > fast clear purposes and it was therefore the responsibility of the > clear logic to allocate the aux buffer when needed. Now that normal > 3D render or blorp blit ma

[Mesa-dev] [v6 05/11] i965: Deferred allocation of mcs for lossless compressed

2016-05-06 Thread Topi Pohjolainen
Until now mcs was associated to single sampled buffers only for fast clear purposes and it was therefore the responsibility of the clear logic to allocate the aux buffer when needed. Now that normal 3D render or blorp blit may render with mcs enabled also, they need to prepare the mcs just as well.