This is a series of fixes to trace driver/scripts, plus one bug fix to lavapipe, which enabled me to run trace driver with lavapipe , and inspect the state at a given draw call with dump_state.py script.
dump_state.py
/cc @sroland , @brianp , @zmike