commit | f004eeed0a1ec46a556b93bbed38582997ba8c0d | [log] [tgz] |
---|---|---|
author | Charles Giessen <charles@lunarg.com> | Thu Jun 15 15:47:23 2023 -0600 |
committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | Fri Jun 16 14:02:58 2023 -0600 |
tree | f5a951dde98d57567b67150acad32d4ef6fbe231 | |
parent | 5dba6d2a346e4134ecbf98d9691a185f20d131e1 [diff] |
Add and fix warnings for unused functions and parameters These warnings were disabled, and this commit enables them. It also fixes the many warnings that were present but were silenced. This includes many unused parameters that could be safely removed. But it also required marking some parameters as `(void)param;` to indicate to the compiler that the parameter is infact required. If a function is a stub function, then instead all of the names of the parameters were removed. The biggest change is for vk_dispatch_table_helper.h which had stubs for every device function. Rather than try to mark every parameter as unused it was simpler to remove all stub functions, which aren't useful for testing anyhow. Tests should crash rather than silently continue anyhow.
This project provides the Khronos official Vulkan Loader for all platforms except Android
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:
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.
BUILD.md includes directions for building all components.
Architecture and interface information for the loader is in docs/LoaderInterfaceArchitecture.md.
Updates to the Vulkan-Loader
repository which correspond to a new Vulkan specification release are tagged using the following format: v<
version
>
(e.g., v1.1.96
).
Note: Marked version releases have undergone thorough testing but do not imply the same quality level as SDK tags. SDK tags follow the sdk-<
version
>.<
patch
>
format (e.g., sdk-1.1.92.0
).
This scheme was adopted following the 1.1.96 Vulkan specification release.
This work is released as open source under a Apache-style license from Khronos including a Khronos copyright.
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.