summaryrefslogtreecommitdiffstats
path: root/progs/util/shaderutil.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick2009-11-301-1/+5
|\ | | | | | | | | | | | | Conflicts: progs/util/shaderutil.c src/mesa/drivers/dri/r600/r600_context.c src/mesa/main/version.h
| * 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: warn when GLSL not supportedBrian Paul2009-11-171-1/+2
| |
* | progs/util: Fix memory leak if fread returns 0 in CompileShaderFile.Vinson Lee2009-11-171-0/+1
| |
* | progs/util: Fix memory leak if fail to load/compile shaderVinson Lee2009-11-031-0/+2
|/ | | | Signed-off-by: Brian Paul <brianp@vmware.com>
* 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)Brian 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