Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dlls/win32u/vulkan.c
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,7 @@ static VkResult win32u_vkCreateDevice( VkPhysicalDevice client_physical_device,
unsigned int queue_count, props_count, i;
struct vulkan_device *device;
struct mempool pool = {0};
VkPhysicalDeviceFeatures features = {0};
VkResult res;

if (TRACE_ON(vulkan))
Expand All @@ -915,8 +916,7 @@ static VkResult win32u_vkCreateDevice( VkPhysicalDevice client_physical_device,
device->queues = (void *)(device + 1);
device->queue_props = (void *)(device->queues + queue_count);

{
VkPhysicalDeviceFeatures features = {0};
{
VkPhysicalDeviceFeatures2 *features2;

/* Enable shaderStorageImageWriteWithoutFormat for fshack
Expand All @@ -937,7 +937,7 @@ static VkResult win32u_vkCreateDevice( VkPhysicalDevice client_physical_device,
features.shaderStorageImageWriteWithoutFormat = VK_TRUE;
create_info->pEnabledFeatures = &features;
}
}
}

if (device->extensions.has_VK_WINE_openvr_device_extensions)
{
Expand Down