Yes, bad use of API shouldn’t be use as reference, but it also increases Valheim (which does not seems to be the best API us ever):
I can confirm, this also brings Valheim from 45 to 70-80 FPS on my machine (4090M, 7945HX) at 1080p Ultra Settings.
Commit here.
They simply added this line op.max_unroll_iterations = 32;, related to NIR shader compilation. Passed to NIR here.
(I stop here, lost track and interest in further investigation)