Skip to content

beginRenderPass device mismatched crashes #5628

Closed
@sagudev

Description

Description
As in #5582 beginRenderPass should do validation (so wgpu-core). Currently this can cause crash on webgpu:api,validation,encoding,beginRenderPass:depth_stencil_attachment,device_mismatch:* (crash is also visible on firefox).

If using sagudev@3c28720 this is also reproducible on wgpu using cts runner.

Given that this isn't first time of device mismatch error I believe all assertDeviceMatch should probably be removed (they are simply wrong as they trigger dom exception instead of validation error, hence CTS test failures) and add device validation checks to wgpu_core.

Metadata

Assignees

Labels

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

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions