Skip to content

Conversation

andyleiserson
Copy link
Contributor

@andyleiserson andyleiserson commented Oct 2, 2025

On top of #8288.

This resolves the duplicate storage of Id and Arc versions of commands when tracing that was introduced by encode-on-finish. It now stores the Arc version only, and uses the pointers from the Arcs as object IDs when tracing. It also overhauls the trace player to play back traces in this format.

This fixes tracing of compute and render passes when encoded using the standard APIs. Tracing of render bundles is still broken.

Testing
TBD. Existing player tests, manual tests, and it would be nice to have an automated test of recording a trace but I don't think we do right now.

Squash or Rebase? TBD, probably rebase.

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy --tests. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.

@andyleiserson
Copy link
Contributor Author

This does have all my latest local changes, but there's still a little work to do to fix the CI failures, and I want to revisit the way that polling and user_closures are handled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants