Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove more internal uses of IDs #4 #5897

Merged
merged 37 commits into from
Jul 2, 2024

Conversation

teoxoy
Copy link
Member

@teoxoy teoxoy commented Jul 2, 2024

This PR has a regression in functionality: Compute/render pass end/finish won't be traced for wgpu users. To be able to completely remove the IDs held inside resources I had to move the tracing code to {compute,render}_pass_end_with_unresolved_commands. I will address this regression in a follow-up PR since it requires more changes to get it working again and this PR has been getting quite large.

Part of #5121.
Fixes #5328.
Fixes #3790.

PR doesn't need to be squashed, each commit builds by itself.

@teoxoy teoxoy requested a review from a team as a code owner July 2, 2024 10:36
@teoxoy teoxoy force-pushed the remove-more-uses-of-ids-4 branch from c74f26a to c3d105a Compare July 2, 2024 10:42
This gets the bind_group_layout_dedup test passing again.
Also removes label from `Element::Error` and slightly refactors ContextError.
The scope is already printed by the Display impl of those errors.
@teoxoy teoxoy force-pushed the remove-more-uses-of-ids-4 branch from c3d105a to f0d6ef9 Compare July 2, 2024 15:55
@teoxoy teoxoy enabled auto-merge (rebase) July 2, 2024 15:59
@teoxoy teoxoy merged commit 69b44c6 into gfx-rs:trunk Jul 2, 2024
25 checks passed
@teoxoy teoxoy deleted the remove-more-uses-of-ids-4 branch July 2, 2024 16:06
@teoxoy teoxoy self-assigned this Jul 15, 2024
torokati44 added a commit to torokati44/ruffle that referenced this pull request Jul 19, 2024
Since wgpu has (temporarily) removed its `trace` feature.
gfx-rs/wgpu#5975
gfx-rs/wgpu#5974
gfx-rs/wgpu#5897
torokati44 added a commit to torokati44/ruffle that referenced this pull request Jul 29, 2024
Since wgpu has (temporarily) removed its `trace` feature.
gfx-rs/wgpu#5975
gfx-rs/wgpu#5974
gfx-rs/wgpu#5897
torokati44 added a commit to torokati44/ruffle that referenced this pull request Jul 31, 2024
Since wgpu has (temporarily) removed its `trace` feature.
gfx-rs/wgpu#5975
gfx-rs/wgpu#5974
gfx-rs/wgpu#5897
torokati44 added a commit to torokati44/ruffle that referenced this pull request Aug 5, 2024
Since wgpu has (temporarily) removed its `trace` feature.
gfx-rs/wgpu#5975
gfx-rs/wgpu#5974
gfx-rs/wgpu#5897
torokati44 added a commit to torokati44/ruffle that referenced this pull request Aug 5, 2024
Since wgpu has (temporarily) removed its `trace` feature.
gfx-rs/wgpu#5975
gfx-rs/wgpu#5974
gfx-rs/wgpu#5897
torokati44 added a commit to torokati44/ruffle that referenced this pull request Aug 5, 2024
Since wgpu has (temporarily) removed its `trace` feature.
gfx-rs/wgpu#5975
gfx-rs/wgpu#5974
gfx-rs/wgpu#5897
torokati44 added a commit to torokati44/ruffle that referenced this pull request Aug 5, 2024
Since wgpu has (temporarily) removed its `trace` feature.
gfx-rs/wgpu#5975
gfx-rs/wgpu#5974
gfx-rs/wgpu#5897
Dinnerbone pushed a commit to ruffle-rs/ruffle that referenced this pull request Aug 6, 2024
Since wgpu has (temporarily) removed its `trace` feature.
gfx-rs/wgpu#5975
gfx-rs/wgpu#5974
gfx-rs/wgpu#5897
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
2 participants