Skip to content

Conversation

@teoxoy
Copy link
Member

@teoxoy teoxoy commented Dec 12, 2025

Connections
Fixes #8038.

Description
Removes some duplicate code from the RenderBundleEncoder by using the Binder (used by the other 2 pass encoders).

Testing
Enabled more tests.

Squash or Rebase?
Rebase.

@teoxoy teoxoy changed the title Validation Use Binder in RenderBundleEncoder.finish Dec 12, 2025
@andyleiserson
Copy link
Contributor

I had written a comment with my review that GitHub seems to have helpfully eaten. I think my main question was, is it worth cross-referencing is_ready and/or flush_bindings with the similar functions for render passes.

Otherwise, looks good, it is nice to get this cleaned up a bit.

@teoxoy
Copy link
Member Author

teoxoy commented Dec 16, 2025

I added some commentary on the 2 items mentioning the long term vision of all those being deduplicated.

@teoxoy teoxoy merged commit 61f08ed into gfx-rs:trunk Dec 16, 2025
47 checks passed
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.

BGL resource type mismatches not handled correctly for render bundles

2 participants