Tags: flo-th/Vulkan-Loader
Tags
Fix copyright in windows .rc file This commit makes the copyright date to be taken from the day of the build instead of it being hardcoded, which is liable to be out of date. This commit also makes the loader.rc be generated into the build directory rather than the source tree. Because this commit modifies the version info to include the current header version for debug builds, this prevents needing to update the file whenever the headers update.
Handle invalid files & symlinks properly If loader_get_json fails due to the file missing or the file being a stale symlink, it returns VK_ERROR_INITIALIZATION_FAILED which loader_parse_icd_manifest passed upwards. Since the caller of loader_parse_icd_manifest wasn't expecting that error code, it didn't skip the ICD, causing an infinite recusion in EnumInstExtProps due to the call to dlsym("vkEnumerateInstanceExtensionProperties"); This also required changes to callers of loader_get_json which would propagate VK_ERROR_INITIALIZATION failed during layer searching to no longer cause vkCreateInstance to abort if any invalid files were found. Added tests for symlinks as the origin of this bug is due to 'stale' symlinks after driver installers
PreviousNext