Use vertex attributes in shader to workaround issue with Intel integrated graphics