Re: [Mesa-dev] [PATCH v4 18/18] anv: Predicate fast-clear resolves

2017-07-21 Thread Nanley Chery
On Fri, Jul 21, 2017 at 03:56:05PM -0700, Jason Ekstrand wrote: > On Wed, Jul 19, 2017 at 2:22 PM, Nanley Chery wrote: > > > Image layouts only let us know that an image *may* be fast-cleared. For > > this reason we can end up with redundant resolves. Testing has shown > > that such resolves can

Re: [Mesa-dev] [PATCH v4 18/18] anv: Predicate fast-clear resolves

2017-07-21 Thread Jason Ekstrand
On Wed, Jul 19, 2017 at 2:22 PM, Nanley Chery wrote: > Image layouts only let us know that an image *may* be fast-cleared. For > this reason we can end up with redundant resolves. Testing has shown > that such resolves can measurably hurt performance and that predicating > them can avoid the pena

[Mesa-dev] [PATCH v4 18/18] anv: Predicate fast-clear resolves

2017-07-19 Thread Nanley Chery
Image layouts only let us know that an image *may* be fast-cleared. For this reason we can end up with redundant resolves. Testing has shown that such resolves can measurably hurt performance and that predicating them can avoid the penalty. v2: - Introduce additional resolve state management funct