3 ms·
Not too familiar with either - is MetalSL's compiler much more complicated than SPIR-V's, such that it being in the browser would be onerous?
by glhaynes 10y ago
Not too familiar with either - is MetalSL's compiler much more complicated than SPIR-V's, such that it being in the browser would be onerous?
- flohofwoe 10y agoMetalSL is basically a slightly stripped-down C++ with vector math datatypes and some new annotation keywords, but I think it basically requires a complete C++ compiler (Apple's MetalSL compiler is based on LLVM I think). SPIR-V is a bytecode format with the idea that several shader languages could be compiled into SPIR-V (hopefully also MetalSL).