News for hackers. Stuff that matters.
Re:WebGPU and the Price of Compiling WGSL by torginus on Tuesday October 07, 2025 @05:21AM (#45501035)
SPIR-V is also a bad format for shaders (according to shader compiler devs):

https://themaister.net/blog/2021/09/05/my-personal-hell-of-t...

The TLDR is SSA erases the structured control flow (like loops), which need to be recovered to support how branching is done on SIMD architectures (enabling/disabling lanes).

There are no comments on this comment yet.