Skip to content
Unverified Commit 8417f849 authored by Hans Christian Schmitz's avatar Hans Christian Schmitz Committed by GitHub
Browse files

Fix GLSL output for non-fallthrough switch cases (#1310)

* Fix GLSL output for non-fallthrough switch cases

Partially reverts 02c74b50021379092a9d4567fd11aeb0879c5405 and
fixes #1309.

* Fix indentation of control-flow WGSL code

* Clean up glsl-out switch case fallthrough handling

Only insert a break if needed
and if a case is fallthrough, insert a comment indicating this.
parent 2069ea69
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment