Apply depth stencil state.