3 ms·
Of course, but that is only for Vulkan, technically it is possible with OpenGL 4.6, but I doubt anyone is bothering with it. It is also the way on most proprie
by pjmlp 2y ago
Of course, but that is only for Vulkan, technically it is possible with OpenGL 4.6, but I doubt anyone is bothering with it.
It is also the way on most proprietary APIs.
Metal and DirectX have dynamic linking, shader libraries, and one thing slang thankfully has, is exactly being a modern modular language, which has been given to Khronos as GLSL successor, alongside the already major adoption HLSL, GLSL is done.
- deleted 2y ago[deleted]
- manchmalscott 2y agoI mean, in my personal projects I've transpiled GLSL into spir-v bytecode for use with OpenGL 4.5, even. Libshaderc has suppported that for years.
- pjmlp 2y agoMaybe using extensions? "Khronos Releases OpenGL 4.6 with SPIR-V Support" https://www.khronos.org/news/press/khronos-releases-opengl-4.6-with-spir-v-support https://www.khronos.org/news/press/khronos-releases-opengl-4... > OpenGL 4.6 adds support for ingesting SPIR-V shaders to the core specification, guaranteeing that SPIR-V shaders will be widely supported by OpenGL implementations
- BearOso 2y ago> Of course, but that is only for Vulkan, technically it is possible with OpenGL 4.6, but I doubt anyone is bothering with it. https://devblogs.microsoft.com/directx/directx-adopting-spir-v/ https://devblogs.microsoft.com/directx/directx-adopting-spir...
- pjmlp 2y agoYes, and what does that change in the context of GLSL?