bug 1034: invert ordering of lut indices to match xxeval