PDA

View Full Version : Misleading error message on AMD GLSL compiler.



Groovounet
02-28-2011, 05:56 AM
On the following code I have this error:
ERROR: 0:26: error(#132) Syntax error: 'vec4' parse error



22:vec4 textureBilinearLod(
23: in sampler2D Sampler, in vec2 Texcoord, in int Lod)
24:
25: vec4 textureBilinearLodRepeat(
26: in sampler2D Sampler, in vec2 Texcoord, in int Lod);


I guess the error message should be different on identifier line 23 with a "missing ;" type of message.