glslang/Test/spv.unit3.frag
2018-08-07 03:16:20 +09:00

16 lines
175 B
GLSL

#version 460
float f;
float h3 = 3.0;
out float cout;
in float cin;
float bar()
{
h3 *= f;
float g3 = 2 * h3;
cout = g3;
return h3 + g3 + gl_FragCoord.y;
}