Home
last modified time | relevance | path

Searched refs:valuesToAssign (Results 1 – 3 of 3) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fProgramUniformTests.cpp1371 vector<VarValue> valuesToAssign; in assignUniforms() local
1392valuesToAssign.push_back(glu::isDataTypeMatrix(apiValue.type) && transpose ? getTransposeMatrix(ap… in assignUniforms()
1400 DE_ASSERT(!valuesToAssign.empty()); in assignUniforms()
1402 if (glu::isDataTypeFloatOrVec(valuesToAssign[0].type)) in assignUniforms()
1406 const float* const ptr = &valuesToAssign[0].val.floatV[0]; in assignUniforms()
1420 vector<float> buffer(valuesToAssign.size() * typeSize); in assignUniforms()
1422 buffer[i] = valuesToAssign[i / typeSize].val.floatV[i % typeSize]; in assignUniforms()
1427 …case 1: GLU_CHECK_CALL(glProgramUniform1fv(programGL, location, (GLsizei)valuesToAssign.size(), &b… in assignUniforms()
1428 …case 2: GLU_CHECK_CALL(glProgramUniform2fv(programGL, location, (GLsizei)valuesToAssign.size(), &b… in assignUniforms()
1429 …case 3: GLU_CHECK_CALL(glProgramUniform3fv(programGL, location, (GLsizei)valuesToAssign.size(), &b… in assignUniforms()
[all …]
/external/deqp/modules/gles3/functional/
Des3fUniformApiTests.cpp1868 vector<VarValue> valuesToAssign; in assignUniforms() local
1889valuesToAssign.push_back(glu::isDataTypeMatrix(apiValue.type) && transpose ? getTransposeMatrix(ap… in assignUniforms()
1897 DE_ASSERT(!valuesToAssign.empty()); in assignUniforms()
1899 if (glu::isDataTypeFloatOrVec(valuesToAssign[0].type)) in assignUniforms()
1903 const float* const ptr = &valuesToAssign[0].val.floatV[0]; in assignUniforms()
1917 vector<float> buffer(valuesToAssign.size() * typeSize); in assignUniforms()
1919 buffer[i] = valuesToAssign[i / typeSize].val.floatV[i % typeSize]; in assignUniforms()
1924 … case 1: GLU_CHECK_CALL(glUniform1fv(location, (GLsizei)valuesToAssign.size(), &buffer[0])); break; in assignUniforms()
1925 … case 2: GLU_CHECK_CALL(glUniform2fv(location, (GLsizei)valuesToAssign.size(), &buffer[0])); break; in assignUniforms()
1926 … case 3: GLU_CHECK_CALL(glUniform3fv(location, (GLsizei)valuesToAssign.size(), &buffer[0])); break; in assignUniforms()
[all …]
/external/deqp/modules/gles2/functional/
Des2fUniformApiTests.cpp1497 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()
[all …]