gfx-rs / gfx

[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
http://gfx-rs.github.io/
Apache License 2.0
5.35k stars 551 forks source link

D3D debug markers #3395

Open krupitskas opened 3 years ago

krupitskas commented 3 years ago

On 3 different API renderdoc capture looks different from the "naming" point of view. 1) Vulkan: Everything as expected, every encoder actually applied name image

2) Dx12 almost nothing named, hard to understand where is necessary draw calls (only buffers are named) image

3) Dx11, I don't know what it that %) image

cwfitzgerald commented 3 years ago

Status report: as of #3427, I have added debug marker events to DX11, but begin/end events cause the timeline to get totally messed up, so are still not enabled. I have also added debug names to everything, some of which work, some of which renderdoc/nsight completely ignore.