Skip to content

Possible to crash VulkanToWebGPU passes if new IDs are exhausted #2847

@zoddicus

Description

@zoddicus

From investigating crbug.com/1001436 I have determine the root cause is that there is no check that generating a new constant in GenerateWebGPUInitializers is successful. If all of the available IDs are exhaused the creation will fail, and cause a null reference.

I need to add a guard to detect this situation and return failure instead of crashing.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions