Module: vkd3d Branch: master Commit: 98689bf33c991ffb60323623eceaee43b58f0065 URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=98689bf33c991ffb60323623...
Author: Józef Kucia jkucia@codeweavers.com Date: Wed Aug 15 13:57:51 2018 +0200
libs/vkd3d: Add fall-through comment to vkd3d_select_memory_type().
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
---
libs/vkd3d/resource.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/libs/vkd3d/resource.c b/libs/vkd3d/resource.c index 1456c4b..44f3233 100644 --- a/libs/vkd3d/resource.c +++ b/libs/vkd3d/resource.c @@ -417,6 +417,7 @@ static unsigned int vkd3d_select_memory_type(struct d3d12_device *device, uint32
case D3D12_HEAP_TYPE_CUSTOM: FIXME("Custom heaps not supported yet.\n"); + /* fall-through */ case D3D12_HEAP_TYPE_UPLOAD: case D3D12_HEAP_TYPE_READBACK: required_flags = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT;