Finally added support for depth and blend states