From bb32b2a7016893617453ff9a3dba2a7a17c57b9b Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Tue, 7 Apr 2020 20:33:25 -0600 Subject: vulkaninfo: dynamically link vulkan on apple Due to difficulties setting up dynamic library loading on apple, the change to use dynamic loading has been reverted to a dynamic link. Change-Id: If980a327aa07669cc00aa4847dd4339a0ae42804 --- vulkaninfo/vulkaninfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vulkaninfo/vulkaninfo.cpp') diff --git a/vulkaninfo/vulkaninfo.cpp b/vulkaninfo/vulkaninfo.cpp index d81749b4..ef2f621b 100644 --- a/vulkaninfo/vulkaninfo.cpp +++ b/vulkaninfo/vulkaninfo.cpp @@ -641,7 +641,7 @@ void GpuDevDump(Printer &p, AppGpu &gpu) { VkFormat fmt = static_cast(fmt_counter); VkFormatProperties props; - gpu.inst.dll.vkGetPhysicalDeviceFormatProperties(gpu.phys_device, fmt, &props); + gpu.inst.dll.fp_vkGetPhysicalDeviceFormatProperties(gpu.phys_device, fmt, &props); GpuDumpFormatProperty(p, fmt, props); } @@ -660,7 +660,7 @@ void GpuDevDumpJson(Printer &p, AppGpu &gpu) { VkFormat fmt = static_cast(fmt_counter); VkFormatProperties props; - gpu.inst.dll.vkGetPhysicalDeviceFormatProperties(gpu.phys_device, fmt, &props); + gpu.inst.dll.fp_vkGetPhysicalDeviceFormatProperties(gpu.phys_device, fmt, &props); // don't print format properties that are unsupported if ((props.linearTilingFeatures || props.optimalTilingFeatures || props.bufferFeatures) == 0) continue; -- cgit v1.2.3