[PATCH vkd3d 03/12] libs/vkd3d: Add fall-through comment to vkd3d_select_memory_type().

Józef Kucia joseph.kucia at gmail.com
Wed Aug 15 06:57:51 CDT 2018


From: Józef Kucia <jkucia at codeweavers.com>

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
 libs/vkd3d/resource.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libs/vkd3d/resource.c b/libs/vkd3d/resource.c
index 1456c4b925e7..44f323350056 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;
-- 
2.16.4




More information about the wine-devel mailing list