3 ms·
> a modern shading language not stuck being a C dialect SPIR-V allows you to compile from whatever you want, and avoids the hideously complex beast that is C++
by TazeTSchnitzel 7y ago
> a modern shading language not stuck being a C dialect
SPIR-V allows you to compile from whatever you want, and avoids the hideously complex beast that is C++ needing to be part of the browser's API.
- fulafel 7y agoThe track record of industry GPU language development is very poor (arguably even disastrous). I worry that we now just count on nice languages / compilers magically appearing deus ex machina, and we end up not having any. Big multiplatform frameworks like Unity will just put a SPIR-V backend on their existing tooling. The rest of us will be stuck with POC-quality GLSL transpiler tools, without the browser devtools and other tooling support that we slowly got over the ~10 years of WebGL history. (I'm not saying GLSL is that excellent, just that could be heading backwards from current almost-good-enough GLSL implementation quality in WebGL.)
- pjmlp 7y agoYou already see this with Vulkan, where many studios opt for middleware engines instead of having to deal with all boilerplate themselves. You see this on Android and Switch, where most Vulkan related stuff, is based on Unreal and Unity tutorials.
- deleted 7y ago[deleted]