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