Must have compatible DXGI formats, which means the formats must be identical or at least from the same type group. For example, a DXGI_FORMAT_R32G32B32_FLOAT texture can be copied to an DXGI_FORMAT_R32G32B32_UINT texture since both of these formats are in the DXGI_FORMAT_R32G32B32_TYPELESS group.
how can I know which formats are compatible or in the same group?
I mean, since in the given example both formats are R32G32B32 but with different type, could also DXGI_FORMAT_D32_FLOAT and DXGI_FORMAT_R32_FLOAT be considered compatible or in the same group? (they are the same type, but one is D32 and the otherone R32).
if they are not, then how could I copy the contents of a DepthBuffer to a normal texture?