Add support for GL_EXT_gpu_program_parameters. Any driver that enables

either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this
extension as well.
This commit is contained in:
Ian Romanick
2006-08-15 16:47:34 +00:00
parent 5208d93a41
commit 8c41c757fe
18 changed files with 549 additions and 180 deletions

View File

@@ -797,6 +797,12 @@ _mesa_init_exec_table(struct _glapi_table *exec)
#if FEATURE_EXT_framebuffer_blit
SET_BlitFramebufferEXT(exec, _mesa_BlitFramebufferEXT);
#endif
/* GL_EXT_gpu_program_parmaeters */
#if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
SET_ProgramEnvParameters4fvEXT(exec, _mesa_ProgramEnvParameters4fvEXT);
SET_ProgramLocalParameters4fvEXT(exec, _mesa_ProgramLocalParameters4fvEXT);
#endif
}