This shader does not compile with glsl2 and did with the old one
#version 110
void main() {
gl_TexCoord[1] = gl_MultiTexCoord0*2-1;
gl_Position = gl_Vertex;
}
The compiler gives the message:
0:5(38): error: Could not implicitly convert operands to arithmetic operator
0:5(40): error: Operands to arithmetic operators must be numeric
If I change the #version 110 to #version 120 it works
also this works too:
#version 110
void main() {
gl_TexCoord[1] = gl_MultiTexCoord0;
gl_Position = gl_Vertex;
}
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev