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