Skip to content
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

ARB_gl_spirv mentions variables that don't exist in GLSL #90

Closed
NicolBolas opened this issue Aug 6, 2017 · 1 comment
Closed

ARB_gl_spirv mentions variables that don't exist in GLSL #90

NicolBolas opened this issue Aug 6, 2017 · 1 comment
Labels

Comments

@NicolBolas
Copy link

Specifically, it talks about gl_Vertex/InstanceIndex, rather than gl_Vertex/InstanceID. However much I might wish that we had the former instead of the latter, GLSL sadly does not. Well, except for the KHR_vulkan_glsl variation, but that's a different matter. Indeed, the ARB_gl_spirv extension specifically calls out how GLSL doesn't have these variables in its "Corresponding features not added to GLSL that GL_KHR_vulkan_glsl added" section.

NicolBolas pushed a commit to NicolBolas/OpenGL-Registry that referenced this issue Aug 6, 2017
pdaniell-nv added a commit that referenced this issue Aug 11, 2017
@pdaniell-nv
Copy link
Contributor

Thanks for the fix. Merged and closing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants