Commit 69b6a929 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

vulkan-1/tests: Enable VK_VERSION_1_1 as requested by validation layers.

parent 2a56d4e6
......@@ -23,12 +23,15 @@
static VkResult create_instance(uint32_t extension_count,
const char * const *enabled_extensions, VkInstance *vk_instance)
{
VkApplicationInfo app_info = {.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO};
VkInstanceCreateInfo create_info;
app_info.apiVersion = VK_API_VERSION_1_1;
create_info.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
create_info.pNext = NULL;
create_info.flags = 0;
create_info.pApplicationInfo = NULL;
create_info.pApplicationInfo = &app_info;
create_info.enabledLayerCount = 0;
create_info.ppEnabledLayerNames = NULL;
create_info.enabledExtensionCount = extension_count;
......
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