#vulkan #ffi #graphics #khronosgroup #bindgens

sys VulkanLoaderRust

Rust Vulkan Loader based on earthtraveller1/Vulkan-Loader-sys-rs

2 stable releases

1.3.2981 Oct 17, 2024

#196 in Graphics APIs

Apache-2.0

2MB
35K SLoC

C 29K SLoC // 0.1% comments Python 3K SLoC // 0.2% comments GNU Style Assembly 2K SLoC // 0.0% comments Assembly 1.5K SLoC // 0.0% comments Rust 79 SLoC // 0.1% comments Shell 24 SLoC // 0.4% comments

Contains (DOS exe, 50KB) dummy_library_pe_64.so, (Windows DLL, 37KB) dummy_library_pe_32.dll, (DOS exe, 37KB) dummy_library_pe_32.so, (Windows DLL, 50KB) dummy_library_pe_64.dll, (ELF exe/lib, 18KB) dummy_library_elf_64.dll, (ELF lib, 18KB) libdummy_library_elf_64.so and 2 more.

Vulkan Loader

This project provides the Khronos official Vulkan Loader for all platforms except Android

Introduction

Vulkan is an explicit API, enabling direct control over how GPUs actually work. As such, Vulkan supports systems that have multiple GPUs, each running with a different driver, or ICD (Installable Client Driver). Vulkan also supports multiple global contexts (instances, in Vulkan terminology). The ICD loader is a library that is placed between a Vulkan application and any number of Vulkan drivers, in order to support multiple drivers and the instance-level functionality that works across these drivers. Additionally, the loader manages inserting Vulkan layer libraries, such as validation layers, between an application and the drivers.

This repository contains the Vulkan loader that is used for Linux, Windows, MacOS, and iOS. There is also a separate loader, maintained by Google, which is used on Android.

The following components are available in this repository:

Contact Information

Information for Developing or Contributing

Please see the CONTRIBUTING.md file in this repository for more details. Please see the GOVERNANCE.md file in this repository for repository management details.

How to Build and Run

BUILD.md includes directions for building all components.

Architecture and interface information for the loader is in docs/LoaderInterfaceArchitecture.md.

Version Tagging Scheme

Updates to this repository which correspond to a new Vulkan specification release are tagged using the following format: v<version> (e.g., v1.3.266).

Note: Marked version releases have undergone thorough testing but do not imply the same quality level as SDK tags. SDK tags follow the vulkan-sdk-<version>.<patch> format (e.g., vulkan-sdk-1.3.266.0).

This scheme was adopted following the 1.3.266 Vulkan specification release.

License

This work is released as open source under a Apache-style license from Khronos including a Khronos copyright.

Acknowledgements

While this project has been developed primarily by LunarG, Inc., there are many other companies and individuals making this possible: Valve Corporation, funding project development; Khronos providing oversight and hosting of the project.

No runtime deps