Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulkan <-> DXGI Format constant utility #352

Open
walbourn opened this issue May 13, 2023 · 0 comments
Open

Vulkan <-> DXGI Format constant utility #352

walbourn opened this issue May 13, 2023 · 0 comments
Labels
utility Applies to DDSTextureLoader, ScreenGrab, WICTextureLoader wsl Related to Windows Subsystem for Linux support

Comments

@walbourn
Copy link
Member

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.

@walbourn walbourn added utility Applies to DDSTextureLoader, ScreenGrab, WICTextureLoader wsl Related to Windows Subsystem for Linux support labels May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
utility Applies to DDSTextureLoader, ScreenGrab, WICTextureLoader wsl Related to Windows Subsystem for Linux support
Projects
None yet
Development

No branches or pull requests

1 participant