Re: [Mesa-dev] [PATCH] anv/cmd_buffer: emit binding tables always if push constants are dirty

2018-06-28 Thread Jason Ekstrand
On Thu, Jun 28, 2018 at 3:58 AM, Iago Toral wrote: > On Thu, 2018-06-28 at 08:47 +0200, Iago Toral wrote: > > On Wed, 2018-06-27 at 09:13 -0700, Jason Ekstrand wrote: > > On Wed, Jun 27, 2018 at 2:25 AM, Iago Toral wrote: > > On Tue, 2018-06-26 at 10:59 -0700, Jason Ekstrand wrote: > > On Tue,

Re: [Mesa-dev] [PATCH] anv/cmd_buffer: emit binding tables always if push constants are dirty

2018-06-28 Thread Iago Toral
On Thu, 2018-06-28 at 08:47 +0200, Iago Toral wrote: > On Wed, 2018-06-27 at 09:13 -0700, Jason Ekstrand wrote: > > On Wed, Jun 27, 2018 at 2:25 AM, Iago Toral > > wrote: > > > On Tue, 2018-06-26 at 10:59 -0700, Jason Ekstrand wrote: > > > > On Tue, Jun 26, 2018 at 4:08 AM, Iago Toral Quiroga >

Re: [Mesa-dev] [PATCH] anv/cmd_buffer: emit binding tables always if push constants are dirty

2018-06-28 Thread Iago Toral
On Wed, 2018-06-27 at 09:13 -0700, Jason Ekstrand wrote: > On Wed, Jun 27, 2018 at 2:25 AM, Iago Toral > wrote: > > On Tue, 2018-06-26 at 10:59 -0700, Jason Ekstrand wrote: > > > On Tue, Jun 26, 2018 at 4:08 AM, Iago Toral Quiroga > > a.com> wrote: > > > > Storage images require to patch push

Re: [Mesa-dev] [PATCH] anv/cmd_buffer: emit binding tables always if push constants are dirty

2018-06-27 Thread Jason Ekstrand
On Wed, Jun 27, 2018 at 2:25 AM, Iago Toral wrote: > On Tue, 2018-06-26 at 10:59 -0700, Jason Ekstrand wrote: > > On Tue, Jun 26, 2018 at 4:08 AM, Iago Toral Quiroga > wrote: > > Storage images require to patch push constant stateto work, which happens > during > binding table emision. In the

Re: [Mesa-dev] [PATCH] anv/cmd_buffer: emit binding tables always if push constants are dirty

2018-06-27 Thread Iago Toral
On Tue, 2018-06-26 at 10:59 -0700, Jason Ekstrand wrote: > On Tue, Jun 26, 2018 at 4:08 AM, Iago Toral Quiroga m> wrote: > > Storage images require to patch push constant stateto work, which > > happens during > > > > binding table emision. In the scenario where our pipeline and > > descriptors

Re: [Mesa-dev] [PATCH] anv/cmd_buffer: emit binding tables always if push constants are dirty

2018-06-26 Thread Jason Ekstrand
On Tue, Jun 26, 2018 at 4:08 AM, Iago Toral Quiroga wrote: > Storage images require to patch push constant stateto work, which happens > during > binding table emision. In the scenario where our pipeline and descriptors > are > not dirty, we don't re-emit the binding table, however, if our push

[Mesa-dev] [PATCH] anv/cmd_buffer: emit binding tables always if push constants are dirty

2018-06-26 Thread Iago Toral Quiroga
Storage images require to patch push constant stateto work, which happens during binding table emision. In the scenario where our pipeline and descriptors are not dirty, we don't re-emit the binding table, however, if our push constant state is dirty, we will re-emit the push constant state,