Open cwfitzgerald opened 3 years ago
I wasn't able to repro by running rend3/scene-viewer or wgpu-rs/water on my gtx1080.
I noticed ID3D12Object::SetName
returns an HRESULT
, perhaps you can try wrapping all the calls in gfx-backend-dx12
with assert!(winerror::SUCCEEDED(*.SetName(...)))
?
Description
When reporting gfx-rs/wgpu#1129, I noticed that the debug names of most d3d12 objects were totally corrupt, consisting of random characters.
Repro steps
Run any example in the debugger then look at the "Live Object" warnings at the end.
Expected vs observed behavior
Expected: reasonable debug names Observerved: garbage