aboutsummaryrefslogtreecommitdiff
path: root/mesalib/progs/util/shaderutil.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-11-22 19:42:40 +0000
committermarha <marha@users.sourceforge.net>2010-11-22 19:42:40 +0000
commit85ef9930f56bf15181f9a0b238f03d55303cf411 (patch)
tree63b43286956ebd1c35c96e9b3d5305aabdf71a0f /mesalib/progs/util/shaderutil.h
parent94810d19989336862251dbf69c3f3acb18a9b06d (diff)
downloadvcxsrv-85ef9930f56bf15181f9a0b238f03d55303cf411.tar.gz
vcxsrv-85ef9930f56bf15181f9a0b238f03d55303cf411.tar.bz2
vcxsrv-85ef9930f56bf15181f9a0b238f03d55303cf411.zip
Updated to mesalib 7.9
Diffstat (limited to 'mesalib/progs/util/shaderutil.h')
-rw-r--r--mesalib/progs/util/shaderutil.h63
1 files changed, 0 insertions, 63 deletions
diff --git a/mesalib/progs/util/shaderutil.h b/mesalib/progs/util/shaderutil.h
deleted file mode 100644
index 98c718115..000000000
--- a/mesalib/progs/util/shaderutil.h
+++ /dev/null
@@ -1,63 +0,0 @@
-#ifndef SHADER_UTIL_H
-#define SHADER_UTIL_H
-
-
-
-struct uniform_info
-{
- const char *name;
- GLuint size; /**< number of value[] elements: 1, 2, 3 or 4 */
- GLenum type; /**< GL_FLOAT, GL_FLOAT_VEC4, GL_INT, etc */
- GLfloat value[4];
- GLint location; /**< filled in by InitUniforms() */
-};
-
-#define END_OF_UNIFORMS { NULL, 0, GL_NONE, { 0, 0, 0, 0 }, -1 }
-
-
-struct attrib_info
-{
- const char *name;
- GLuint size; /**< number of value[] elements: 1, 2, 3 or 4 */
- GLenum type; /**< GL_FLOAT, GL_FLOAT_VEC4, GL_INT, etc */
- GLint location;
-};
-
-
-extern GLboolean
-ShadersSupported(void);
-
-extern GLuint
-CompileShaderText(GLenum shaderType, const char *text);
-
-extern GLuint
-CompileShaderFile(GLenum shaderType, const char *filename);
-
-extern GLuint
-LinkShaders(GLuint vertShader, GLuint fragShader);
-
-extern GLboolean
-ValidateShaderProgram(GLuint program);
-
-extern GLdouble
-GetShaderCompileTime(void);
-
-extern GLdouble
-GetShaderLinkTime(void);
-
-extern void
-SetUniformValues(GLuint program, struct uniform_info uniforms[]);
-
-extern GLuint
-GetUniforms(GLuint program, struct uniform_info uniforms[]);
-
-extern void
-PrintUniforms(const struct uniform_info uniforms[]);
-
-extern GLuint
-GetAttribs(GLuint program, struct attrib_info attribs[]);
-
-extern void
-PrintAttribs(const struct attrib_info attribs[]);
-
-#endif /* SHADER_UTIL_H */