diff options
author | Brian Paul <[email protected]> | 2006-11-03 20:25:44 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-11-03 20:25:44 +0000 |
commit | c64a06291817d8667eddc538abdbf5de2f011961 (patch) | |
tree | 4546eb3e260e0d7570a63d8723d2c5359786aa93 /src/mesa/main | |
parent | 39cc8e8a0676dea4409ac530c64d754ce4fd6def (diff) |
plug in 2.0, 2.1 functions
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/state.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index de513926de5..e62fbe47d15 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -376,6 +376,32 @@ _mesa_init_exec_table(struct _glapi_table *exec) SET_StencilFuncSeparate(exec, _mesa_StencilFuncSeparate); SET_StencilMaskSeparate(exec, _mesa_StencilMaskSeparate); SET_StencilOpSeparate(exec, _mesa_StencilOpSeparate); +#if FEATURE_ARB_shader_objects + SET_AttachShader(exec, _mesa_AttachShader); + SET_CreateProgram(exec, _mesa_CreateProgram); + SET_CreateShader(exec, _mesa_CreateShader); + SET_DeleteProgram(exec, _mesa_DeleteProgram); + SET_DeleteShader(exec, _mesa_DeleteShader); + SET_DetachShader(exec, _mesa_DetachShader); + SET_GetAttachedShaders(exec, _mesa_GetAttachedShaders); + SET_GetProgramiv(exec, _mesa_GetProgramiv); + SET_GetProgramInfoLog(exec, _mesa_GetProgramInfoLog); + SET_GetShaderiv(exec, _mesa_GetShaderiv); + SET_GetShaderInfoLog(exec, _mesa_GetShaderInfoLog); + SET_IsProgram(exec, _mesa_IsProgram); + SET_IsShader(exec, _mesa_IsShader); +#endif + + /* OpenGL 2.1 */ +#if FEATURE_ARB_shader_objects + SET_UniformMatrix2x3fv(exec, _mesa_UniformMatrix2x3fv); + SET_UniformMatrix3x2fv(exec, _mesa_UniformMatrix3x2fv); + SET_UniformMatrix2x4fv(exec, _mesa_UniformMatrix2x4fv); + SET_UniformMatrix4x2fv(exec, _mesa_UniformMatrix4x2fv); + SET_UniformMatrix3x4fv(exec, _mesa_UniformMatrix3x4fv); + SET_UniformMatrix4x3fv(exec, _mesa_UniformMatrix4x3fv); +#endif + /* 2. GL_EXT_blend_color */ #if 0 |