segfault in convolution, caused by textures loading; else work fine