Use texture buffer instead of uniform for samples

Should fix nvidia glsl error