1#version 130 2 3void fooFunction(inout float outVar); 4 5out float fooOut; 6 7void main() 8{ 9 float willBeDefined; 10 11 fooFunction(willBeDefined); 12 fooOut = willBeDefined; 13} 14 15