aco,nir: improve/fix zero texel offset optimization
This fixes a bug in an optimization which removes a texture instruction's offset source if it's zero. It then moves the optimization into NIR.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
This fixes a bug in an optimization which removes a texture instruction's offset source if it's zero. It then moves the optimization into NIR.