Optimize out redundant buffer binding