-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Support vulkan shaderStorageImage{Read/Write}WithoutFormat #6797
Copy link
Copy link
Open
Labels
area: apiIssues related to API surfaceIssues related to API surfacebackend: dx12Issues with DX12 or DXGIIssues with DX12 or DXGIbackend: metalIssues with MetalIssues with Metalbackend: vulkanIssues with VulkanIssues with Vulkanlang: WGSLWebGPU Shading LanguageWebGPU Shading LanguagenagaShader TranslatorShader Translatortype: enhancementNew feature or requestNew feature or request
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: apiIssues related to API surfaceIssues related to API surfacebackend: dx12Issues with DX12 or DXGIIssues with DX12 or DXGIbackend: metalIssues with MetalIssues with Metalbackend: vulkanIssues with VulkanIssues with Vulkanlang: WGSLWebGPU Shading LanguageWebGPU Shading LanguagenagaShader TranslatorShader Translatortype: enhancementNew feature or requestNew feature or request
Type
Projects
Status
Todo