Pass index of palette entry to GPU