spv.330.location.opengl.frag // Module Version 10000 // Generated by (magic number): 8000b // Id's are bound by 47 Capability Shader 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "main" 9 12 22 35 ExecutionMode 4 OriginLowerLeft Source GLSL 330 Name 4 "main" Name 9 "fragColor" Name 12 "color" Name 20 "Block" MemberName 20(Block) 0 "a" MemberName 20(Block) 1 "b" Name 22 "blk" Name 33 "Members" MemberName 33(Members) 0 "c" MemberName 33(Members) 1 "d" Name 35 "mem" Decorate 9(fragColor) Location 0 Decorate 12(color) Location 0 Decorate 20(Block) Block Decorate 22(blk) Location 1 Decorate 33(Members) Block MemberDecorate 33(Members) 0 Location 3 MemberDecorate 33(Members) 1 Location 4 Decorate 35(mem) Location 0 2: TypeVoid 3: TypeFunction 2 6: TypeFloat 32 7: TypeVector 6(float) 4 8: TypePointer Output 7(fvec4) 9(fragColor): 8(ptr) Variable Output 10: TypeVector 6(float) 3 11: TypePointer Input 10(fvec3) 12(color): 11(ptr) Variable Input 14: 6(float) Constant 1065353216 19: TypeVector 6(float) 2 20(Block): TypeStruct 7(fvec4) 19(fvec2) 21: TypePointer Input 20(Block) 22(blk): 21(ptr) Variable Input 23: TypeInt 32 1 24: 23(int) Constant 0 25: TypePointer Input 7(fvec4) 29: 23(int) Constant 1 30: TypePointer Input 19(fvec2) 33(Members): TypeStruct 7(fvec4) 6(float) 34: TypePointer Input 33(Members) 35(mem): 34(ptr) Variable Input 36: TypePointer Input 6(float) 39: 6(float) Constant 0 4(main): 2 Function None 3 5: Label 13: 10(fvec3) Load 12(color) 15: 6(float) CompositeExtract 13 0 16: 6(float) CompositeExtract 13 1 17: 6(float) CompositeExtract 13 2 18: 7(fvec4) CompositeConstruct 15 16 17 14 26: 25(ptr) AccessChain 22(blk) 24 27: 7(fvec4) Load 26 28: 7(fvec4) FAdd 18 27 31: 30(ptr) AccessChain 22(blk) 29 32: 19(fvec2) Load 31 37: 36(ptr) AccessChain 35(mem) 29 38: 6(float) Load 37 40: 6(float) CompositeExtract 32 0 41: 6(float) CompositeExtract 32 1 42: 7(fvec4) CompositeConstruct 40 41 38 39 43: 7(fvec4) FAdd 28 42 44: 25(ptr) AccessChain 35(mem) 24 45: 7(fvec4) Load 44 46: 7(fvec4) FAdd 43 45 Store 9(fragColor) 46 Return FunctionEnd