| 402 | &pView); |
| 403 | } |
| 404 | else if (Type == D3D11_RESOURCE_DIMENSION_TEXTURE2D) |
| 405 | { |
| 406 | hr = m_pFunction->CreateDepthStencilView(static_cast<D3D11Texture2D<ABI> *>(pResource)->m_pFunction, pDesc, |
| 407 | &pView); |
| 408 | } |
| 409 | else if (Type == D3D11_RESOURCE_DIMENSION_TEXTURE3D) |
| 410 | { |
| 411 | hr = m_pFunction->CreateDepthStencilView(static_cast<D3D11Texture3D<ABI> *>(pResource)->m_pFunction, pDesc, |
| 412 | &pView); |
| 413 | } |
| 414 | else if (Type == D3D11_RESOURCE_DIMENSION_UNKNOWN) |
| 415 | { |
| 416 | hr = m_pFunction->CreateDepthStencilView(static_cast<D3D11Resource<ABI> *>(pResource)->m_pFunction, pDesc, |
| 417 | &pView); |
| 418 | } |
nothing calls this directly
no outgoing calls
no test coverage detected