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

DX12 Name Corruption #3564

Open
cwfitzgerald opened this issue Jan 5, 2021 · 1 comment
Open

DX12 Name Corruption #3564

cwfitzgerald opened this issue Jan 5, 2021 · 1 comment

Comments

@cwfitzgerald
Copy link
Member

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

@kvark kvark transferred this issue from gfx-rs/wgpu Jan 5, 2021
@tangmi
Copy link
Contributor

tangmi commented Feb 11, 2021

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(...)))?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants