Skip to content

[SPIRV] Add option to use the Unknown image format#7632

Merged
s-perron merged 1 commit intomicrosoft:mainfrom
s-perron:i7484
Jul 11, 2025
Merged

[SPIRV] Add option to use the Unknown image format#7632
s-perron merged 1 commit intomicrosoft:mainfrom
s-perron:i7484

Conversation

@s-perron
Copy link
Collaborator

@s-perron s-perron commented Jul 8, 2025

Many Vulkan driver allow the SPIR-V to use the Unknown image format
for storage images and texel buffers. This makes the SPIR-V more
flexible, and it useful for developers. However, it can be cumbersome to
have to add the vk::image_format attribute to all resources.

This option allows users to make Unkown the default image format for
all resource types.

Fixes #7484

Many Vulkan driver allow the SPIR-V to use the `Unknown` image format
for storage images and texel buffers. This makes the SPIR-V more
flexible, and it useful for developers. However, it can be cumbersome to
have to add the `vk::image_format` attribute to all resources.

This option allows users to make `Unkown` the default image format for
all resource types.

Fixes microsoft#7484
@s-perron s-perron merged commit 68dedee into microsoft:main Jul 11, 2025
13 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in HLSL Roadmap Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[Feature Request] [SPIR-V] Add a command line option to set storage image and storage texel buffer format to Unknown

2 participants