Quoting Kenneth Graunke (2017-11-12 08:35:09)
> This lets us complete parsing and storing of each buffer's data before
> we begin decoding the batchbuffer.  This makes it possible to inspect
> the state buffer and program buffer, so we can properly decode any
> indirect state or shader programs.

As I understand the change, you are deferring decode until you have
captured all the buffers. The reason being is that they refer to each
other, and an intelligent decoder will want to be able to interleave the
batch commands with the relevant state from the state buffer.

Makes sense,
Reviewed-by: Chris Wilson <ch...@chris-wilson.co.uk>
-Chris
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to