Skip to content

Commit

Permalink
Show render pass types in GPU profiler
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Sep 8, 2022
1 parent 025af5f commit 4b28ff8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Common/GPU/Vulkan/VulkanQueueRunner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ std::string VulkanQueueRunner::StepToString(const VKRStep &step) const {
switch (step.render.renderPassType) {
case RP_TYPE_BACKBUFFER: renderCmd = "BACKBUF"; break;
case RP_TYPE_COLOR_DEPTH: renderCmd = "RENDER"; break;
case RP_TYPE_COLOR_DEPTH_INPUT: renderCmd = "RENDER_INPUT"; break;
default: renderCmd = "N/A";
}
snprintf(buffer, sizeof(buffer), "%s %s (draws: %d, %dx%d/%dx%d, fb: %p, )", renderCmd, step.tag, step.render.numDraws, actual_w, actual_h, w, h, step.render.framebuffer);
Expand Down

0 comments on commit 4b28ff8

Please sign in to comment.