Spec language only has the requirement that max number of vectors is
the max number of components divided by four.
Bug:
21445539
Change-Id: I6f2c630bfbdb43e06667fa8cea5c6209922b6285
int value = -1;
gl.getIntegerv(pname, &value);
GLU_EXPECT_NO_ERROR(gl.getError(), ("glGetIntegerv(" + glu::getGettableStateStr((int)pname).toString() + ")").c_str());
- TCU_CHECK_MSG(value%4 == 0, ("Expected " + glu::getGettableStateStr((int)pname).toString() + " to be divisible by 4").c_str());
+ // Accept truncated division. According to the spec, the number of vectors is number of components divided by four, plain and simple.
return value/4;
}