Skip to content

Conversation

@andyleiserson
Copy link
Contributor

Fixes #3911

Check that the debug group stack is empty when an encoder (command or pass) is finished, and check that the debug group stack is not empty when popping a debug group on a command encoder (passes already checked this).

Debug operations are not implemented for render bundles at all, filed #8039 for that.

Testing
Enables CTS tests.

Squash or Rebase? Squash

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 andyleiserson requested review from a team and crowlKats as code owners August 4, 2025 19:14
Copy link
Member

@teoxoy teoxoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@teoxoy teoxoy merged commit 910143d into gfx-rs:trunk Aug 5, 2025
40 checks passed
@andyleiserson andyleiserson deleted the debug-groups branch August 5, 2025 15:23
sharmajai pushed a commit to sharmajai/wgpu that referenced this pull request Oct 12, 2025
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.

wgpu-core should enforce proper nesting of push_debug_group and pop_debug_group

2 participants