glslang/Test/spv.unit2.frag

14 lines
222 B
GLSL
Raw Normal View History

#version 410
// a different version number makes different id's for the same shared symbol
float a2;
float f;
float bar();
float foo()
{
float h2 = 2 * f;
float g2 = bar();
return h2 + g2 + gl_FragCoord.y;
}