SPIRV-Cross/reference/opt/shaders/legacy
Hans-Kristian Arntzen d08ce828f4 Promote Unreachable cases into break to avoid fallthrough.
HLSL is very fussy about fallthrough in switch blocks, so promote
Unreachable blocks to breaks if they are inside a switch construct.

Some false positives are possible in weird multi-break scenarios, but
this is benign.
2022-05-18 18:36:32 +02:00
..
fragment Normalize all internal workaround methods to use spv prefix. 2020-11-23 15:42:27 +01:00
vert Promote Unreachable cases into break to avoid fallthrough. 2022-05-18 18:36:32 +02:00