Skip to content

Debug Performance Regressions on 0.20 VulkanΒ #5756

Open
@guusw

Description

Hey, I recently tried upgrading from 0.19.1 to 0.20 and noticed I get half the performance using vulkan as I did previously.

I did some profiling and noticed all application code is the same except for one vkQueueSubmit taking up 11ms
I suspect something is waiting for an operation to complete which did not happen previously.

It's worth nothing that I perform a readback from a texture, although it happens asynchronously using wgpuBufferMapAsync.

Screenshot 2024-05-30 144610

Below I have provided two renderdoc captures (before/after the upgrade)
The rendered items are identical, the only difference I could notice is some fences at the start of the 0.19 capture
Screenshot 2024-05-30 150928

Let me know if I can provide any other information to help.

renderdoc.7z.zip

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions