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

Support vulkan shaderStorageImage{Read/Write}WithoutFormat #6797

Open
Vecvec opened this issue Dec 20, 2024 · 0 comments
Open

Support vulkan shaderStorageImage{Read/Write}WithoutFormat #6797

Vecvec opened this issue Dec 20, 2024 · 0 comments
Labels
api: dx12 Issues with DX12 or DXGI api: metal Issues with Metal api: vulkan Issues with Vulkan area: api Issues related to API surface lang: WGSL WebGPU Shading Language naga Shader Translator type: enhancement New feature or request

Comments

@Vecvec
Copy link
Contributor

Vecvec commented Dec 20, 2024

Is your feature request related to a problem? Please describe.
Having to write the texel format in a shader limits it's usage, and with compute based ray-tracers (especially if a library wants to simply provide a generic shader) this can be an inconvenience. This means the texel format cannot be selected by the user.

Describe the solution you'd like
A wgpu feature for vulkan's shaderStorageImage{Read/Write}WithoutFormat extensions (either combined or seperate, for RT it probably doesn't matter). Both DirectX12 and Metal always support this.

Describe alternatives you've considered
It's not too hard to take a texture and convert it to another using a compute shader.

Additional context
See gpuweb/gpuweb#4298

@cwfitzgerald cwfitzgerald added type: enhancement New feature or request area: api Issues related to API surface api: dx12 Issues with DX12 or DXGI api: metal Issues with Metal api: vulkan Issues with Vulkan naga Shader Translator lang: WGSL WebGPU Shading Language labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: dx12 Issues with DX12 or DXGI api: metal Issues with Metal api: vulkan Issues with Vulkan area: api Issues related to API surface lang: WGSL WebGPU Shading Language naga Shader Translator type: enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants