spv.130.frag | |
WARNING: 0:34: '#extension' : extension is only partially supported: GL_ARB_gpu_shader5 | |
Linked fragment stage: | |
// Module Version 10000 | |
// Generated by (magic number): 80001 | |
// Id's are bound by 212 | |
Capability Shader | |
1: ExtInstImport "GLSL.std.450" | |
MemoryModel Logical GLSL450 | |
EntryPoint Fragment 4 "main" 78 17 68 98 182 183 184 185 185 171 | |
ExecutionMode 4 OriginLowerLeft | |
Source GLSL 130 | |
SourceExtension "GL_ARB_gpu_shader5" | |
SourceExtension "GL_ARB_shader_texture_lod" | |
SourceExtension "GL_ARB_shading_language_420pack" | |
SourceExtension "GL_ARB_texture_cube_map_array" | |
SourceExtension "GL_ARB_texture_gather" | |
SourceExtension "GL_ARB_texture_rectangle" | |
Name 4 "main" | |
Name 6 "bar3(" | |
Name 8 "bar4(" | |
Name 10 "bar5(" | |
Name 12 "bar6(" | |
Name 17 "o" | |
Name 21 "samp2D" | |
Name 37 "samp2DA" | |
Name 47 "samp2DR" | |
Name 55 "samp2DS" | |
Name 68 "io" | |
Name 72 "Sca" | |
Name 78 "i" | |
Name 86 "Isca" | |
Name 98 "uo" | |
Name 102 "Usca" | |
Name 113 "a" | |
Name 117 "Scas" | |
Name 122 "f" | |
Name 131 "c" | |
Name 152 "a1" | |
Name 155 "m43" | |
Name 158 "b" | |
Name 165 "sampC" | |
Name 171 "gl_ClipDistance" | |
Name 181 "b" | |
Name 182 "fflat" | |
Name 183 "fsmooth" | |
Name 184 "fnop" | |
Name 185 "gl_Color" | |
Name 192 "bounds" | |
Name 193 "s2D" | |
Name 194 "s2DR" | |
Name 198 "s2DRS" | |
Name 202 "s1D" | |
Name 203 "s2DS" | |
Name 205 "f" | |
Name 207 "v2" | |
Name 209 "v3" | |
Name 211 "v4" | |
Decorate 171(gl_ClipDistance) BuiltIn ClipDistance | |
Decorate 182(fflat) Flat | |
Decorate 184(fnop) NoPerspective | |
Decorate 192(bounds) Binding 0 | |
2: TypeVoid | |
3: TypeFunction 2 | |
14: TypeFloat 32 | |
15: TypeVector 14(float) 4 | |
16: TypePointer Output 15(fvec4) | |
17(o): 16(ptr) Variable Output | |
18: TypeImage 14(float) 2D sampled format:Unknown | |
19: TypeSampledImage 18 | |
20: TypePointer UniformConstant 19 | |
21(samp2D): 20(ptr) Variable UniformConstant | |
23: TypeVector 14(float) 2 | |
24: 14(float) Constant 1050253722 | |
25: 23(fvec2) ConstantComposite 24 24 | |
26: TypeInt 32 1 | |
27: TypeVector 26(int) 2 | |
28: 26(int) Constant 1 | |
29: 27(ivec2) ConstantComposite 28 28 | |
30: 26(int) Constant 0 | |
34: TypeImage 14(float) 2D array sampled format:Unknown | |
35: TypeSampledImage 34 | |
36: TypePointer UniformConstant 35 | |
37(samp2DA): 36(ptr) Variable UniformConstant | |
39: TypeVector 14(float) 3 | |
40: 39(fvec3) ConstantComposite 24 24 24 | |
44: TypeImage 14(float) Rect sampled format:Unknown | |
45: TypeSampledImage 44 | |
46: TypePointer UniformConstant 45 | |
47(samp2DR): 46(ptr) Variable UniformConstant | |
52: TypeImage 14(float) 2D depth sampled format:Unknown | |
53: TypeSampledImage 52 | |
54: TypePointer UniformConstant 53 | |
55(samp2DS): 54(ptr) Variable UniformConstant | |
57: 14(float) Constant 1067869798 | |
62: 26(int) Constant 2 | |
66: TypeVector 26(int) 3 | |
67: TypePointer Output 66(ivec3) | |
68(io): 67(ptr) Variable Output | |
69: TypeImage 14(float) Cube array sampled format:Unknown | |
70: TypeSampledImage 69 | |
71: TypePointer UniformConstant 70 | |
72(Sca): 71(ptr) Variable UniformConstant | |
74: 26(int) Constant 3 | |
77: TypePointer Input 15(fvec4) | |
78(i): 77(ptr) Variable Input | |
83: TypeImage 26(int) Cube array sampled format:Unknown | |
84: TypeSampledImage 83 | |
85: TypePointer UniformConstant 84 | |
86(Isca): 85(ptr) Variable UniformConstant | |
89: 14(float) Constant 1060320051 | |
90: TypeVector 26(int) 4 | |
95: TypeInt 32 0 | |
96: TypeVector 95(int) 4 | |
97: TypePointer Output 96(ivec4) | |
98(uo): 97(ptr) Variable Output | |
99: TypeImage 95(int) Cube array sampled format:Unknown | |
100: TypeSampledImage 99 | |
101: TypePointer UniformConstant 100 | |
102(Usca): 101(ptr) Variable UniformConstant | |
108: 14(float) Constant 1071225242 | |
112: TypePointer Private 39(fvec3) | |
113(a): 112(ptr) Variable Private | |
114: TypeImage 14(float) Cube depth array sampled format:Unknown | |
115: TypeSampledImage 114 | |
116: TypePointer UniformConstant 115 | |
117(Scas): 116(ptr) Variable UniformConstant | |
121: TypePointer Function 14(float) | |
125: 95(int) Constant 1 | |
126: TypePointer Input 14(float) | |
130: TypePointer Function 90(ivec4) | |
134: 14(float) Constant 1036831949 | |
135: 39(fvec3) ConstantComposite 134 134 134 | |
136: 14(float) Constant 1045220557 | |
137: 39(fvec3) ConstantComposite 136 136 136 | |
153: TypeMatrix 39(fvec3) 4 | |
154: TypePointer Function 153 | |
159: 14(float) Constant 1073741824 | |
162: TypeImage 14(float) Cube sampled format:Unknown | |
163: TypeSampledImage 162 | |
164: TypePointer UniformConstant 163 | |
165(sampC): 164(ptr) Variable UniformConstant | |
168: 95(int) Constant 4 | |
169: TypeArray 14(float) 168 | |
170: TypePointer Input 169 | |
171(gl_ClipDistance): 170(ptr) Variable Input | |
174: TypePointer Output 14(float) | |
180: TypePointer Private 14(float) | |
181(b): 180(ptr) Variable Private | |
182(fflat): 126(ptr) Variable Input | |
183(fsmooth): 126(ptr) Variable Input | |
184(fnop): 126(ptr) Variable Input | |
185(gl_Color): 77(ptr) Variable Input | |
186: 95(int) Constant 3 | |
187: TypeArray 26(int) 186 | |
188: 26(int) Constant 10 | |
189: 26(int) Constant 23 | |
190: 26(int) Constant 32 | |
191: 187 ConstantComposite 188 189 190 | |
192(bounds): 20(ptr) Variable UniformConstant | |
193(s2D): 20(ptr) Variable UniformConstant | |
194(s2DR): 46(ptr) Variable UniformConstant | |
195: TypeImage 14(float) Rect depth sampled format:Unknown | |
196: TypeSampledImage 195 | |
197: TypePointer UniformConstant 196 | |
198(s2DRS): 197(ptr) Variable UniformConstant | |
199: TypeImage 14(float) 1D sampled format:Unknown | |
200: TypeSampledImage 199 | |
201: TypePointer UniformConstant 200 | |
202(s1D): 201(ptr) Variable UniformConstant | |
203(s2DS): 54(ptr) Variable UniformConstant | |
204: TypePointer UniformConstant 14(float) | |
205(f): 204(ptr) Variable UniformConstant | |
206: TypePointer UniformConstant 23(fvec2) | |
207(v2): 206(ptr) Variable UniformConstant | |
208: TypePointer UniformConstant 39(fvec3) | |
209(v3): 208(ptr) Variable UniformConstant | |
210: TypePointer UniformConstant 15(fvec4) | |
211(v4): 210(ptr) Variable UniformConstant | |
4(main): 2 Function None 3 | |
5: Label | |
166: 163 Load 165(sampC) | |
167: 15(fvec4) ImageGather 166 137 30 | |
Store 17(o) 167 | |
172: 126(ptr) AccessChain 171(gl_ClipDistance) 74 | |
173: 14(float) Load 172 | |
175: 174(ptr) AccessChain 17(o) 125 | |
Store 175 173 | |
176: 2 FunctionCall 6(bar3() | |
177: 2 FunctionCall 8(bar4() | |
178: 2 FunctionCall 10(bar5() | |
179: 2 FunctionCall 12(bar6() | |
Return | |
FunctionEnd | |
6(bar3(): 2 Function None 3 | |
7: Label | |
22: 19 Load 21(samp2D) | |
31: 15(fvec4) ImageGather 22 25 30 ConstOffset 29 | |
32: 15(fvec4) Load 17(o) | |
33: 15(fvec4) FAdd 32 31 | |
Store 17(o) 33 | |
38: 35 Load 37(samp2DA) | |
41: 15(fvec4) ImageGather 38 40 30 ConstOffset 29 | |
42: 15(fvec4) Load 17(o) | |
43: 15(fvec4) FAdd 42 41 | |
Store 17(o) 43 | |
Return | |
FunctionEnd | |
8(bar4(): 2 Function None 3 | |
9: Label | |
48: 45 Load 47(samp2DR) | |
49: 15(fvec4) ImageGather 48 25 30 ConstOffset 29 | |
50: 15(fvec4) Load 17(o) | |
51: 15(fvec4) FAdd 50 49 | |
Store 17(o) 51 | |
56: 53 Load 55(samp2DS) | |
58: 15(fvec4) ImageDrefGather 56 25 57 ConstOffset 29 | |
59: 15(fvec4) Load 17(o) | |
60: 15(fvec4) FAdd 59 58 | |
Store 17(o) 60 | |
61: 19 Load 21(samp2D) | |
63: 15(fvec4) ImageGather 61 25 62 ConstOffset 29 | |
64: 15(fvec4) Load 17(o) | |
65: 15(fvec4) FAdd 64 63 | |
Store 17(o) 65 | |
Return | |
FunctionEnd | |
10(bar5(): 2 Function None 3 | |
11: Label | |
122(f): 121(ptr) Variable Function | |
131(c): 130(ptr) Variable Function | |
73: 70 Load 72(Sca) | |
75: 66(ivec3) ImageQuerySizeLod 73 74 | |
Store 68(io) 75 | |
76: 70 Load 72(Sca) | |
79: 15(fvec4) Load 78(i) | |
80: 15(fvec4) ImageSampleImplicitLod 76 79 | |
81: 15(fvec4) Load 17(o) | |
82: 15(fvec4) FAdd 81 80 | |
Store 17(o) 82 | |
87: 84 Load 86(Isca) | |
88: 15(fvec4) Load 78(i) | |
91: 90(ivec4) ImageSampleImplicitLod 87 88 Bias 89 | |
92: 66(ivec3) VectorShuffle 91 91 0 1 2 | |
93: 66(ivec3) Load 68(io) | |
94: 66(ivec3) IAdd 93 92 | |
Store 68(io) 94 | |
103: 100 Load 102(Usca) | |
104: 15(fvec4) Load 78(i) | |
105: 96(ivec4) ImageSampleImplicitLod 103 104 | |
Store 98(uo) 105 | |
106: 70 Load 72(Sca) | |
107: 15(fvec4) Load 78(i) | |
109: 15(fvec4) ImageSampleExplicitLod 106 107 Lod 108 | |
110: 15(fvec4) Load 17(o) | |
111: 15(fvec4) FAdd 110 109 | |
Store 17(o) 111 | |
118: 115 Load 117(Scas) | |
119: 66(ivec3) ImageQuerySizeLod 118 74 | |
120: 39(fvec3) ConvertSToF 119 | |
Store 113(a) 120 | |
123: 115 Load 117(Scas) | |
124: 15(fvec4) Load 78(i) | |
127: 126(ptr) AccessChain 78(i) 125 | |
128: 14(float) Load 127 | |
129: 14(float) ImageSampleDrefImplicitLod 123 124 128 | |
Store 122(f) 129 | |
132: 84 Load 86(Isca) | |
133: 15(fvec4) Load 78(i) | |
138: 90(ivec4) ImageSampleExplicitLod 132 133 Grad 135 137 | |
Store 131(c) 138 | |
139: 39(fvec3) Load 113(a) | |
140: 14(float) Load 122(f) | |
141: 90(ivec4) Load 131(c) | |
142: 15(fvec4) ConvertSToF 141 | |
143: 15(fvec4) CompositeConstruct 140 140 140 140 | |
144: 15(fvec4) FAdd 143 142 | |
145: 14(float) CompositeExtract 139 0 | |
146: 14(float) CompositeExtract 139 1 | |
147: 14(float) CompositeExtract 139 2 | |
148: 14(float) CompositeExtract 144 0 | |
149: 15(fvec4) CompositeConstruct 145 146 147 148 | |
150: 15(fvec4) Load 17(o) | |
151: 15(fvec4) FAdd 150 149 | |
Store 17(o) 151 | |
Return | |
FunctionEnd | |
12(bar6(): 2 Function None 3 | |
13: Label | |
152(a1): 121(ptr) Variable Function | |
155(m43): 154(ptr) Variable Function | |
158(b): 121(ptr) Variable Function | |
156: 121(ptr) AccessChain 155(m43) 74 125 | |
157: 14(float) Load 156 | |
Store 152(a1) 157 | |
160: 14(float) Load 152(a1) | |
161: 14(float) FMul 159 160 | |
Store 158(b) 161 | |
Return | |
FunctionEnd |