-
Notifications
You must be signed in to change notification settings - Fork 5
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 4.6: SPIR-V and shader object type. #16
Comments
I propose replacing the current error:
with the following:
|
PR for extension doc: KhronosGroup/OpenGL-Registry#129 Also filed CTS issue to make sure test for new error is added: https://gitlab.khronos.org/Tracker/vk-gl-cts/issues/852 |
Extension PR was merged. Assigning to @oddhack to incorporate the same change into the next GL 4.6 spec update. |
This will be fixed in the next GL 4.6 spec update, coming soon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you create a shader object, it is passed the shader stage that it works with. But SPIR-V entry points serve the same function: each entry point specifies which shader stage it works with.
So, what happens if there is a mismatch when specializing a shader? That's not explicitly a failure mode of
glSpecializeShader
; it only says that the entry point must be "valid".The text was updated successfully, but these errors were encountered: