1spv.noDeadDecorations.vert 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 32 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Vertex 4 "main" 22 10 Source ESSL 310 11 Name 4 "main" 12 Name 10 "func(f1;" 13 Name 9 "a" 14 Name 20 "gl_PerVertex" 15 MemberName 20(gl_PerVertex) 0 "gl_Position" 16 MemberName 20(gl_PerVertex) 1 "gl_PointSize" 17 Name 22 "" 18 Name 26 "param" 19 Decorate 10(func(f1;) RelaxedPrecision 20 Decorate 9(a) RelaxedPrecision 21 Decorate 12 RelaxedPrecision 22 Decorate 13 RelaxedPrecision 23 MemberDecorate 20(gl_PerVertex) 0 BuiltIn Position 24 MemberDecorate 20(gl_PerVertex) 1 BuiltIn PointSize 25 Decorate 20(gl_PerVertex) Block 26 Decorate 26(param) RelaxedPrecision 27 Decorate 27 RelaxedPrecision 28 2: TypeVoid 29 3: TypeFunction 2 30 6: TypeFloat 32 31 7: TypePointer Function 6(float) 32 8: TypeFunction 6(float) 7(ptr) 33 16: 6(float) Constant 3212836864 34 19: TypeVector 6(float) 4 3520(gl_PerVertex): TypeStruct 19(fvec4) 6(float) 36 21: TypePointer Output 20(gl_PerVertex) 37 22: 21(ptr) Variable Output 38 23: TypeInt 32 1 39 24: 23(int) Constant 0 40 25: 6(float) Constant 0 41 28: TypeInt 32 0 42 29: 28(int) Constant 0 43 30: TypePointer Output 6(float) 44 4(main): 2 Function None 3 45 5: Label 46 26(param): 7(ptr) Variable Function 47 Store 26(param) 25 48 27: 6(float) FunctionCall 10(func(f1;) 26(param) 49 31: 30(ptr) AccessChain 22 24 29 50 Store 31 27 51 Return 52 FunctionEnd 53 10(func(f1;): 6(float) Function None 8 54 9(a): 7(ptr) FunctionParameter 55 11: Label 56 12: 6(float) Load 9(a) 57 13: 6(float) FNegate 12 58 ReturnValue 13 59 FunctionEnd 60