#version 330 core

// single line comment

<beginfold id='1'>/*</beginfold id='1'> single line commonet <endfold id='1'>*/</endfold id='1'>

<beginfold id='1'>/*</beginfold id='1'>
 multi line comment
 <endfold id='1'>*/</endfold id='1'>

in ColorFormat <beginfold id='2'>{</beginfold id='2'>
    vec3 color;
<endfold id='2'>}</endfold id='2'> fs_in;

out vec4 fragColor;

vec3 fun(const in vec3 foo) <beginfold id='2'>{</beginfold id='2'>
    foo[2] = foo.x;

    return foo;
<endfold id='2'>}</endfold id='2'>

void main()
<beginfold id='2'>{</beginfold id='2'>
    fragColor = vec4( fs_in.color, 1.0 );
<endfold id='2'>}</endfold id='2'>
