added shader binding to state manager