This commit is contained in:
Bill Hollings 2017-06-22 14:55:11 -04:00
commit 108cdbc14c
141 changed files with 1065 additions and 2439 deletions

View file

@ -14,6 +14,11 @@ VkResult VulkanExampleBase::createInstance(bool enableValidation)
{
this->settings.validation = enableValidation;
// Validation can also be forced via a define
#if defined(_VALIDATION)
this->settings.validation = true;
#endif
VkApplicationInfo appInfo = {};
appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
appInfo.pApplicationName = name.c_str();