vkd3d: Allow D3D12_SMALL_RESOURCE_PLACEMENT_ALIGNMENT only when explicitly requested.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia
2019-01-18 10:25:50 +01:00
committed by Alexandre Julliard
parent 8f3db5ecef
commit ec49d3ebd2
2 changed files with 8 additions and 6 deletions

View File

@@ -1085,6 +1085,8 @@ HRESULT d3d12_resource_validate_desc(const D3D12_RESOURCE_DESC *desc)
return E_INVALIDARG;
}
/* FIXME: Validate alignment for textures. */
return S_OK;
}