Fix a few compiler warnings and startup/validation issues at runtime (#1193)

* Add error recovery to trianglevulkan13 and fix missing "override" compiler warnings

* Look for vkGetPhysicalDeviceFormatProperties2KHR in hostimagecopy example

* Enable fragmentStoresAndAtomics feature to avoid VVL warning in subpasses example
This commit is contained in:
SRSaunders 2025-03-09 07:48:00 -04:00 committed by GitHub
parent 02ed0eebb3
commit d14be3b787
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 1 deletions

View file

@ -419,7 +419,7 @@ public:
// Get the function pointers required host image copies
vkCopyMemoryToImageEXT = reinterpret_cast<PFN_vkCopyMemoryToImageEXT>(vkGetDeviceProcAddr(device, "vkCopyMemoryToImageEXT"));
vkTransitionImageLayoutEXT = reinterpret_cast<PFN_vkTransitionImageLayoutEXT>(vkGetDeviceProcAddr(device, "vkTransitionImageLayoutEXT"));
vkGetPhysicalDeviceFormatProperties2 = reinterpret_cast<PFN_vkGetPhysicalDeviceFormatProperties2>(vkGetInstanceProcAddr(instance, "vkGetPhysicalDeviceFormatProperties2"));
vkGetPhysicalDeviceFormatProperties2 = reinterpret_cast<PFN_vkGetPhysicalDeviceFormatProperties2>(vkGetInstanceProcAddr(instance, "vkGetPhysicalDeviceFormatProperties2KHR"));
loadAssets();
loadTexture();