bgfx/3rdparty/glsl-optimizer/tests/fragment/pp-basic-in.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

17 lines
223 B
Text

#define FRAGMENT
#ifdef VERTEX
foo bar baz
#endif
#ifdef FRAGMENT
vec4 xlat_main () {
return vec4(1.0);
}
#endif
void main() {
vec4 xl_retval;
xl_retval = xlat_main();
gl_FragData[0] = vec4(xl_retval);
}