Commit 164b7d92 authored by Ian Romanick's avatar Ian Romanick

util: Add wrappers for glUniform[234]iv functions

parent 9cbfbdeb
......@@ -51,6 +51,9 @@ PFNGLUNIFORM2FVPROC piglit_Uniform2fv = NULL;
PFNGLUNIFORM3FVPROC piglit_Uniform3fv = NULL;
PFNGLUNIFORM4FVPROC piglit_Uniform4fv = NULL;
PFNGLUNIFORM1IPROC piglit_Uniform1i = NULL;
PFNGLUNIFORM2IVPROC piglit_Uniform2iv = NULL;
PFNGLUNIFORM3IVPROC piglit_Uniform3iv = NULL;
PFNGLUNIFORM4IVPROC piglit_Uniform4iv = NULL;
PFNGLUNIFORMMATRIX2FVPROC piglit_UniformMatrix2fv = NULL;
PFNGLUNIFORMMATRIX3FVPROC piglit_UniformMatrix3fv = NULL;
PFNGLUNIFORMMATRIX4FVPROC piglit_UniformMatrix4fv = NULL;
......@@ -89,6 +92,9 @@ init_functions_from_core(void)
piglit_Uniform3fv = glUniform3fv;
piglit_Uniform4fv = glUniform4fv;
piglit_Uniform1i = glUniform1i;
piglit_Uniform2iv = glUniform2iv;
piglit_Uniform3iv = glUniform3iv;
piglit_Uniform4iv = glUniform4iv;
piglit_UniformMatrix2fv = glUniformMatrix2fv;
piglit_UniformMatrix3fv = glUniformMatrix3fv;
piglit_UniformMatrix4fv = glUniformMatrix4fv;
......
......@@ -212,6 +212,9 @@ extern GLint piglit_ARBfp_pass_through;
#define piglit_Uniform3fv glUniform3fv
#define piglit_Uniform4fv glUniform4fv
#define piglit_Uniform1i glUniform1i
#define piglit_Uniform2iv glUniform2iv
#define piglit_Uniform3iv glUniform3iv
#define piglit_Uniform4iv glUniform4iv
#define piglit_UniformMatrix2fv glUniformMatrix2fv
#define piglit_UniformMatrix3fv glUniformMatrix3fv
#define piglit_UniformMatrix4fv glUniformMatrix4fv
......@@ -246,6 +249,9 @@ extern PFNGLUNIFORM2FVPROC piglit_Uniform2fv;
extern PFNGLUNIFORM3FVPROC piglit_Uniform3fv;
extern PFNGLUNIFORM4FVPROC piglit_Uniform4fv;
extern PFNGLUNIFORM1IPROC piglit_Uniform1i;
extern PFNGLUNIFORM2IVPROC piglit_Uniform2iv;
extern PFNGLUNIFORM3IVPROC piglit_Uniform3iv;
extern PFNGLUNIFORM4IVPROC piglit_Uniform4iv;
extern PFNGLUNIFORMMATRIX2FVPROC piglit_UniformMatrix2fv;
extern PFNGLUNIFORMMATRIX3FVPROC piglit_UniformMatrix3fv;
extern PFNGLUNIFORMMATRIX4FVPROC piglit_UniformMatrix4fv;
......
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