Repository navigation
Rune c8f2888e: HUD painter follows Rune's device key (#982) - #993
Merged
Merged
Conversation
…vice equality (#982) wgpu compares Devices by id, and each Rune GPU has its own instance whose first device gets the same id as the last one's, so device != f.device never saw a new device. The HUD and the Sounds preview now keep their painter by Frame::device_key, unique per device for the process. Thanks to the #982 reporter for catching it on hardware.
thdxr
added a commit
that referenced
this pull request
Nov 2, 2026
…s rune bump re-resolved it to 0.61.3) (#997)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
wgpu compares
Devices by id (impl_eq_ord_hash_proxy!(CoreDevice => .id)), and every RuneGpuhas its own instance whose first device gets the same id, so thedevice != f.devicecheck from #986 never fired. rune c8f2888e addsFrame::device_key()(a process-unique key per renderer, so per device) and a noop-backend test showing two instances' devices compare equal while their keys differ. hex keys the HUD and Sounds preview painters on it.thanks to the #982 reporter for catching it on hardware. not tested on nvidia here.