Lines Matching refs:basicUniformReportsRef
1049 virtual bool test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformReportRef>& basicUniformReportsRef, const ShaderProgram& program, Random& rnd) = 0;
1458 bool UniformCase::getActiveUniforms (vector<BasicUniformReportGL>& basicUniformReportsDst, const vector<BasicUniformReportRef>& basicUniformReportsRef, const deUint32 programGL)
1496 for (referenceNdx = 0; referenceNdx < (int)basicUniformReportsRef.size(); referenceNdx++)
1498 if (basicUniformReportsRef[referenceNdx].name == reportedNameStr)
1502 if (referenceNdx >= (int)basicUniformReportsRef.size())
1509 const BasicUniformReportRef& reference = basicUniformReportsRef[referenceNdx];
1541 for (int i = 0; i < (int)basicUniformReportsRef.size(); i++)
1543 const BasicUniformReportRef& expected = basicUniformReportsRef[i];
1554 bool UniformCase::getActiveUniformsiv (vector<BasicUniformReportGL>& basicUniformReportsDst, const vector<BasicUniformReportRef>& basicUniformReportsRef, const deUint32 programGL)
1557 vector<string> queryNames (basicUniformReportsRef.size());
1558 vector<const char*> queryNamesC (basicUniformReportsRef.size());
1559 vector<GLuint> uniformIndices (basicUniformReportsRef.size());
1563 for (int i = 0; i < (int)basicUniformReportsRef.size(); i++)
1565 const string& name = basicUniformReportsRef[i].name;
1570 GLU_CHECK_CALL(glGetUniformIndices(programGL, (GLsizei)basicUniformReportsRef.size(), &queryNamesC[0], &uniformIndices[0]));
1578 if (basicUniformReportsRef[i].isUsedInShader)
1580 log << TestLog::Message << "// FAILURE: uniform with name " << basicUniformReportsRef[i].name << " received GL_INVALID_INDEX" << TestLog::EndMessage;
1605 const BasicUniformReportRef& reference = basicUniformReportsRef[unifNdx];
2155 vector<BasicUniformReportRef> basicUniformReportsRef;
2160 generateBasicUniforms(basicUniforms, basicUniformReportsRef, m_uniformCollection->getUniform(i).type, m_uniformCollection->getUniform(i).name.c_str(), true, samplerUnitCounter, rnd);
2177 const bool success = test(basicUniforms, basicUniformReportsRef, program, rnd);
2197 bool test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformReportRef>& basicUniformReportsRef, const ShaderProgram& program, Random& rnd);
2238 bool UniformInfoQueryCase::test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformReportRef>& basicUniformReportsRef, const ShaderProgram& program, Random& rnd)
2254 success = getActiveUniforms(basicUniformReportsUniform, basicUniformReportsRef, programGL);
2275 success = getActiveUniformsiv(basicUniformReportsUniformsiv, basicUniformReportsRef, programGL);
2341 bool test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformReportRef>& basicUniformReportsRef, const ShaderProgram& program, Random& rnd);
2432 bool UniformValueCase::test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformReportRef>& basicUniformReportsRef, const ShaderProgram& program, Random& rnd)
2434 DE_UNREF(basicUniformReportsRef);
2497 bool test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformReportRef>& basicUniformReportsRef, const ShaderProgram& program, Random& rnd);
2505 bool RandomUniformCase::test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformReportRef>& basicUniformReportsRef, const ShaderProgram& program, Random& rnd)
2538 basicUniformReportsRef, programGL), "InfoGetActiveUniform", "Uniform information queries with glGetActiveUniform()");
2540 PERFORM_AND_CHECK(getActiveUniformsiv(reportsUniformsiv, basicUniformReportsRef, programGL), "InfoGetActiveUniformsiv", "Uniform information queries with glGetIndices() and glGetActiveUniformsiv()");