1spv.dead-after-switch-break.vert 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 21 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Vertex 4 "main" 8 14 10 Source GLSL 450 11 Name 4 "main" 12 Name 8 "c" 13 Name 14 "o" 14 Decorate 8(c) Location 0 15 Decorate 14(o) Location 0 16 2: TypeVoid 17 3: TypeFunction 2 18 6: TypeInt 32 1 19 7: TypePointer Input 6(int) 20 8(c): 7(ptr) Variable Input 21 13: TypePointer Output 6(int) 22 14(o): 13(ptr) Variable Output 23 15: 6(int) Constant 1 24 17: 6(int) Constant 2 25 20: 6(int) Constant 3 26 4(main): 2 Function None 3 27 5: Label 28 9: 6(int) Load 8(c) 29 SelectionMerge 12 None 30 Switch 9 11 31 case 0: 10 32 11: Label 33 Branch 12 34 10: Label 35 Store 14(o) 15 36 Branch 12 37 12: Label 38 Store 14(o) 20 39 Return 40 FunctionEnd 41