Support for multiple types of constant buffer