mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 19:40:06 +00:00
14 lines
222 B
GLSL
14 lines
222 B
GLSL
|
#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;
|
||
|
}
|