1spv.noDeadDecorations.vert
2// Module Version 10000
3// Generated by (magic number): 80007
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 27 RelaxedPrecision
27               2:             TypeVoid
28               3:             TypeFunction 2
29               6:             TypeFloat 32
30               7:             TypePointer Function 6(float)
31               8:             TypeFunction 6(float) 7(ptr)
32              16:    6(float) Constant 3212836864
33              19:             TypeVector 6(float) 4
3420(gl_PerVertex):             TypeStruct 19(fvec4) 6(float)
35              21:             TypePointer Output 20(gl_PerVertex)
36              22:     21(ptr) Variable Output
37              23:             TypeInt 32 1
38              24:     23(int) Constant 0
39              25:    6(float) Constant 0
40              28:             TypeInt 32 0
41              29:     28(int) Constant 0
42              30:             TypePointer Output 6(float)
43         4(main):           2 Function None 3
44               5:             Label
45       26(param):      7(ptr) Variable Function
46                              Store 26(param) 25
47              27:    6(float) FunctionCall 10(func(f1;) 26(param)
48              31:     30(ptr) AccessChain 22 24 29
49                              Store 31 27
50                              Return
51                              FunctionEnd
52    10(func(f1;):    6(float) Function None 8
53            9(a):      7(ptr) FunctionParameter
54              11:             Label
55              12:    6(float) Load 9(a)
56              13:    6(float) FNegate 12
57                              ReturnValue 13
58                              FunctionEnd
59