Lines Matching refs:valuesToAssign
1497 vector<VarValue> valuesToAssign; in assignUniforms() local
1518 valuesToAssign.push_back(apiValue); in assignUniforms()
1526 DE_ASSERT(!valuesToAssign.empty()); in assignUniforms()
1528 if (glu::isDataTypeFloatOrVec(valuesToAssign[0].type)) in assignUniforms()
1532 const float* const ptr = &valuesToAssign[0].val.floatV[0]; in assignUniforms()
1546 vector<float> buffer(valuesToAssign.size() * typeSize); in assignUniforms()
1548 buffer[i] = valuesToAssign[i / typeSize].val.floatV[i % typeSize]; in assignUniforms()
1553 … case 1: GLU_CHECK_CALL(glUniform1fv(location, (GLsizei)valuesToAssign.size(), &buffer[0])); break; in assignUniforms()
1554 … case 2: GLU_CHECK_CALL(glUniform2fv(location, (GLsizei)valuesToAssign.size(), &buffer[0])); break; in assignUniforms()
1555 … case 3: GLU_CHECK_CALL(glUniform3fv(location, (GLsizei)valuesToAssign.size(), &buffer[0])); break; in assignUniforms()
1556 … case 4: GLU_CHECK_CALL(glUniform4fv(location, (GLsizei)valuesToAssign.size(), &buffer[0])); break; in assignUniforms()
1562 else if (glu::isDataTypeMatrix(valuesToAssign[0].type)) in assignUniforms()
1566 vector<float> buffer(valuesToAssign.size() * typeSize); in assignUniforms()
1568 buffer[i] = valuesToAssign[i / typeSize].val.floatV[i % typeSize]; in assignUniforms()
1572 …case glu::TYPE_FLOAT_MAT2: GLU_CHECK_CALL(glUniformMatrix2fv(location, (GLsizei)valuesToAssign.siz… in assignUniforms()
1573 …case glu::TYPE_FLOAT_MAT3: GLU_CHECK_CALL(glUniformMatrix3fv(location, (GLsizei)valuesToAssign.siz… in assignUniforms()
1574 …case glu::TYPE_FLOAT_MAT4: GLU_CHECK_CALL(glUniformMatrix4fv(location, (GLsizei)valuesToAssign.siz… in assignUniforms()
1579 else if (glu::isDataTypeIntOrIVec(valuesToAssign[0].type)) in assignUniforms()
1583 const deInt32* const ptr = &valuesToAssign[0].val.intV[0]; in assignUniforms()
1597 vector<deInt32> buffer(valuesToAssign.size() * typeSize); in assignUniforms()
1599 buffer[i] = valuesToAssign[i / typeSize].val.intV[i % typeSize]; in assignUniforms()
1604 … case 1: GLU_CHECK_CALL(glUniform1iv(location, (GLsizei)valuesToAssign.size(), &buffer[0])); break; in assignUniforms()
1605 … case 2: GLU_CHECK_CALL(glUniform2iv(location, (GLsizei)valuesToAssign.size(), &buffer[0])); break; in assignUniforms()
1606 … case 3: GLU_CHECK_CALL(glUniform3iv(location, (GLsizei)valuesToAssign.size(), &buffer[0])); break; in assignUniforms()
1607 … case 4: GLU_CHECK_CALL(glUniform4iv(location, (GLsizei)valuesToAssign.size(), &buffer[0])); break; in assignUniforms()
1613 else if (glu::isDataTypeSampler(valuesToAssign[0].type)) in assignUniforms()
1620 GLU_CHECK_CALL(glUniform1iv(location, (GLsizei)valuesToAssign.size(), &unit)); in assignUniforms()