3 ms·
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-translating-dxil-to-spi
by torginus 1y ago
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-translating-dxil-to-spir-v-part-1/ 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).