diff options
| author | Charles Giessen <charles@lunarg.com> | 2020-02-19 16:58:57 -0700 |
|---|---|---|
| committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2020-02-21 16:48:11 -0700 |
| commit | a553ed74b7fe3d5d14da312d47144ccfc4514a4b (patch) | |
| tree | b734a682e01026eed7aa5d5fda6bda5f4e3981f6 /vulkaninfo/vulkaninfo.cpp | |
| parent | d8f705c62bd633040c91068408ac77f764e27696 (diff) | |
| download | usermoji-a553ed74b7fe3d5d14da312d47144ccfc4514a4b.tar.xz | |
vulkaninfo: dynamically load vulkan
This commit makes it so that vulkaninfo will not statically link to
the vulkan loader dll. This is to satisfy the Microsoft
ApiValidator requirements.
Change-Id: Ibac46dd13df9568e9a97ce1ba4e50613902848a1
Diffstat (limited to 'vulkaninfo/vulkaninfo.cpp')
| -rw-r--r-- | vulkaninfo/vulkaninfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vulkaninfo/vulkaninfo.cpp b/vulkaninfo/vulkaninfo.cpp index a0b843aa..4dc1dfe8 100644 --- a/vulkaninfo/vulkaninfo.cpp +++ b/vulkaninfo/vulkaninfo.cpp @@ -261,7 +261,7 @@ void DumpGroups(Printer &p, AppInstance &inst) { int group_id = 0; for (auto &group : groups) { ObjectWrapper obj(p, "Group " + std::to_string(group_id)); - auto group_props = GetGroupProps(group); + auto group_props = GetGroupProps(inst, group); { ObjectWrapper obj(p, "Properties"); { @@ -647,7 +647,7 @@ void GpuDevDump(Printer &p, AppGpu &gpu) { VkFormat fmt = static_cast<VkFormat>(fmt_counter); VkFormatProperties props; - vkGetPhysicalDeviceFormatProperties(gpu.phys_device, fmt, &props); + gpu.inst.dll.vkGetPhysicalDeviceFormatProperties(gpu.phys_device, fmt, &props); GpuDumpFormatProperty(p, fmt, props); } @@ -667,7 +667,7 @@ void GpuDevDumpJson(Printer &p, AppGpu &gpu) { VkFormat fmt = static_cast<VkFormat>(fmt_counter); VkFormatProperties props; - vkGetPhysicalDeviceFormatProperties(gpu.phys_device, fmt, &props); + gpu.inst.dll.vkGetPhysicalDeviceFormatProperties(gpu.phys_device, fmt, &props); // don't print format properties that are unsupported if ((props.linearTilingFeatures || props.optimalTilingFeatures || props.bufferFeatures) == 0) continue; |
