1#version 310 es 2precision mediump float; 3 4float func(float a) 5{ 6 return -a; 7 a = a * -1.0; 8} 9 10void main() 11{ 12 gl_Position.x = func(0.0); 13} 14