[Mesa-dev] [PATCH v3 1/2] i965/batch: avoid reverting batch buffer if saved state is an empty

andrey simiklit asimiklit.work at gmail.com
Wed Oct 31 10:43:21 UTC 2018


Hello,

On Tue, Oct 30, 2018 at 9:14 PM Kenneth Graunke <kenneth at whitecape.org>
wrote:

> On Friday, October 26, 2018 1:06:52 AM PDT andrey simiklit wrote:
> > Hi,
> >
> > Could you please help me with a push. I don't have a right for it :-)
> >
> > Thanks,
> > Andrii.
>
> Thanks for fixing these up!
>
> While we're here, there are several other variables where we track the
> last known state of the GPU, which can go wrong if we roll back the
> commands that actually set that state:
>
>     We may have rolled back a 3DSTATE_CONSTANT_* emit, so need to set
>
>         brw->*.base.push_constants_dirty = true;
>
>     We may have rolled back a 3DSTATE_URB_* emit, so need to set
>
>         brw->urb.{vghd}size = something that won't match so we re-emit
>
>     We may have rolled back 3DSTATE_DEPTH_BUFFER & friends, so we need
>     to somehow deal with:
>
>         brw->no_depth_or_stencil
>
> There may be more.
>
> Bonus points if you want to fix some of those up. :)  Thanks again!
>
> --Ken
>

Thanks a lot for your advices.
I am going to investigate these issues as soon as complete my current task.

Regards,
Andrii.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181031/3a793668/attachment.html>


More information about the mesa-dev mailing list