Added support for different RT depth stencil formats.