[Mesa-dev] [PATCH 08/11] intel/tools/error: Save error state sections and decode them later.

Chris Wilson chris at chris-wilson.co.uk
Sun Nov 12 11:19:53 UTC 2017


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 <chris at chris-wilson.co.uk>
-Chris


More information about the mesa-dev mailing list