| 637 | } |
| 638 | |
| 639 | void HelloVK::setupDebugMessenger() { |
| 640 | if (!enableValidationLayers) { |
| 641 | return; |
| 642 | } |
| 643 | |
| 644 | VkDebugUtilsMessengerCreateInfoEXT createInfo{}; |
| 645 | populateDebugMessengerCreateInfo(createInfo); |
| 646 | |
| 647 | VK_CHECK(CreateDebugUtilsMessengerEXT(instance, &createInfo, nullptr, |
| 648 | &debugMessenger)); |
| 649 | } |
| 650 | |
| 651 | bool HelloVK::checkValidationLayerSupport() { |
| 652 | uint32_t layerCount; |
nothing calls this directly
no test coverage detected