Skip to content

Vulkan <-> DXGI Format constant utility #352

Open

Description

Could be useful to have a pair of functions which maps between Vulkan formats and DXGI formats (i.e. VK_FORMAT_R8_UNORM <-> DXGI_FORMAT_R8_UNORM, VK_FORMAT_R16G16B16A16_SFLOAT<->DXGI_FORMAT_R16G16B16A16_FLOAT, etc.)

https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkFormat.html

Note all defined Vulkan formats have DXGI equivalents.

Activity

  1. added
    utilityApplies to DDSTextureLoader, ScreenGrab, WICTextureLoader
    wslRelated to Windows Subsystem for Linux support
    on May 13, 2023
  2. walcht commented on Oct 28, 2026

    @walcht

    There is currently a discussion to automatically generate Vulkan -> DXGI switch from the KTX-Specification repo. See: KhronosGroup/KTX-Software#589. Maybe that can be integrated/used here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    utilityApplies to DDSTextureLoader, ScreenGrab, WICTextureLoaderwslRelated to Windows Subsystem for Linux support

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions