Commit 22c801b0 authored by Eric Anholt's avatar Eric Anholt

Add ARB_shader_objects wrapper for glGetActiveUniform().

Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
Reviewed-by: chadversary's avatarChad Versace <chad@chad-versace.us>
parent 5e8befb3
......@@ -38,6 +38,7 @@ PFNGLCREATEPROGRAMPROC piglit_CreateProgram = NULL;
PFNGLCREATESHADERPROC piglit_CreateShader = NULL;
PFNGLDELETEPROGRAMPROC piglit_DeleteProgram = NULL;
PFNGLDELETESHADERPROC piglit_DeleteShader = NULL;
PFNGLGETACTIVEUNIFORMPROC piglit_GetActiveUniform = NULL;
PFNGLGETPROGRAMINFOLOGPROC piglit_GetProgramInfoLog = NULL;
PFNGLGETPROGRAMIVPROC piglit_GetProgramiv = NULL;
PFNGLGETSHADERINFOLOGPROC piglit_GetShaderInfoLog = NULL;
......@@ -83,6 +84,7 @@ init_functions_from_core(void)
piglit_CreateShader = glCreateShader;
piglit_DeleteProgram = glDeleteProgram;
piglit_DeleteShader = glDeleteShader;
piglit_GetActiveUniform = glGetActiveUniform;
piglit_GetProgramInfoLog = glGetProgramInfoLog;
piglit_GetProgramiv = glGetProgramiv;
piglit_GetShaderInfoLog = glGetShaderInfoLog;
......@@ -131,6 +133,7 @@ init_functions_from_extension(void)
piglit_CreateShader = glCreateShaderObjectARB;
piglit_DeleteProgram = glDeleteObjectARB;
piglit_DeleteShader = glDeleteObjectARB;
piglit_GetActiveUniform = glGetActiveUniformARB;
piglit_GetProgramInfoLog = glGetInfoLogARB;
piglit_GetProgramiv = glGetObjectParameterivARB;
piglit_GetShaderInfoLog = glGetInfoLogARB;
......
......@@ -204,6 +204,7 @@ extern GLint piglit_ARBfp_pass_through;
#define piglit_CreateShader glCreateShader
#define piglit_DeleteProgram glDeleteProgram
#define piglit_DeleteShader glDeleteShader
#define piglit_GetActiveUniform glGetActiveUniform
#define piglit_GetProgramInfoLog glGetProgramInfoLog
#define piglit_GetProgramiv glGetProgramiv
#define piglit_GetShaderInfoLog glGetShaderInfoLog
......@@ -245,6 +246,7 @@ extern PFNGLCREATEPROGRAMPROC piglit_CreateProgram;
extern PFNGLCREATESHADERPROC piglit_CreateShader;
extern PFNGLDELETEPROGRAMPROC piglit_DeleteProgram;
extern PFNGLDELETESHADERPROC piglit_DeleteShader;
extern PFNGLGETACTIVEUNIFORMPROC piglit_GetActiveUniform;
extern PFNGLGETPROGRAMINFOLOGPROC piglit_GetProgramInfoLog;
extern PFNGLGETPROGRAMIVPROC piglit_GetProgramiv;
extern PFNGLGETSHADERINFOLOGPROC piglit_GetShaderInfoLog;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment