projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: add shader_storage_block_binding() helper
[mesa.git]
/
src
/
mesa
/
main
/
shaderapi.c
diff --git
a/src/mesa/main/shaderapi.c
b/src/mesa/main/shaderapi.c
index 839c7c1931124cb9de9bd6e00d94294f9374eb79..0e46a09e7db1a5d74f06ed3dea93e7e48e554928 100644
(file)
--- a/
src/mesa/main/shaderapi.c
+++ b/
src/mesa/main/shaderapi.c
@@
-1395,6
+1395,14
@@
_mesa_CompileShader(GLuint shaderObj)
}
}
+GLuint GLAPIENTRY
+_mesa_CreateShader_no_error(GLenum type)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ return create_shader(ctx, type);
+}
+
+
GLuint GLAPIENTRY
_mesa_CreateShader(GLenum type)
{
GLuint GLAPIENTRY
_mesa_CreateShader(GLenum type)
{
@@
-1407,6
+1415,14
@@
_mesa_CreateShader(GLenum type)
}
}
+GLhandleARB GLAPIENTRY
+_mesa_CreateShaderObjectARB_no_error(GLenum type)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ return create_shader(ctx, type);
+}
+
+
GLhandleARB GLAPIENTRY
_mesa_CreateShaderObjectARB(GLenum type)
{
GLhandleARB GLAPIENTRY
_mesa_CreateShaderObjectARB(GLenum type)
{