Misleading error message on AMD GLSL compiler

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.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.