Improve uniform binding performance.