Enable rendering (texture/buffer/pipeline etc.) DebugLabels in release builds #8640
Labels
😤 annoying
Something in the UI / SDK is annoying to use
🧑💻 dev experience
developer experience (excluding CI)
🏎️ Quick Issue
Can be fixed in a few hours or less
🔺 re_renderer
affects re_renderer itself
Right now we remove all
DebugLabel
from release builds. From experience that's overzealous - they don't cost us a lot, we have nothing to hide and debugging release applications just gets harderWe should still keep around the abstraction in case we change our minds and/or want to disable them on web builds to save a bit on size.
One nasty thing to keep in mind is that debug labels currently affect our gpu resource re-usage: We re-use a texture/buffer if it has the exact same descriptor including the DebugLabel. I suggest we ignore the debug label for that purpose on release builds but keep it in on debug builds with a small annotation indicating that it might have been renamed (it's not possible to change debug labels after the fact unfortunately).
The text was updated successfully, but these errors were encountered: