Commit fe41590d authored by Georg Lehmann's avatar Georg Lehmann Committed by Alexandre Julliard

vulkan-1/tests: Enable feature in private data test.

parent cbcfaab5
...@@ -395,6 +395,7 @@ static void test_private_data(VkPhysicalDevice vk_physical_device) ...@@ -395,6 +395,7 @@ static void test_private_data(VkPhysicalDevice vk_physical_device)
{ {
PFN_vkDestroyPrivateDataSlotEXT pfn_vkDestroyPrivateDataSlotEXT; PFN_vkDestroyPrivateDataSlotEXT pfn_vkDestroyPrivateDataSlotEXT;
PFN_vkCreatePrivateDataSlotEXT pfn_vkCreatePrivateDataSlotEXT; PFN_vkCreatePrivateDataSlotEXT pfn_vkCreatePrivateDataSlotEXT;
VkPhysicalDevicePrivateDataFeaturesEXT data_features;
VkPrivateDataSlotCreateInfoEXT data_create_info; VkPrivateDataSlotCreateInfoEXT data_create_info;
PFN_vkGetPrivateDataEXT pfn_vkGetPrivateDataEXT; PFN_vkGetPrivateDataEXT pfn_vkGetPrivateDataEXT;
PFN_vkSetPrivateDataEXT pfn_vkSetPrivateDataEXT; PFN_vkSetPrivateDataEXT pfn_vkSetPrivateDataEXT;
...@@ -407,7 +408,11 @@ static void test_private_data(VkPhysicalDevice vk_physical_device) ...@@ -407,7 +408,11 @@ static void test_private_data(VkPhysicalDevice vk_physical_device)
static const char *ext_name = "VK_EXT_private_data"; static const char *ext_name = "VK_EXT_private_data";
if ((vr = create_device(vk_physical_device, 1, &ext_name, NULL, &vk_device)) < 0) data_features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES_EXT;
data_features.pNext = NULL;
data_features.privateData = VK_TRUE;
if ((vr = create_device(vk_physical_device, 1, &ext_name, &data_features, &vk_device)) < 0)
{ {
skip("Failed to create device with VK_EXT_private_data, VkResult %d.\n", vr); skip("Failed to create device with VK_EXT_private_data, VkResult %d.\n", vr);
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment