Re: [Mesa-dev] [PATCH 06/25] anv: Rework the way render target surfaces are allocated

2016-11-09 Thread Jason Ekstrand
On Wed, Nov 9, 2016 at 3:22 PM, Nanley Chery wrote: > On Tue, Nov 08, 2016 at 06:07:41PM -0800, Jason Ekstrand wrote: > > On Tue, Nov 8, 2016 at 5:16 PM, Nanley Chery > wrote: > > > > > On Tue, Nov 08, 2016 at 05:02:29PM -0800, Jason Ekstrand wrote: > > > > On Tue, Nov 8, 2016 at 5:00 PM, Nanley

Re: [Mesa-dev] [PATCH 06/25] anv: Rework the way render target surfaces are allocated

2016-11-09 Thread Nanley Chery
On Tue, Nov 08, 2016 at 06:07:41PM -0800, Jason Ekstrand wrote: > On Tue, Nov 8, 2016 at 5:16 PM, Nanley Chery wrote: > > > On Tue, Nov 08, 2016 at 05:02:29PM -0800, Jason Ekstrand wrote: > > > On Tue, Nov 8, 2016 at 5:00 PM, Nanley Chery > > wrote: > > > > > > > On Tue, Nov 08, 2016 at 04:24:48

Re: [Mesa-dev] [PATCH 06/25] anv: Rework the way render target surfaces are allocated

2016-11-08 Thread Jason Ekstrand
On Tue, Nov 8, 2016 at 5:16 PM, Nanley Chery wrote: > On Tue, Nov 08, 2016 at 05:02:29PM -0800, Jason Ekstrand wrote: > > On Tue, Nov 8, 2016 at 5:00 PM, Nanley Chery > wrote: > > > > > On Tue, Nov 08, 2016 at 04:24:48PM -0800, Jason Ekstrand wrote: > > > > On Tue, Nov 8, 2016 at 3:13 PM, Nanley

Re: [Mesa-dev] [PATCH 06/25] anv: Rework the way render target surfaces are allocated

2016-11-08 Thread Nanley Chery
On Tue, Nov 08, 2016 at 05:02:29PM -0800, Jason Ekstrand wrote: > On Tue, Nov 8, 2016 at 5:00 PM, Nanley Chery wrote: > > > On Tue, Nov 08, 2016 at 04:24:48PM -0800, Jason Ekstrand wrote: > > > On Tue, Nov 8, 2016 at 3:13 PM, Nanley Chery > > wrote: > > > > > > > On Sat, Oct 22, 2016 at 10:50:37

Re: [Mesa-dev] [PATCH 06/25] anv: Rework the way render target surfaces are allocated

2016-11-08 Thread Jason Ekstrand
On Tue, Nov 8, 2016 at 5:00 PM, Nanley Chery wrote: > On Tue, Nov 08, 2016 at 04:24:48PM -0800, Jason Ekstrand wrote: > > On Tue, Nov 8, 2016 at 3:13 PM, Nanley Chery > wrote: > > > > > On Sat, Oct 22, 2016 at 10:50:37AM -0700, Jason Ekstrand wrote: > > > > This commit moves the allocation and f

Re: [Mesa-dev] [PATCH 06/25] anv: Rework the way render target surfaces are allocated

2016-11-08 Thread Nanley Chery
On Tue, Nov 08, 2016 at 04:24:48PM -0800, Jason Ekstrand wrote: > On Tue, Nov 8, 2016 at 3:13 PM, Nanley Chery wrote: > > > On Sat, Oct 22, 2016 at 10:50:37AM -0700, Jason Ekstrand wrote: > > > This commit moves the allocation and filling out of surface state from > > > CreateImageView time to Be

Re: [Mesa-dev] [PATCH 06/25] anv: Rework the way render target surfaces are allocated

2016-11-08 Thread Jason Ekstrand
On Tue, Nov 8, 2016 at 3:13 PM, Nanley Chery wrote: > On Sat, Oct 22, 2016 at 10:50:37AM -0700, Jason Ekstrand wrote: > > This commit moves the allocation and filling out of surface state from > > CreateImageView time to BeginRenderPass time. Instead of allocating the > > render target surface s

Re: [Mesa-dev] [PATCH 06/25] anv: Rework the way render target surfaces are allocated

2016-11-08 Thread Nanley Chery
On Sat, Oct 22, 2016 at 10:50:37AM -0700, Jason Ekstrand wrote: > This commit moves the allocation and filling out of surface state from > CreateImageView time to BeginRenderPass time. Instead of allocating the > render target surface state as part of the image view, we allocate it in > the comman

[Mesa-dev] [PATCH 06/25] anv: Rework the way render target surfaces are allocated

2016-10-22 Thread Jason Ekstrand
This commit moves the allocation and filling out of surface state from CreateImageView time to BeginRenderPass time. Instead of allocating the render target surface state as part of the image view, we allocate it in the command buffer state at the same time that we set up clears. For secondary co