1bf215546Sopenharmony_ci#version 130 2bf215546Sopenharmony_ci 3bf215546Sopenharmony_cifloat __foo(float x) 4bf215546Sopenharmony_ci{ 5bf215546Sopenharmony_ci return 6.0 * x; 6bf215546Sopenharmony_ci} 7bf215546Sopenharmony_ci 8bf215546Sopenharmony_ci#pragma warning(off) 9bf215546Sopenharmony_cifloat __bar(float x) 10bf215546Sopenharmony_ci{ 11bf215546Sopenharmony_ci return 3.0 * x; 12bf215546Sopenharmony_ci} 13bf215546Sopenharmony_ci#pragma warning(on) 14bf215546Sopenharmony_ci 15bf215546Sopenharmony_cifloat __blat(float x) 16bf215546Sopenharmony_ci{ 17bf215546Sopenharmony_ci return 2.0 * x; 18bf215546Sopenharmony_ci} 19bf215546Sopenharmony_ci 20bf215546Sopenharmony_civoid main() 21bf215546Sopenharmony_ci{ 22bf215546Sopenharmony_ci gl_Position = vec4(__foo(gl_Vertex.x), __bar(gl_Vertex.y), __blat(gl_Vertex.z), 1.0); 23bf215546Sopenharmony_ci} 24bf215546Sopenharmony_ci 25