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

Clarify errors for glSpecializeShader #129

Merged
merged 1 commit into from
Nov 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions extensions/ARB/ARB_gl_spirv.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Status

Version

Last Modified Date: 25-Oct-2017
Revision: 35
Last Modified Date: 15-Nov-2017
Revision: 36

Number

Expand Down Expand Up @@ -535,8 +535,13 @@ Modifications to Chapter 7 of the OpenGL 4.5 (Core Profile) Specification
for <shader> is not TRUE, or if the shader has already been
specialized.

INVALID_VALUE is generated if <pEntryPoint> does not name a valid
entry point for <shader>.
INVALID_VALUE is generated if <pEntryPoint> does not match the
<Name> of any OpEntryPoint declaration in the SPIR-V module
associated with <shader>.

INVALID_OPERATION is generated if the <Execution Mode> of the
OpEntryPoint indicated by <pEntryPoint> does not match the type
of <shader>.

INVALID_VALUE is generated if any element of <pConstantIndex>
refers to a specialization constant that does not exist in the
Expand Down Expand Up @@ -2012,6 +2017,9 @@ Revision History

Rev. Date Author Changes
---- ----------- ------------ ---------------------------------
36 15-Nov-2017 dkoch clarify error for glSpecializeShader
and add new error if shader types
mismatch (OpenGL-API/issues/16)
35 25-Oct-2017 JohnK remove the already deprecated noise
functions
34 29-May-2017 dkoch Fix typos. RuntimeArrays are only
Expand Down