Use explicit validation layer names on Android (no meta layer available)

This commit is contained in:
saschawillems 2017-03-13 19:24:07 +01:00
parent 418f4e2875
commit 2accf02c1e
2 changed files with 19 additions and 8 deletions

View file

@ -754,7 +754,7 @@ void VulkanExampleBase::initVulkan()
{
// The report flags determine what type of messages for the layers will be displayed
// For validating (debugging) an appplication the error and warning bits should suffice
VkDebugReportFlagsEXT debugReportFlags = VK_DEBUG_REPORT_ERROR_BIT_EXT | VK_DEBUG_REPORT_WARNING_BIT_EXT | VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT;
VkDebugReportFlagsEXT debugReportFlags = VK_DEBUG_REPORT_ERROR_BIT_EXT | VK_DEBUG_REPORT_WARNING_BIT_EXT;
// Additional flags include performance info, loader and layer debug messages, etc.
vks::debug::setupDebugging(instance, debugReportFlags, VK_NULL_HANDLE);
}