You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
device::handle::Bare trait should not be needed. Every time the device needs to access a bare handle, it should do it via self.frame_handles.ref_something() method, thus making sure the resource lives up to the end of the frame.
637: Wait for idle before destroying swapchains r=kvark a=kvark
Follow up to gfx-rs#636
I was trying to address the D3D12 error in gfx-rs#3242
The debug messages complain about a resource being used by the queue while it's being destroyed. I thought forcing a wait there would help, but it does not. I think it's still a good change to land though.
In the meantime, I wonder if it considers the swapchain to be used because it's currently presented. Could be something else I'm missing here.
Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
device::handle::Bare
trait should not be needed. Every time the device needs to access a bare handle, it should do it viaself.frame_handles.ref_something()
method, thus making sure the resource lives up to the end of the frame.This extends #633
The text was updated successfully, but these errors were encountered: