remap.switch.none.frag WARNING: 0:5: '' : all default precisions are highp; use precision statements to quiet warning, e.g.: "precision mediump int; precision highp float;" // Module Version 10000 // Generated by (magic number): 80001 // Id's are bound by 48 Capability Shader 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "main" 9 23 ExecutionMode 4 OriginUpperLeft Source GLSL 450 Name 4 "main" Name 9 "in0" Name 23 "FragColor" Decorate 9(in0) Location 0 Decorate 23(FragColor) RelaxedPrecision Decorate 23(FragColor) Location 0 Decorate 29 RelaxedPrecision Decorate 36 RelaxedPrecision Decorate 43 RelaxedPrecision 2: TypeVoid 3: TypeFunction 2 6: TypeFloat 32 7: TypeVector 6(float) 4 8: TypePointer Input 7(fvec4) 9(in0): 8(ptr) Variable Input 10: TypeInt 32 0 11: 10(int) Constant 3 12: TypePointer Input 6(float) 15: TypeInt 32 1 22: TypePointer Output 7(fvec4) 23(FragColor): 22(ptr) Variable Output 24: 10(int) Constant 0 27: 6(float) Constant 0 31: 10(int) Constant 1 34: 6(float) Constant 1065353216 38: 10(int) Constant 2 41: 6(float) Constant 1073741824 45: 6(float) Constant 3212836864 46: 7(fvec4) ConstantComposite 45 45 45 45 4(main): 2 Function None 3 5: Label 13: 12(ptr) AccessChain 9(in0) 11 14: 6(float) Load 13 16: 15(int) ConvertFToS 14 SelectionMerge 21 None Switch 16 20 case 0: 17 case 1: 18 case 2: 19 20: Label Store 23(FragColor) 46 Branch 21 17: Label 25: 12(ptr) AccessChain 9(in0) 24 26: 6(float) Load 25 28: 6(float) FAdd 26 27 29: 7(fvec4) CompositeConstruct 28 28 28 28 Store 23(FragColor) 29 Branch 21 18: Label 32: 12(ptr) AccessChain 9(in0) 31 33: 6(float) Load 32 35: 6(float) FAdd 33 34 36: 7(fvec4) CompositeConstruct 35 35 35 35 Store 23(FragColor) 36 Branch 21 19: Label 39: 12(ptr) AccessChain 9(in0) 38 40: 6(float) Load 39 42: 6(float) FAdd 40 41 43: 7(fvec4) CompositeConstruct 42 42 42 42 Store 23(FragColor) 43 Branch 21 21: Label Return FunctionEnd