OpenGL-API icon indicating copy to clipboard operation
OpenGL-API copied to clipboard

SpecializeShader should require compatible Execution Model, not ExecutionMode

Open zopsicle opened this issue 2 years ago • 1 comments

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.

zopsicle avatar Feb 13 '23 12:02 zopsicle

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.

pdaniell-nv avatar Feb 15 '23 17:02 pdaniell-nv