Changeset c205c3a in opengl-game for vulkan-utils.cpp


Ignore:
Timestamp:
Nov 15, 2020, 3:18:33 PM (4 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl, master
Children:
78c3045
Parents:
57d43d0
Message:

In VulkanSFMLReference, use the Vulkan SDK version of vulkan.h instead of the one from the SFML repo, switch to the newer debugUtilsMessengerEXT for debugging, and add resources the example code needs for rendering

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vulkan-utils.cpp

    r57d43d0 rc205c3a  
    3939      const VkAllocationCallbacks* pAllocator,
    4040      VkDebugUtilsMessengerEXT* pDebugMessenger) {
    41    auto func = (PFN_vkCreateDebugUtilsMessengerEXT) vkGetInstanceProcAddr(instance, "vkCreateDebugUtilsMessengerEXT");
     41   PFN_vkCreateDebugUtilsMessengerEXT func = (PFN_vkCreateDebugUtilsMessengerEXT) vkGetInstanceProcAddr(instance,
     42      "vkCreateDebugUtilsMessengerEXT");
    4243
    4344   if (func != nullptr) {
     
    5152      VkDebugUtilsMessengerEXT debugMessenger,
    5253      const VkAllocationCallbacks* pAllocator) {
    53    auto func = (PFN_vkDestroyDebugUtilsMessengerEXT) vkGetInstanceProcAddr(instance, "vkDestroyDebugUtilsMessengerEXT");
     54   PFN_vkDestroyDebugUtilsMessengerEXT func = (PFN_vkDestroyDebugUtilsMessengerEXT) vkGetInstanceProcAddr(instance,
     55      "vkDestroyDebugUtilsMessengerEXT");
    5456
    5557   if (func != nullptr) {
Note: See TracChangeset for help on using the changeset viewer.