summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderapi.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-06-26 12:21:05 +0200
committerSamuel Pitoiset <[email protected]>2017-06-28 10:25:12 +0200
commit03dc92ad97e737836f5752b8121f04220322ee77 (patch)
tree27600311dcbe90b6ee55556da946cf025cf8c05b /src/mesa/main/shaderapi.h
parentc1782e44d090afb3f3f3bae113832e7175a16fc2 (diff)
mesa: add KHR_no_error support for glCreateShader() and glCreateShaderObjectARB()
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderapi.h')
-rw-r--r--src/mesa/main/shaderapi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/shaderapi.h b/src/mesa/main/shaderapi.h
index 3f6c0ff0cba..ccc38d9f75e 100644
--- a/src/mesa/main/shaderapi.h
+++ b/src/mesa/main/shaderapi.h
@@ -86,6 +86,9 @@ _mesa_CompileShader(GLuint);
extern GLhandleARB GLAPIENTRY
_mesa_CreateProgramObjectARB(void);
+GLhandleARB GLAPIENTRY
+_mesa_CreateShaderObjectARB_no_error(GLenum type);
+
extern GLhandleARB GLAPIENTRY
_mesa_CreateShaderObjectARB(GLenum type);
@@ -164,6 +167,9 @@ _mesa_AttachShader_no_error(GLuint program, GLuint shader);
extern void GLAPIENTRY
_mesa_AttachShader(GLuint program, GLuint shader);
+GLuint GLAPIENTRY
+_mesa_CreateShader_no_error(GLenum);
+
extern GLuint GLAPIENTRY
_mesa_CreateShader(GLenum);