Wgpu: Support for object labels

Created on 10 Dec 2019  路  4Comments  路  Source: gfx-rs/wgpu

gfx-hal got support for labels in https://github.com/gfx-rs/gfx/pull/3000 and follow-ups. It doesn't cover all objects, but it's incredibly useful already.

The upstream API has commands for starting/ending a debug region (see insertDebugMarker) and setting the labels on most objects. We need to implement it.

api help wanted enhancement

All 4 comments

Having debug labels and messages for Nsight, RenderDoc, and the like would be pretty awesome. This issue is probably related to #289, but at a lower level of tracing, recording and replay, e.g., using apitrace.

This is mostly done now in the API, just waiting for gfx-hal-0.6, so that we can enable the impl paths and close this.

I totally forgot about this one. We should still do it and release a patch version.

Clients like wgpu-rs are able to use debug labels now, so I think this is complete

Was this page helpful?
0 / 5 - 0 ratings