[PATCH vkd3d 2/4] vkd3d: Fix device features structure chain.

Józef Kucia joseph.kucia at gmail.com
Wed Apr 10 10:31:58 CDT 2019


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

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

diff --git a/libs/vkd3d/device.c b/libs/vkd3d/device.c
index 43c683061f3b..5c0c880d9d25 100644
--- a/libs/vkd3d/device.c
+++ b/libs/vkd3d/device.c
@@ -1583,7 +1583,7 @@ static HRESULT vkd3d_create_vk_device(struct d3d12_device *device,
     depth_clip_features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT;
     memset(&descriptor_indexing_features, 0, sizeof(descriptor_indexing_features));
     descriptor_indexing_features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT;
-    descriptor_indexing_features.pNext = &depth_clip_features.pNext;
+    descriptor_indexing_features.pNext = &depth_clip_features;
     memset(&xfb_features, 0, sizeof(xfb_features));
     xfb_features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT;
     xfb_features.pNext = &descriptor_indexing_features;
-- 
2.21.0




More information about the wine-devel mailing list