summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderapi.h
diff options
context:
space:
mode:
authorGregory Hainaut <gregory.hainaut@gmail.com>2013-05-03 19:44:05 +0200
committerIan Romanick <ian.d.romanick@intel.com>2014-02-21 15:41:02 -0800
commit73b78f9c9f86dd38fb165f4730aeac9519635b07 (patch)
treec180d4f82c8637b908122f954f168ebd7787b1f3 /src/mesa/main/shaderapi.h
parent4d14b190bbaf4d1c56f5c8d2fae3fcddb44cc4c2 (diff)
downloadexternal_mesa3d-73b78f9c9f86dd38fb165f4730aeac9519635b07.zip
external_mesa3d-73b78f9c9f86dd38fb165f4730aeac9519635b07.tar.gz
external_mesa3d-73b78f9c9f86dd38fb165f4730aeac9519635b07.tar.bz2
mesa/sso: Add extension entry points for GL_ARB_separate_shader_objects
Nothings implemented yet but glProgramUniform* which are mostly a copy/paste of the older function glUniform* I create dedicated pipelineobj.[ch] file that will contains function related to the "new" pipeline container object. V2: formatting improvement V3: * indentation fix * Update copyright * Add a comment on ProgramParameteri already present in another extension * Remove TODO, will be readded on correct patch V4 (idr): * Fix dispatch_sanity unit test * Make extension string available in core profiles (instead of just compatibility). * Trivial reformating Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src/mesa/main/shaderapi.h')
-rw-r--r--src/mesa/main/shaderapi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/shaderapi.h b/src/mesa/main/shaderapi.h
index 10f810c..109a802 100644
--- a/src/mesa/main/shaderapi.h
+++ b/src/mesa/main/shaderapi.h
@@ -219,6 +219,11 @@ extern bool
_mesa_validate_shader_target(const struct gl_context *ctx, GLenum type);
+/* GL_ARB_separate_shader_objects */
+extern GLuint GLAPIENTRY
+_mesa_CreateShaderProgramv(GLenum type, GLsizei count,
+ const GLchar* const *strings);
+
#ifdef __cplusplus
}
#endif