This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

timing renderpass using renderdoc

Hi Forum,

This is in follow up with my previous query about timing drawcall: https://community.arm.com/support-forums/f/graphics-gaming-and-vr-forum/54832/vulkan-app-drawcall-timing/

I experimented with SSAO application, https://github.com/SaschaWillems/Vulkan/tree/master/examples/ssao and trying to understand the timing at renderpass level.

Attached is the timing which shows 4 renderpasses in which the ssao shader is invoked in renderpass 2. The timing of this renderpass 2 looks reasonable.

What I could not understand is why the timing of other render passes is so high. And this seems to be the case for all renderpass with more that 1 drawcall, the timing seems way off.

Could this be a bug in renderdoc or am I missing anything here?

Thank you,

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
EID | Event | Action # | Duration (Microseconds)
-----------------------------------------------------------------------------------------------------------
1 | - vkDeviceWaitIdle(Device 9) | |
2 | - vkDeviceWaitIdle(Device 9) | |
3 | - vkUnmapMemory(Memory 983, (200 bytes)) | |
4 | - vkUnmapMemory(Memory 986, (76 bytes)) | |
5 | - vkQueueWaitIdle(Queue 124) | |
6 | - vkFlushMappedMemoryRanges(Memory 2530, (11200 bytes)) | |
7 | - vkFlushMappedMemoryRanges(Memory 2533, (1860 bytes)) | |
8 | - Coherent Mapped Memory Write(Memory 2530, (11200 bytes)) | |
9 | - Coherent Mapped Memory Write(Memory 2533, (1860 bytes)) | |
10 | - vkQueueSubmit({ { Command Buffer 4845 } }) | |
11 | - => vkQueueSubmit(1)[0]: vkBeginCommandBuffer(Baked Command Buffer 4863) | 1 |
104 | - Colour Pass #1 (3 Targets + Depth) | 1-26 | 97961.00448
12 | \- vkCmdBeginRenderPass(C=Clear, D=Clear, S=Don't Care) | 1 |
13 | - vkCmdSetViewport(0, { { 0.00, 0.00, 2696.00, 1260.00 } }) | |
14 | - vkCmdSetScissor(0, { { { 0, 0 }, { 2696, 1260 } } }) | |
15 | - vkCmdBindPipeline(Graphics Pipeline 1025) | |
16 | - vkCmdBindDescriptorSets(0, { Descriptor Set 1006 }) | |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

0