fix issue in OpenGL compute kernel, reported by latest NVIDIA driver