816c1167ce
Avoids certain cases of variance between translation units by forcing every dependent expression of a store to be temporary. Should avoid the major failure cases where invariance matters.
16 lines
142 B
GLSL
16 lines
142 B
GLSL
#version 450
|
|
|
|
invariant gl_Position;
|
|
|
|
vec4 _main()
|
|
{
|
|
return vec4(1.0);
|
|
}
|
|
|
|
void main()
|
|
{
|
|
vec4 _14 = _main();
|
|
gl_Position = _14;
|
|
}
|
|
|