Skip to content

Debug labels on every render pass - #254

Merged
BenjaFriend merged 2 commits into
mainfrom
feature/render-cost
Nov 17, 2026
Merged

BenjaFriend merged 2 commits into
mainfrom
feature/render-cost

Conversation

@BenjaFriend

Copy link
Copy Markdown
Member

Summary

  • Name each render pass (G-buffer, Lighting, Sky, Debug draw, UI) with Vulkan debug labels, so a RenderDoc or Nsight capture groups the draws by pass instead of one flat list.
  • Turn on VK_EXT_debug_utils in every build except Shipping when the driver has it. Before, it was on only in Debug builds with validation.
  • Phase 0 of the render cost plan. No performance change is expected.

Testing

  • Release build, all 684 CTest tests pass locally.
  • Offscreen render on lavapipe with the Khronos validation layer: no validation errors.
  • Not yet checked on a real GPU in a RenderDoc capture.

🤖 Generated with Claude Code

BenjaFriend and others added 2 commits November 17, 2026 14:24
VK_EXT_debug_utils is now on in every build but Shipping when the driver
has it (it was Debug with validation only). Each subpass records its
commands inside a named label (G-buffer, Lighting, Sky, Debug draw, UI).
Phase 0 of the render cost plan.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@BenjaFriend
BenjaFriend merged commit bef4a2a into main Nov 17, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant