Skip to content

spirv-opt --webgpu-mode should strip debug instructions #2366

@zoddicus

Description

@zoddicus

These instructions are not valid in the WebGPU execution environment, but stripping them should have no functional change to the code.

I don't know off hand if the dead code stripping passes we currently perform remove the debug opcodes or not. If they do then there should still atleast be some tests enforcing this. Otherwise a new pass needs to be added also.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions