Vulkan <-> DXGI Format constant utility

Open
#352 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start by reviewing the Vulkan VkFormat registry and the corresponding DXGI format definitions linked in the issue, then locate the library's existing format-conversion utilities. Define the complete Vulkan-to-DXGI and DXGI-to-Vulkan mapping, including the named examples; done means every defined Vulkan format with a DXGI equivalent is covered and the conversions are verified.

Written by the indexing model from the issue text.

Description

utility wsl

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.

Dominant language
C++
Stars
2.2k
Forks
498
Avg merge
2d 5h
Merged PRs (30d)
6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/DirectXTex

All issues in microsoft/DirectXTex

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.