dump_state
Replay a trace up to any call and dump the full pipeline/device state as JSON, enabling state inspection for OpenGL and D3D8/D3D9 like RenderDoc's pipeline view.
Instructions
Replay up to a call and dump the full pipeline/device state as JSON.
The apitrace equivalent of RenderDoc's pipeline view for OpenGL and D3D8/D3D9. DirectDraw and D3D7 traces are capture-only upstream and cannot be replayed for state inspection.
Replay has to run the trace on this machine's GPU up to that call, so it is slow and it can fail on very old games whose resources the driver no longer likes. If it fails, trim_trace to a short range first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | No | ||
| call | Yes | ||
| trace | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||