blob: 2c696f97f69d3342d35595f9d6d1baf08653a5f3 [file] [log] [blame]
#version 130
out int fooOut;
void main()
{
int defined = 2;
int undefined;
int fooInt;
defined = fooOut;
fooOut = undefined;
/* Technically at this point fooOut is still undefined. But it was
* initialized that is what the unitialized warning detects in any
* case. "Real undefined" is beyond the scope of what mesa is/should
* detect*/
defined = fooOut;
gl_Position = vec4(1.0);
}