-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenGL compatibility #167
Comments
Interesting, thanks for filing! Do you have any specific use case of OpenGL with SPIRV where Vulkan is not available / appropriate? |
No, I mainly use OpenGL for trying out stuff, as it's easier to setup and iterate for me compared to Vulkan. Combining it with |
Keep in mind that in the future some of the features might require the Vulkan Memory Model. |
and further context, those features will be disabled on non-Vulkan, the same way kernel-mode ops are disabled on shader-mode today. |
Thanks, works perfectly! 🎉 |
OpenGL supports binary SPIR-V shaders as source since 4.6, mostly feature compatible with Vulkan shader requirements.
Right now
rust-gpu
requires theVulkan
memory model which is not support. OpenGL only supports the GLSL450 model.Would be interesting how deep the implementation relays on it. Quickly tweaking the capabilities and extensions towards GLSL results in a binary which can be passed to OpenGL.
(rather a feature request than a bug)
The text was updated successfully, but these errors were encountered: