nir: Add support for CSE on textures.