1spv.invariantAll.vert 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 25 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Vertex 4 "main" 13 17 10 Source GLSL 450 11 Name 4 "main" 12 Name 11 "gl_PerVertex" 13 MemberName 11(gl_PerVertex) 0 "gl_Position" 14 MemberName 11(gl_PerVertex) 1 "gl_PointSize" 15 MemberName 11(gl_PerVertex) 2 "gl_ClipDistance" 16 MemberName 11(gl_PerVertex) 3 "gl_CullDistance" 17 Name 13 "" 18 Name 17 "v" 19 MemberDecorate 11(gl_PerVertex) 0 Invariant 20 MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position 21 MemberDecorate 11(gl_PerVertex) 1 Invariant 22 MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize 23 MemberDecorate 11(gl_PerVertex) 2 Invariant 24 MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance 25 MemberDecorate 11(gl_PerVertex) 3 Invariant 26 MemberDecorate 11(gl_PerVertex) 3 BuiltIn CullDistance 27 Decorate 11(gl_PerVertex) Block 28 Decorate 17(v) Location 0 29 Decorate 17(v) Invariant 30 2: TypeVoid 31 3: TypeFunction 2 32 6: TypeFloat 32 33 7: TypeVector 6(float) 4 34 8: TypeInt 32 0 35 9: 8(int) Constant 1 36 10: TypeArray 6(float) 9 3711(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 10 10 38 12: TypePointer Output 11(gl_PerVertex) 39 13: 12(ptr) Variable Output 40 14: TypeInt 32 1 41 15: 14(int) Constant 0 42 16: TypePointer Output 6(float) 43 17(v): 16(ptr) Variable Output 44 20: 6(float) Constant 0 45 21: 6(float) Constant 1065353216 46 23: TypePointer Output 7(fvec4) 47 4(main): 2 Function None 3 48 5: Label 49 18: 6(float) Load 17(v) 50 19: 6(float) Load 17(v) 51 22: 7(fvec4) CompositeConstruct 18 19 20 21 52 24: 23(ptr) AccessChain 13 15 53 Store 24 22 54 Return 55 FunctionEnd 56