1spv.1.4.funcall.array.frag
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 42
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 4  "main" 27 31
10                              ExecutionMode 4 OriginUpperLeft
11                              Source GLSL 450
12                              Name 4  "main"
13                              Name 16  "f(vf4[9];i1;"
14                              Name 14  "a"
15                              Name 15  "ix"
16                              Name 20  "indexable"
17                              Name 27  "color"
18                              Name 29  "ub"
19                              MemberName 29(ub) 0  "u"
20                              Name 31  ""
21                              Name 37  "arg"
22                              Name 40  "param"
23                              Decorate 27(color) Location 0
24                              Decorate 28 ArrayStride 16
25                              MemberDecorate 29(ub) 0 Offset 0
26                              Decorate 29(ub) Block
27                              Decorate 31 DescriptorSet 0
28                              Decorate 31 Binding 0
29               2:             TypeVoid
30               3:             TypeFunction 2
31               6:             TypeFloat 32
32               7:             TypeVector 6(float) 4
33               8:             TypeInt 32 0
34               9:      8(int) Constant 9
35              10:             TypeArray 7(fvec4) 9
36              11:             TypeInt 32 1
37              12:             TypePointer Function 11(int)
38              13:             TypeFunction 7(fvec4) 10 12(ptr)
39              19:             TypePointer Function 10
40              21:             TypePointer Function 7(fvec4)
41              26:             TypePointer Output 7(fvec4)
42       27(color):     26(ptr) Variable Output
43              28:             TypeArray 7(fvec4) 9
44          29(ub):             TypeStruct 28
45              30:             TypePointer Uniform 29(ub)
46              31:     30(ptr) Variable Uniform
47              32:     11(int) Constant 0
48              33:             TypePointer Uniform 28
49              36:     11(int) Constant 2
50         4(main):           2 Function None 3
51               5:             Label
52         37(arg):     19(ptr) Variable Function
53       40(param):     12(ptr) Variable Function
54              34:     33(ptr) AccessChain 31 32
55              35:          28 Load 34
56              38:          10 CopyLogical 35
57                              Store 37(arg) 38
58              39:          10 Load 37(arg)
59                              Store 40(param) 36
60              41:    7(fvec4) FunctionCall 16(f(vf4[9];i1;) 39 40(param)
61                              Store 27(color) 41
62                              Return
63                              FunctionEnd
6416(f(vf4[9];i1;):    7(fvec4) Function None 13
65           14(a):          10 FunctionParameter
66          15(ix):     12(ptr) FunctionParameter
67              17:             Label
68   20(indexable):     19(ptr) Variable Function
69              18:     11(int) Load 15(ix)
70                              Store 20(indexable) 14(a)
71              22:     21(ptr) AccessChain 20(indexable) 18
72              23:    7(fvec4) Load 22
73                              ReturnValue 23
74                              FunctionEnd
75