Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Sparse colorAttachments in a render pass #1250

@kainino0x

Description

@kainino0x

Probably it should be possible to have "holes" in the colorAttachments array (e.g. have attachments 0 and 2, but not 1).

I know we discussed this a VERY long time ago, but right now in the API this is not expressible. We should make sure it's possible and change the API to support it (e.g. sequence of nullable, or put the attachment location inside the GPURenderPassColorAttachmentDescriptor like with GPUBindGroupLayoutEntry).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions