problem with 1D texture