Skip to content
Snippets Groups Projects
Commit eebad15d authored by Sven Hesse's avatar Sven Hesse
Browse files

libs/vkd3d: Implement GetCopyableFootprints for DIMENSION_TEXTURE1D.

parent 33536437
No related branches found
No related tags found
No related merge requests found
......@@ -1157,10 +1157,17 @@ static void STDMETHODCALLTYPE d3d12_device_GetCopyableFootprints(ID3D12Device *i
}
break;
case D3D12_RESOURCE_DIMENSION_TEXTURE1D:
if (desc->Height != 1)
{
WARN("1D texture with a height of %u.\n", desc->Height);
return;
}
break;
case D3D12_RESOURCE_DIMENSION_TEXTURE2D:
break;
case D3D12_RESOURCE_DIMENSION_TEXTURE1D:
case D3D12_RESOURCE_DIMENSION_TEXTURE3D:
FIXME("Unhandled resource dimension %#x.\n", desc->Dimension);
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment