Problem with expression in kernel: Illegal to use array type as right operand

Discussion created by rick.weber on Dec 15, 2008
Latest reply on Dec 15, 2008 by gaurav.garg

What does this mean? I get it when I try to do this:


float index = indexof(basis).x;

or any other attempt to use a single element of a vector. Another example would be:
float2 a = float2(0.0f, 1.0f);
I didn't have this problem until I upgraded to Brook 1.31.