summaryrefslogtreecommitdiff
path: root/progs/util/shaderutil.c
AgeCommit message (Collapse)Author
2009-11-30Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick
Conflicts: progs/util/shaderutil.c src/mesa/drivers/dri/r600/r600_context.c src/mesa/main/version.h
2009-11-23shaderutil: Fix detection of shadersIan Romanick
Check for versions >= 2.0 (because some drivers return 3.0), and return GL_FALSE if shaders are not detected.
2009-11-17progs/util: warn when GLSL not supportedBrian Paul
2009-11-17progs/util: Fix memory leak if fread returns 0 in CompileShaderFile.Vinson Lee
2009-11-03progs/util: Fix memory leak if fail to load/compile shaderVinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-08-25progs/util: added ValidateShaderProgram() to shaderutil.cBrian Paul
2009-08-20progs/util: added GetShaderCompile/LinkTime() to get compilation/link timesBrian Paul
2009-08-13progs/util: ignore pre-defined uniforms in SetUniformValues()Brian Paul
2009-08-12progs/glsl: change uniform_info::type field to use GLSL vector typesBrian Paul
2009-08-12demos: rename InitUniforms() to SetUniformValues()Brian Paul
And call new PrintUniforms() in demos.
2009-08-12progs/util: added more shader utility functionsBrian Paul
2009-07-17progs/util: remove extfuncs.h (we use GLEW instead)Brian Paul
2009-06-30progs/util: make sure function pointers are initializedKeith Whitwell
Call Init() from CompileShaderFile, was previously only called for the Text version of this function.
2008-12-17util: check for frag/vertShader=0 before attachingBrian Paul
2008-11-04print err msg if unable to open shader fileBrian Paul
2008-08-16added test for ARB GLSL extensionsCorbin Simpson
2008-04-09shader utility functionsBrian