Re: [Mesa-dev] [PATCH v13 32/36] i965: Remove scanout restriction from lossless compression

2017-05-22 Thread Pohjolainen, Topi
On Fri, May 19, 2017 at 10:38:15AM +0100, Daniel Stone wrote: > From: Ben Widawsky > > v2: Try to keep the assert as recommended by Topi. This requires > modifying the num_samples check to be <= 1 because internally created > buffers set num_samples = 0. > > v3: Buffers are

[Mesa-dev] [PATCH v13 32/36] i965: Remove scanout restriction from lossless compression

2017-05-19 Thread Daniel Stone
From: Ben Widawsky v2: Try to keep the assert as recommended by Topi. This requires modifying the num_samples check to be <= 1 because internally created buffers set num_samples = 0. v3: Buffers are proactively marked as scanout, often, and so checking is_scanout in whether