Optimize texture cache to work better with RGBA textures.