Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Library:Vulkan

From ReverseEngineering.wiki
Library
Vendor Khronos Group
Platforms Windows, Linux, Android, macOS (MoltenVK)
Website https://www.vulkan.org
On this wiki Facts · Code · Notes · Topics

Khronos' cross-platform graphics API: a loader (vulkan-1.dll, libvulkan.so.1) exports a few entry points, dispatchable handles start with a loader dispatch-table pointer, and layers/ICDs are found through JSON manifests.

Identification

  • Windows loader is vulkan-1.dll; Linux libvulkan.so.1; macOS libvulkan.1.dylib (MoltenVK). Games may import only a handful of functions and fetch the rest through vkGetInstanceProcAddr / vkGetDeviceProcAddr, so an import table can look nearly empty. The Windows .def lists the whole core API (about 290 lines).
  • Dispatchable handles (VkInstance, VkPhysicalDevice, VkDevice, VkQueue, VkCommandBuffer) point to a struct whose first member is a pointer to a dispatch table; the loader keeps its own magic in the instance struct (LOADER_MAGIC_NUMBER 0x10ADED010110ADED, physical device trampoline 0x10ADED020210ADED). Non-dispatchable handles are 64-bit opaque values.
  • Layers (overlays, RenderDoc, validation) hook by being a layer in the chain, configured by JSON manifests and VK_INSTANCE_LAYERS/implicit layer registry keys: see Vulkan-Loader docs LoaderAndLayerInterface.md.
  • Strings: VK_KHR_swapchain, VK_LAYER_KHRONOS_validation, vkCreateInstance names appear in games' string tables.

See the facts on this page.

Code & repositories

  • https://github.com/KhronosGroup/Vulkan-Loader @ 3aba6aeb8786f8369e10e4640f3139f336541c07 · license: Apache-2.0 (read from LICENSE.txt; GitHub's detector did not classify it)
    Vulkan loader: exports list (vulkan-1.def), loader magic numbers and layer/ICD interface docs.
    Tested on: source read, not run: read source · checked 2026-10-18; last activity 2026-10-17