Skip to content

BGL resource type mismatches not handled correctly for render bundles #8038

@ErichDonGubler

Description

@ErichDonGubler

Validation for render bundles does not have parity with that of render passes, incorrectly allowing mismatched bind groups to be passed to the underlying platform. This can be reproduced with cargo xtask 'webgpu:api,validation,encoding,programmable,pipeline_bind_group_compat:bgl_resource_type_mismatch:*'.

  • On Vulkan, this emits a warning, and keeps going.
  • On DX12, the runtime crashes.
  • I have not checked how this behaves on macOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: correctnessWe're behaving incorrectlyarea: validationIssues related to validation, diagnostics, and error handlingtype: bugSomething isn't working

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions