1 spv.pushConstantAnon.vert 2 // Module Version 10000 3 // Generated by (magic number): 80007 4 // Id's are bound by 38 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Vertex 4 "main" 24 10 Source GLSL 400 11 Name 4 "main" 12 Name 11 "Material" 13 MemberName 11(Material) 0 "kind" 14 MemberName 11(Material) 1 "fa" 15 Name 13 "" 16 Name 24 "color" 17 Decorate 10 ArrayStride 4 18 MemberDecorate 11(Material) 0 Offset 0 19 MemberDecorate 11(Material) 1 Offset 4 20 Decorate 11(Material) Block 21 2: TypeVoid 22 3: TypeFunction 2 23 6: TypeInt 32 1 24 7: TypeFloat 32 25 8: TypeInt 32 0 26 9: 8(int) Constant 3 27 10: TypeArray 7(float) 9 28 11(Material): TypeStruct 6(int) 10 29 12: TypePointer PushConstant 11(Material) 30 13: 12(ptr) Variable PushConstant 31 14: 6(int) Constant 0 32 15: TypePointer PushConstant 6(int) 33 22: TypeVector 7(float) 4 34 23: TypePointer Output 22(fvec4) 35 24(color): 23(ptr) Variable Output 36 25: 7(float) Constant 1045220557 37 26: 22(fvec4) ConstantComposite 25 25 25 25 38 28: 7(float) Constant 1056964608 39 29: 22(fvec4) ConstantComposite 28 28 28 28 40 31: 6(int) Constant 1 41 32: TypePointer PushConstant 7(float) 42 4(main): 2 Function None 3 43 5: Label 44 16: 15(ptr) AccessChain 13 14 45 17: 6(int) Load 16 46 SelectionMerge 21 None 47 Switch 17 20 48 case 1: 18 49 case 2: 19 50 20: Label 51 33: 32(ptr) AccessChain 13 31 31 52 34: 7(float) Load 33 53 35: 22(fvec4) CompositeConstruct 34 34 34 34 54 Store 24(color) 35 55 Branch 21 56 18: Label 57 Store 24(color) 26 58 Branch 21 59 19: Label 60 Store 24(color) 29 61 Branch 21 62 21: Label 63 Return 64 FunctionEnd 65