1spv.functionNestedOpaque.vert
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 39
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Vertex 4  "main"
10                              Source GLSL 450
11                              Name 4  "main"
12                              Name 12  "foo(s21;"
13                              Name 11  "t"
14                              Name 14  "S"
15                              MemberName 14(S) 0  "s"
16                              Name 18  "barc(struct-S-s211;"
17                              Name 17  "p"
18                              Name 21  "bar(struct-S-s211;"
19                              Name 20  "p"
20                              Name 36  "si"
21               2:             TypeVoid
22               3:             TypeFunction 2
23               6:             TypeFloat 32
24               7:             TypeImage 6(float) 2D sampled format:Unknown
25               8:             TypeSampledImage 7
26               9:             TypePointer UniformConstant 8
27              10:             TypeFunction 2 9(ptr)
28           14(S):             TypeStruct 8
29              15:             TypePointer UniformConstant 14(S)
30              16:             TypeFunction 2 15(ptr)
31              24:             TypeVector 6(float) 2
32              25:    6(float) Constant 1056964608
33              26:   24(fvec2) ConstantComposite 25 25
34              27:             TypeVector 6(float) 4
35              28:    6(float) Constant 0
36              30:             TypeInt 32 1
37              31:     30(int) Constant 0
38          36(si):     15(ptr) Variable UniformConstant
39         4(main):           2 Function None 3
40               5:             Label
41              37:           2 FunctionCall 18(barc(struct-S-s211;) 36(si)
42              38:           2 FunctionCall 21(bar(struct-S-s211;) 36(si)
43                              Return
44                              FunctionEnd
45    12(foo(s21;):           2 Function None 10
46           11(t):      9(ptr) FunctionParameter
47              13:             Label
48              23:           8 Load 11(t)
49              29:   27(fvec4) ImageSampleExplicitLod 23 26 Lod 28
50                              Return
51                              FunctionEnd
5218(barc(struct-S-s211;):           2 Function None 16
53           17(p):     15(ptr) FunctionParameter
54              19:             Label
55              32:      9(ptr) AccessChain 17(p) 31
56              33:           2 FunctionCall 12(foo(s21;) 32
57                              Return
58                              FunctionEnd
5921(bar(struct-S-s211;):           2 Function None 16
60           20(p):     15(ptr) FunctionParameter
61              22:             Label
62              34:      9(ptr) AccessChain 20(p) 31
63              35:           2 FunctionCall 12(foo(s21;) 34
64                              Return
65                              FunctionEnd
66