mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 06:56:40 +00:00
Use correct texture dimension to check for 3D texture copies
This commit is contained in:
@@ -693,7 +693,7 @@ protected:
|
||||
}
|
||||
|
||||
uint32_t baseMip = m_CallbackInfo.targetSubresource.mip;
|
||||
bool copy3d = m_CallbackInfo.targetDesc.Dimension == D3D12_RESOURCE_DIMENSION_TEXTURE3D;
|
||||
bool copy3d = srcDesc.Dimension == D3D12_RESOURCE_DIMENSION_TEXTURE3D;
|
||||
uint32_t baseSlice = m_CallbackInfo.targetSubresource.slice;
|
||||
uint32_t arraySize = m_CallbackInfo.targetDesc.DepthOrArraySize;
|
||||
uint32_t depthIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user