by Uvix · 1y ago · 0 comments
The shader stutter issues are non-existent on console because consoles have one architecture and you can ship shaders as compiled machine code. For PC you don't know what architecture you will be targeting, so you ship some form of bytecode that needs to be compiled on the target machine.
The issue is that, because of monolithic pipelines, you have to provide the exact state the shaders will be used in. There's a lot of that, and a large part of it depends on user authored content, which makes it really hard to figure out in advance.
It's a fundamental design mistake in D3D12/Vulkan that is slowly being corrected, but it will take some time (and even more for game engines to catch up).
Just a quick search,
https://www.gamesradar.com/games/the-ps5-stutter-issue-is-re...
https://forums.flightsimulator.com/t/stutters-on-xbox-series...
Can't do that for PC so you either have long first runs or stutter for JIT shader compiles.