mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 20:10:06 +00:00
13 lines
151 B
GLSL
13 lines
151 B
GLSL
|
#version 450
|
||
|
|
||
|
in float inf;
|
||
|
out vec4 outf4;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
if (inf > 2.0)
|
||
|
outf4 = vec4(inf);
|
||
|
else
|
||
|
outf4 = vec4(inf + -.5);
|
||
|
}
|