From da7c7db28d36f66dff88f00412dceb480ccc77ea Mon Sep 17 00:00:00 2001 From: Luis Jose-Romero Date: Fri, 9 Feb 2024 17:10:13 +0000 Subject: vulkaninfo: Fix unreported extension formats Changes the format support check to compare against the device extensions instead of the instance extensions. --- vulkaninfo/vulkaninfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vulkaninfo/vulkaninfo.h b/vulkaninfo/vulkaninfo.h index 0e96c9ba..cf0a9bbf 100644 --- a/vulkaninfo/vulkaninfo.h +++ b/vulkaninfo/vulkaninfo.h @@ -1836,7 +1836,7 @@ struct AppGpu { // True if this extension is present if (format_range.extension_name != nullptr) { - return inst.CheckExtensionEnabled(format_range.extension_name); + return CheckPhysicalDeviceExtensionIncluded(format_range.extension_name); } // True if standard and supported by both this instance and this GPU -- cgit v1.2.3