Skip to content

Remove more internal uses of IDs #4#5897

Merged
teoxoy merged 37 commits intogfx-rs:trunkfrom
teoxoy:remove-more-uses-of-ids-4
Jul 2, 2024
Merged

Remove more internal uses of IDs #4#5897
teoxoy merged 37 commits intogfx-rs:trunkfrom
teoxoy:remove-more-uses-of-ids-4

Conversation

@teoxoy
Copy link
Copy Markdown
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
teoxoy added 5 commits July 2, 2024 17:54
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
@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

Development

Successfully merging this pull request may close these issues.

"Internal error" message when forgetting to set bind group Pipeline is not referred to by label in error message

2 participants