Clone this repo:
  1. b4017aa build: Enable VKAPI_NODISCARD=[[nodiscard]] & fix errors by Charles Giessen · 3 hours ago upstream/main
  2. aefc255 build: Update to header 1.4.370 by headerbot[bot] · 2 days ago upstream/v1.4.370
  3. 9eb2fc2 safe: Heap allocate ASGeomKHR by spencer-lunarg · 2 days ago
  4. 92ff93e safe_struct: Copy every pSampleMask word by Lorenzo Dal Col · 12 days ago
  5. 9f11bef build: Update to header 1.4.369 by headerbot[bot] · 2 weeks ago upstream/v1.4.369

Vulkan-Utility-Libraries

This repo was created to share code across various Vulkan repositories, solving long standing issues for Vulkan SDK developers and users.

Historical Context

The Vulkan-ValidationLayers contained many libraries and utilities that were useful for other Vulkan repositories, and became the primary mechanism for code sharing in the Vulkan ecosystem.

This caused the Vulkan-ValidationLayers to have to maintain and export source code which was never intended for that purpose. This not only hindered development of the Vulkan-ValidationLayers, but would frequently break anyone depending on the source code due to the poorly located nature of it. On top of numerous other issues.

This repository was created to facilitate official source deliverables that can be reliably used by developers.

Vulkan::LayerSettings

The Vulkan::LayerSettings library was created to standardize layer configuration code for various SDK layer deliverables.

This is to ensure they all worked consistently with the 3 main methods of layer configuration.

For more information see layer_configuration.md.

Vulkan::UtilityHeaders

The Vulkan::UtilityHeaders library contains header only files that provide useful functionality to developers:

  • vk_dispatch_table.h: Initializing instance/device dispatch tables
  • vk_format_utils.h: Utilities for VkFormat
  • vk_struct_helper.hpp: Utilities for vulkan structs
  • vk_enum_string_helper.h: Converts Vulkan enums into strings