Re: [Mesa-dev] [PATCH v2 1/4] anv/query: implement multiview interactions

2018-01-18 Thread Iago Toral
On Wed, 2018-01-17 at 13:07 -0800, Jason Ekstrand wrote: > On Wed, Jan 17, 2018 at 1:27 AM, Iago Toral > wrote: > > On Tue, 2018-01-16 at 08:07 -0800, Jason Ekstrand wrote: > > > On Mon, Jan 8, 2018 at 4:57 AM, Iago Toral Quiroga > > .com> wrote: > > > > From the Vulkan spec with KHX extensions:

Re: [Mesa-dev] [PATCH v2 1/4] anv/query: implement multiview interactions

2018-01-18 Thread Jason Ekstrand
On Wed, Jan 17, 2018 at 1:27 AM, Iago Toral wrote: > On Tue, 2018-01-16 at 08:07 -0800, Jason Ekstrand wrote: > > On Mon, Jan 8, 2018 at 4:57 AM, Iago Toral Quiroga > wrote: > > From the Vulkan spec with KHX extensions: > > "If queries are used while executing a render pass instance that has >

Re: [Mesa-dev] [PATCH v2 1/4] anv/query: implement multiview interactions

2018-01-17 Thread Iago Toral
On Tue, 2018-01-16 at 08:07 -0800, Jason Ekstrand wrote: > On Mon, Jan 8, 2018 at 4:57 AM, Iago Toral Quiroga > wrote: > > From the Vulkan spec with KHX extensions: > > > > > > > > "If queries are used while executing a render pass instance that > > has > > > >multiview enabled, the quer

Re: [Mesa-dev] [PATCH v2 1/4] anv/query: implement multiview interactions

2018-01-16 Thread Jason Ekstrand
On Mon, Jan 8, 2018 at 4:57 AM, Iago Toral Quiroga wrote: > From the Vulkan spec with KHX extensions: > > "If queries are used while executing a render pass instance that has >multiview enabled, the query uses N consecutive query indices >in the query pool (starting at query) where N is

Re: [Mesa-dev] [PATCH v2 1/4] anv/query: implement multiview interactions

2018-01-15 Thread Iago Toral
This is still awaiting review. Any takers? On Mon, 2018-01-08 at 13:57 +0100, Iago Toral Quiroga wrote: > From the Vulkan spec with KHX extensions: > > "If queries are used while executing a render pass instance that > has >multiview enabled, the query uses N consecutive query indices >

Re: [Mesa-dev] [PATCH v2 1/4] anv/query: implement multiview interactions

2018-01-08 Thread Iago Toral
Ignore the 1/4 in the subject, that was my mistake, this is a single patch. Iago On Mon, 2018-01-08 at 13:57 +0100, Iago Toral Quiroga wrote: > From the Vulkan spec with KHX extensions: > >   "If queries are used while executing a render pass instance that > has >    multiview enabled, the query

Re: [Mesa-dev] [PATCH v2 1/4] anv/query: implement multiview interactions

2018-01-08 Thread Iago Toral
This version adds the same behavior for vkCmdWriteTimestamp, which has similar interactions with multiview for our case. Iago On Mon, 2018-01-08 at 13:57 +0100, Iago Toral Quiroga wrote: > From the Vulkan spec with KHX extensions: > >   "If queries are used while executing a render pass instance

[Mesa-dev] [PATCH v2 1/4] anv/query: implement multiview interactions

2018-01-08 Thread Iago Toral Quiroga
From the Vulkan spec with KHX extensions: "If queries are used while executing a render pass instance that has multiview enabled, the query uses N consecutive query indices in the query pool (starting at query) where N is the number of bits set in the view mask in the subpass the query