spv.330.location.vert // 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 Vertex 4 "main" 13 18 28 29 34 Source GLSL 330 Name 4 "main" Name 11 "gl_PerVertex" MemberName 11(gl_PerVertex) 0 "gl_Position" MemberName 11(gl_PerVertex) 1 "gl_PointSize" MemberName 11(gl_PerVertex) 2 "gl_ClipDistance" Name 13 "" Name 18 "position" Name 28 "color" Name 29 "normal" Name 32 "Block" MemberName 32(Block) 0 "a" MemberName 32(Block) 1 "b" Name 34 "blk" Decorate 11(gl_PerVertex) Block MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance Decorate 18(position) Location 0 Decorate 28(color) Location 0 Decorate 29(normal) Location 1 Decorate 32(Block) Block Decorate 34(blk) Location 1 2: TypeVoid 3: TypeFunction 2 6: TypeFloat 32 7: TypeVector 6(float) 4 8: TypeInt 32 0 9: 8(int) Constant 1 10: TypeArray 6(float) 9 11(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 10 12: TypePointer Output 11(gl_PerVertex) 13: 12(ptr) Variable Output 14: TypeInt 32 1 15: 14(int) Constant 0 16: TypeVector 6(float) 3 17: TypePointer Input 16(fvec3) 18(position): 17(ptr) Variable Input 20: 6(float) Constant 1065353216 25: TypePointer Output 7(fvec4) 27: TypePointer Output 16(fvec3) 28(color): 27(ptr) Variable Output 29(normal): 17(ptr) Variable Input 31: TypeVector 6(float) 2 32(Block): TypeStruct 7(fvec4) 31(fvec2) 33: TypePointer Output 32(Block) 34(blk): 33(ptr) Variable Output 36: 6(float) Constant 0 42: 14(int) Constant 1 45: TypePointer Output 31(fvec2) 4(main): 2 Function None 3 5: Label 19: 16(fvec3) Load 18(position) 21: 6(float) CompositeExtract 19 0 22: 6(float) CompositeExtract 19 1 23: 6(float) CompositeExtract 19 2 24: 7(fvec4) CompositeConstruct 21 22 23 20 26: 25(ptr) AccessChain 13 15 Store 26 24 30: 16(fvec3) Load 29(normal) Store 28(color) 30 35: 16(fvec3) Load 29(normal) 37: 6(float) CompositeExtract 35 0 38: 6(float) CompositeExtract 35 1 39: 6(float) CompositeExtract 35 2 40: 7(fvec4) CompositeConstruct 37 38 39 36 41: 25(ptr) AccessChain 34(blk) 15 Store 41 40 43: 16(fvec3) Load 18(position) 44: 31(fvec2) VectorShuffle 43 43 0 1 46: 45(ptr) AccessChain 34(blk) 42 Store 46 44 Return FunctionEnd