mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
libs/vkd3d: Implement GetCopyableFootprints for DIMENSION_TEXTURE1D.
This commit is contained in:
parent
3353643772
commit
eebad15d62
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user