More texture optimizations.