projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a088e56
)
progs/glsl: call ValidateShaderProgram()
author
Brian Paul
<brianp@vmware.com>
Tue, 25 Aug 2009 23:45:50 +0000
(17:45 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 25 Aug 2009 23:46:11 +0000
(17:46 -0600)
progs/glsl/multitex.c
patch
|
blob
|
history
diff --git
a/progs/glsl/multitex.c
b/progs/glsl/multitex.c
index
6ec9c83
..
bf46fd5
100644
(file)
--- a/
progs/glsl/multitex.c
+++ b/
progs/glsl/multitex.c
@@
-331,6
+331,8
@@
CreateProgram(const char *vertProgFile, const char *fragProgFile,
SetUniformValues(program, uniforms);
PrintUniforms(Uniforms);
+ assert(ValidateShaderProgram(program));
+
VertCoord_attr = glGetAttribLocation(program, "VertCoord");
if (VertCoord_attr > 0) {
/* We want the VertCoord attrib to have position zero so that