|
|
@ -72,10 +72,9 @@ static void SetupVulkan(const char** extensions, uint32_t extensions_count)
|
|
|
|
create_info.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
|
|
|
|
create_info.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
|
|
|
|
create_info.enabledExtensionCount = extensions_count;
|
|
|
|
create_info.enabledExtensionCount = extensions_count;
|
|
|
|
create_info.ppEnabledExtensionNames = extensions;
|
|
|
|
create_info.ppEnabledExtensionNames = extensions;
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef IMGUI_VULKAN_DEBUG_REPORT
|
|
|
|
#ifdef IMGUI_VULKAN_DEBUG_REPORT
|
|
|
|
// Enabling multiple validation layers grouped as LunarG standard validation
|
|
|
|
// Enabling validation layers
|
|
|
|
const char* layers[] = { "VK_LAYER_LUNARG_standard_validation" };
|
|
|
|
const char* layers[] = { "VK_LAYER_KHRONOS_validation" };
|
|
|
|
create_info.enabledLayerCount = 1;
|
|
|
|
create_info.enabledLayerCount = 1;
|
|
|
|
create_info.ppEnabledLayerNames = layers;
|
|
|
|
create_info.ppEnabledLayerNames = layers;
|
|
|
|
|
|
|
|
|
|
|
|