Assign state changes on shader bind