Get newest slice in 2D texture array

Hi, I created a 2D texture array using Texture3D TOP,how to know which slice is the ‘newest’ slice in the array?I saw this on the wiki,I defined a uniform, but it didn’t work. I don’t know if it’s defined like this.
Thank you!


image