Skip to content

Error creating pipeline with implicit layout can leave bind group layout ids stranded #3572

Closed
@jimblandy

Description

When creating a pipeline with an implicit layout, if we return an error from Device::create_compute_pipeline here, then I think we leak all the ids we populated in Global::device_create_compute_pipeline here. Their entries in their Storage will stay occupied permanently.

The bind group layouts haven't been made part of any pipeline layout or anything else, so triage_suspected will never suspect them.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions