[VulkanHpp] changed to "VK_LAYER_KHRONOS_validation" as validation layer (#324)

+ fixed one issue caught by that layer in InputAttachment.
This commit is contained in:
Andreas Süßenbach
2019-04-30 17:03:26 +02:00
committed by Markus Tavenrath
parent 1a7779e75b
commit 39d204839d
3 changed files with 5 additions and 16 deletions

View File

@@ -159,7 +159,7 @@ namespace vk
std::vector<char const*> enabledLayers;
#if !defined(NDEBUG)
// Enable standard validation layer to find as much errors as possible!
enabledLayers.push_back("VK_LAYER_LUNARG_standard_validation");
enabledLayers.push_back("VK_LAYER_KHRONOS_validation");
#endif
std::vector<char const*> enabledExtensions;