Skip to content

Performance delta with SER active between GLSL / HLSL / SLANG modes #9

@BattleAxeVR

Description

@BattleAxeVR

Hi, thanks for adding support for Vulkan SER for all the main shader languages! I got it all running and it's helping me tremendously to integrate it into my own HLSL-based engine.

I did some comparisons on my RTX 4090 and was wondering why there is still a significant performance delta between GLSL and HLSL or SLANG shader pipelines. I guess they aren't doing the exact same work, which is fine, but I'd like to see ideally a much closer difference between them, or at least understand why GLSL still appears to benefit from SER significantly more (2x) than HLSL/SLANG do. And has a higher base framerate too, which is less significant but still nearly 10%:

On an RTX 4090:

132 -> 263 FPS WITH SER ON in GLSL

121 -> 191 FPS with SER ON in HLSL

122 -> 195 FPS with SER ON in SLANG

I was careful not to move the cameras because the framerate is highly view-dependent. This is in Release build.

191 vs 263 FPS is still a big performance delta

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions