optimize away the allocation in glUniform?fv with count == 1