Add GPU debug labels for render passes

This commit is contained in:
2025-04-09 22:48:38 -07:00
parent 4ccdaea970
commit 698f890500
8 changed files with 60 additions and 0 deletions

View File

@@ -68,6 +68,9 @@ struct RenderPassInfo
RenderPassType type;
RenderPassAttachmentInfo colorAttachments[RENDER_PASS_ATTACHMENT_MAX_COUNT];
RenderPassAttachmentInfo depthAttachment;
#if KRENGINE_DEBUG_GPU_LABELS
char debugLabel[KRENGINE_DEBUG_GPU_LABEL_MAX_LEN];
#endif
bool finalPass;
};