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

SpecializeShader should require compatible Execution Model, not ExecutionMode #89

Open
zopsicle opened this issue Feb 13, 2023 · 1 comment
Assignees

Comments

@zopsicle
Copy link

In the document The OpenGL® Graphics System: A Specification (Version 4.6 (Core Profile) - May 5, 2022), section 7.2.1 Shader Specialization, the error listing reads:

An INVALID_OPERATION error is generated if the ExecutionMode of the OpEntryPoint indicated by pEntryPoint does not match the type of shader.

This should be Execution Model, not ExecutionMode, as in the SPIR-V specification. While ExecutionMode does exist in SPIR-V, it is something else entirely.

@pdaniell-nv
Copy link

Thanks for spotting this error in the spec. @oddhack we discussed this in the WG meeting today and would like you to make the spec fix indicated above. Specifically the term ExecutionMode should be changed to Execution Model. Thanks.

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

No branches or pull requests

3 participants