Created attachment 90154 [details]
Shader with GLSL messages appended.
When a function is encountered that is not defined, the warning message gives the line and column number as 0 instead of the location of the invalid invocation.
Yep, that's a known bug. The YYLLOC information is not getting propagated through from the parser correctly in this case.
Shouldn't be too hard to fix, but nobody's had time to look into it.
Kevin, would you like to take a look?
Created attachment 90319 [details]
patch, so tiny it is
if nothing wwnt wrong it should find its way on mesa-dev.
(In reply to comment #3)
> if nothing wwnt wrong it should find its way on mesa-dev.
I think something went wrong. Did you use git-send-email? That is the only accepted way to send patches out for review.
Also, if you're going to work on a bug, you should assign it to yourself and change the status to ASSIGNED.
I don't know what happened to Kevin's patch, or if he ever sent it, but Sir Anthony fixed this with five or six patches back in February.