mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 15:31:03 +01:00
When generating SPIR-V, avoid generating unreachable blocks following statements like `break`, `return`, and so on that cause non-local exits. These unreachable blocks can cause SPIR-V validation to fail. Fixes #6220.