1spv.interpOps.frag
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 100
5
6                              Capability Shader
7                              Capability InterpolationFunction
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint Fragment 4  "main" 13 24 33 41 47 72 98
11                              ExecutionMode 4 OriginUpperLeft
12                              Source GLSL 450
13                              Name 4  "main"
14                              Name 9  "f4"
15                              Name 13  "if1"
16                              Name 24  "if2"
17                              Name 33  "if3"
18                              Name 41  "if4"
19                              Name 47  "samp"
20                              Name 72  "offset"
21                              Name 98  "fragColor"
22                              Decorate 47(samp) Flat
23                              Decorate 72(offset) Flat
24               2:             TypeVoid
25               3:             TypeFunction 2
26               6:             TypeFloat 32
27               7:             TypeVector 6(float) 4
28               8:             TypePointer Function 7(fvec4)
29              10:    6(float) Constant 0
30              11:    7(fvec4) ConstantComposite 10 10 10 10
31              12:             TypePointer Input 6(float)
32         13(if1):     12(ptr) Variable Input
33              15:             TypeInt 32 0
34              16:     15(int) Constant 0
35              17:             TypePointer Function 6(float)
36              22:             TypeVector 6(float) 2
37              23:             TypePointer Input 22(fvec2)
38         24(if2):     23(ptr) Variable Input
39              31:             TypeVector 6(float) 3
40              32:             TypePointer Input 31(fvec3)
41         33(if3):     32(ptr) Variable Input
42              40:             TypePointer Input 7(fvec4)
43         41(if4):     40(ptr) Variable Input
44              45:             TypeInt 32 1
45              46:             TypePointer Input 45(int)
46        47(samp):     46(ptr) Variable Input
47      72(offset):     23(ptr) Variable Input
48              97:             TypePointer Output 7(fvec4)
49   98(fragColor):     97(ptr) Variable Output
50         4(main):           2 Function None 3
51               5:             Label
52           9(f4):      8(ptr) Variable Function
53                              Store 9(f4) 11
54              14:    6(float) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 13(if1)
55              18:     17(ptr) AccessChain 9(f4) 16
56              19:    6(float) Load 18
57              20:    6(float) FAdd 19 14
58              21:     17(ptr) AccessChain 9(f4) 16
59                              Store 21 20
60              25:   22(fvec2) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 24(if2)
61              26:    7(fvec4) Load 9(f4)
62              27:   22(fvec2) VectorShuffle 26 26 0 1
63              28:   22(fvec2) FAdd 27 25
64              29:    7(fvec4) Load 9(f4)
65              30:    7(fvec4) VectorShuffle 29 28 4 5 2 3
66                              Store 9(f4) 30
67              34:   31(fvec3) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 33(if3)
68              35:    7(fvec4) Load 9(f4)
69              36:   31(fvec3) VectorShuffle 35 35 0 1 2
70              37:   31(fvec3) FAdd 36 34
71              38:    7(fvec4) Load 9(f4)
72              39:    7(fvec4) VectorShuffle 38 37 4 5 6 3
73                              Store 9(f4) 39
74              42:    7(fvec4) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 41(if4)
75              43:    7(fvec4) Load 9(f4)
76              44:    7(fvec4) FAdd 43 42
77                              Store 9(f4) 44
78              48:     45(int) Load 47(samp)
79              49:    6(float) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 13(if1) 48
80              50:     17(ptr) AccessChain 9(f4) 16
81              51:    6(float) Load 50
82              52:    6(float) FAdd 51 49
83              53:     17(ptr) AccessChain 9(f4) 16
84                              Store 53 52
85              54:     45(int) Load 47(samp)
86              55:   22(fvec2) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 24(if2) 54
87              56:    7(fvec4) Load 9(f4)
88              57:   22(fvec2) VectorShuffle 56 56 0 1
89              58:   22(fvec2) FAdd 57 55
90              59:    7(fvec4) Load 9(f4)
91              60:    7(fvec4) VectorShuffle 59 58 4 5 2 3
92                              Store 9(f4) 60
93              61:     45(int) Load 47(samp)
94              62:   31(fvec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 33(if3) 61
95              63:    7(fvec4) Load 9(f4)
96              64:   31(fvec3) VectorShuffle 63 63 0 1 2
97              65:   31(fvec3) FAdd 64 62
98              66:    7(fvec4) Load 9(f4)
99              67:    7(fvec4) VectorShuffle 66 65 4 5 6 3
100                              Store 9(f4) 67
101              68:     45(int) Load 47(samp)
102              69:    7(fvec4) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 41(if4) 68
103              70:    7(fvec4) Load 9(f4)
104              71:    7(fvec4) FAdd 70 69
105                              Store 9(f4) 71
106              73:   22(fvec2) Load 72(offset)
107              74:    6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 13(if1) 73
108              75:     17(ptr) AccessChain 9(f4) 16
109              76:    6(float) Load 75
110              77:    6(float) FAdd 76 74
111              78:     17(ptr) AccessChain 9(f4) 16
112                              Store 78 77
113              79:   22(fvec2) Load 72(offset)
114              80:   22(fvec2) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 24(if2) 79
115              81:    7(fvec4) Load 9(f4)
116              82:   22(fvec2) VectorShuffle 81 81 0 1
117              83:   22(fvec2) FAdd 82 80
118              84:    7(fvec4) Load 9(f4)
119              85:    7(fvec4) VectorShuffle 84 83 4 5 2 3
120                              Store 9(f4) 85
121              86:   22(fvec2) Load 72(offset)
122              87:   31(fvec3) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 33(if3) 86
123              88:    7(fvec4) Load 9(f4)
124              89:   31(fvec3) VectorShuffle 88 88 0 1 2
125              90:   31(fvec3) FAdd 89 87
126              91:    7(fvec4) Load 9(f4)
127              92:    7(fvec4) VectorShuffle 91 90 4 5 6 3
128                              Store 9(f4) 92
129              93:   22(fvec2) Load 72(offset)
130              94:    7(fvec4) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 41(if4) 93
131              95:    7(fvec4) Load 9(f4)
132              96:    7(fvec4) FAdd 95 94
133                              Store 9(f4) 96
134              99:    7(fvec4) Load 9(f4)
135                              Store 98(fragColor) 99
136                              Return
137                              FunctionEnd
138