1spv.exportFunctions.comp
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 22
5
6                              Capability Shader
7                              Capability Linkage
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              Source GLSL 450
11                              Name 7  "add(f1;f1;"
12                              Name 5  "a"
13                              Name 6  "b"
14                              Name 11  "foo("
15                              Decorate 7(add(f1;f1;) Linkage Attributes 6579297 0
16                              Decorate 11(foo() Linkage Attributes 7303014 0
17               2:             TypeFloat 32
18               3:             TypePointer Function 2(float)
19               4:             TypeFunction 2(float) 3(ptr) 3(ptr)
20               9:             TypeInt 32 1
21              10:             TypeFunction 9(int)
22              17:             TypeVoid
23              19:      9(int) Constant 0
24   7(add(f1;f1;):    2(float) Function None 4
25            5(a):      3(ptr) FunctionParameter
26            6(b):      3(ptr) FunctionParameter
27               8:             Label
28              13:    2(float) Load 5(a)
29              14:    2(float) Load 6(b)
30              15:    2(float) FAdd 13 14
31                              ReturnValue 15
32                              FunctionEnd
33        11(foo():      9(int) Function None 10
34              12:             Label
35                              ReturnValue 19
36                              FunctionEnd
37