4 ms·
MetalSL 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++
by flohofwoe 10y ago
MetalSL 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).