1// Initializer for reference-type variable "x" must have an lvalue type 2 3float &func(uniform float a[], int i, float f) { 4 float &x = 1.; // a[i]; 5} 6 7