-
Notifications
You must be signed in to change notification settings - Fork 370
Support for attach-less render passes #503
Copy link
Copy link
Open
Labels
apiWebGPU APIWebGPU APIapi-milestone-2-202502api issues that were in milestone 2 before we triaged milestone 1 on 2025-02-19api issues that were in milestone 2 before we triaged milestone 1 on 2025-02-19feature requestA request for a new GPU feature exposed in the APIA request for a new GPU feature exposed in the API
Milestone
Description
There is a use case of doing a render pass with no attachments. For example, when the pixel shader does some work with storage buffers, and we still want rasterization to happen, just without rendering per se.
Currently what happens is - we don't know the rasterization area when the render pass is started, and our implementation panics. It has no way to know this today.
Possible solutions:
- say this is an unsupported use case. Users could technically have a dummy attachment and set up the blend equations to always fail...
- have an optional member of
RenderPassDescriptorwith the rasterization area. When not set, it's automatically derived from the attachments, which are expected to be of the same size.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
apiWebGPU APIWebGPU APIapi-milestone-2-202502api issues that were in milestone 2 before we triaged milestone 1 on 2025-02-19api issues that were in milestone 2 before we triaged milestone 1 on 2025-02-19feature requestA request for a new GPU feature exposed in the APIA request for a new GPU feature exposed in the API