summaryrefslogtreecommitdiffstats
path: root/progs/util/shaderutil.c
Commit message (Collapse)AuthorAgeFilesLines
* progs/util: Fix memory leak if fail to load/compile shaderVinson Lee2009-12-041-0/+2
| | | | | Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit c475079ef2d901ba4506ebd53e19419cd46793ab)
* shaderutil: Fix detection of shadersIan Romanick2009-11-231-2/+6
| | | | | Check for versions >= 2.0 (because some drivers return 3.0), and return GL_FALSE if shaders are not detected.
* progs/util: added ValidateShaderProgram() to shaderutil.cBrian Paul2009-08-251-0/+20
|
* progs/util: added GetShaderCompile/LinkTime() to get compilation/link timesBrian Paul2009-08-201-0/+33
|
* progs/util: ignore pre-defined uniforms in SetUniformValues()Brian Paul2009-08-131-1/+8
|
* progs/glsl: change uniform_info::type field to use GLSL vector typesBrian Paul2009-08-121-92/+15
|
* demos: rename InitUniforms() to SetUniformValues()Brian Paul2009-08-121-1/+1
| | | | And call new PrintUniforms() in demos.
* progs/util: added more shader utility functionsBrian Paul2009-08-121-18/+179
|
* progs/util: remove extfuncs.h (we use GLEW instead)mesa_7_5Brian Paul2009-07-171-19/+17
|
* progs/util: make sure function pointers are initializedKeith Whitwell2009-06-301-1/+6
| | | | | Call Init() from CompileShaderFile, was previously only called for the Text version of this function.
* util: check for frag/vertShader=0 before attachingBrian Paul2008-12-171-2/+7
|
* print err msg if unable to open shader fileBrian Paul2008-11-041-0/+1
|
* added test for ARB GLSL extensionsCorbin Simpson2008-08-161-6/+9
|
* shader utility functionsBrian2008-04-091-0/+159