Lines Matching refs:basicUniforms
869 …orms (vector<VarValue>& valuesDst, const vector<BasicUniform>& basicUniforms, deUint32 prog…
871 …niformDefaultValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms);
873 …void assignUniforms (const vector<BasicUniform>& basicUniforms, deUint32 programGL, Ran…
875 …mpareUniformValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms);
877 …bool renderTest (const vector<BasicUniform>& basicUniforms, const ShaderProgram& progr…
879 …virtual bool test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniform…
899 …Comparisons (std::ostringstream& dst, const vector<BasicUniform>& basicUniforms, const char* v…
901 string generateVertexSource (const vector<BasicUniform>& basicUniforms) const;
902 string generateFragmentSource (const vector<BasicUniform>& basicUniforms) const;
1128 …formComparisons (std::ostringstream& dst, const vector<BasicUniform>& basicUniforms, const char* c… in writeUniformComparisons() argument
1130 for (int i = 0; i < (int)basicUniforms.size(); i++) in writeUniformComparisons()
1132 const BasicUniform& unif = basicUniforms[i]; in writeUniformComparisons()
1137 writeUniformCompareExpr(dst, basicUniforms[i]); in writeUniformComparisons()
1141 dst << "\t// UNUSED: " << basicUniforms[i].name << "\n"; in writeUniformComparisons()
1145 string UniformCase::generateVertexSource (const vector<BasicUniform>& basicUniforms) const in generateVertexSource()
1164 writeUniformComparisons(result, basicUniforms, "v_vtxOut"); in generateVertexSource()
1171 string UniformCase::generateFragmentSource (const vector<BasicUniform>& basicUniforms) const in generateFragmentSource()
1188 writeUniformComparisons(result, basicUniforms, "result"); in generateFragmentSource()
1347 …getUniforms (vector<VarValue>& valuesDst, const vector<BasicUniform>& basicUniforms, const deUint3… in getUniforms() argument
1352 for (int unifNdx = 0; unifNdx < (int)basicUniforms.size(); unifNdx++) in getUniforms()
1354 const BasicUniform& uniform = basicUniforms[unifNdx]; in getUniforms()
1415 …eckUniformDefaultValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms) in checkUniformDefaultValues() argument
1420 DE_ASSERT(values.size() == basicUniforms.size()); in checkUniformDefaultValues()
1422 for (int unifNdx = 0; unifNdx < (int)basicUniforms.size(); unifNdx++) in checkUniformDefaultValues()
1424 const BasicUniform& uniform = basicUniforms[unifNdx]; in checkUniformDefaultValues()
1469 void UniformCase::assignUniforms (const vector<BasicUniform>& basicUniforms, deUint32 programGL, Ra… in assignUniforms() argument
1475 for (int unifNdx = 0; unifNdx < (int)basicUniforms.size(); unifNdx++) in assignUniforms()
1477 const BasicUniform& uniform = basicUniforms[unifNdx]; in assignUniforms()
1506 …const vector<BasicUniform>::const_iterator elemUnif = BasicUniform::findWithName(basicUniforms, cu… in assignUniforms()
1507 if (elemUnif == basicUniforms.end()) in assignUniforms()
1628 …e::compareUniformValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms) in compareUniformValues() argument
1633 for (int unifNdx = 0; unifNdx < (int)basicUniforms.size(); unifNdx++) in compareUniformValues()
1635 const BasicUniform& uniform = basicUniforms[unifNdx]; in compareUniformValues()
1653 bool UniformCase::renderTest (const vector<BasicUniform>& basicUniforms, const ShaderProgram& progr… in renderTest() argument
1664 for (int i = 0; i < (int)basicUniforms.size(); i++) in renderTest()
1666 if (glu::isDataTypeSampler(basicUniforms[i].type)) in renderTest()
1670 …if (glu::isDataTypeSampler(basicUniforms[j].type) && basicUniforms[i].type != basicUniforms[j].typ… in renderTest()
1671 …DE_ASSERT(basicUniforms[i].finalValue.val.samplerV.unit != basicUniforms[j].finalValue.val.sampler… in renderTest()
1676 for (int i = 0; i < (int)basicUniforms.size(); i++) in renderTest()
1678 …glu::isDataTypeSampler(basicUniforms[i].type) && std::find(m_filledTextureUnits.begin(), m_filledT… in renderTest()
1680 …texture at unit " << apiVarValueStr(basicUniforms[i].finalValue) << " with color " << shaderVarVal… in renderTest()
1681 setupTexture(basicUniforms[i].finalValue); in renderTest()
1734 vector<BasicUniform> basicUniforms; in iterate() local
1740 …generateBasicUniforms(basicUniforms, basicUniformReportsRef, m_uniformCollection->getUniform(i).ty… in iterate()
1743 const string vertexSource = generateVertexSource(basicUniforms); in iterate()
1744 const string fragmentSource = generateFragmentSource(basicUniforms); in iterate()
1757 const bool success = test(basicUniforms, basicUniformReportsRef, program, rnd); in iterate()
1768 …bool test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformReportRef>& ba…
1776 bool UniformInfoQueryCase::test (const vector<BasicUniform>& basicUniforms, const vector<BasicUnifo… in test() argument
1778 DE_UNREF(basicUniforms); in test()
1829 …bool test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformReportRef>&…
1920 bool UniformValueCase::test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformRe… in test() argument
1930 assignUniforms(basicUniforms, programGL, rnd); in test()
1941 const bool success = getUniforms(values, basicUniforms, program.getProgram()); in test()
1950 const bool success = compareUniformValues(values, basicUniforms); in test()
1959 const bool success = checkUniformDefaultValues(values, basicUniforms); in test()
1970 const bool success = renderTest(basicUniforms, program, rnd); in test()
1984 …bool test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformReportRef>& …
1992 bool RandomUniformCase::test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformR… in test() argument
2028 …PERFORM_AND_CHECK(getUniforms(uniformDefaultValues, basicUniforms, programGL), "GetUniformDefaults… in test()
2030 …PERFORM_AND_CHECK(checkUniformDefaultValues(uniformDefaultValues, basicUniforms), "DefaultValueChe… in test()
2039 assignUniforms(basicUniforms, programGL, rnd); in test()
2043 …PERFORM_AND_CHECK(getUniforms(uniformValues, basicUniforms, programGL), "GetUniforms", "Uniform va… in test()
2044 …PERFORM_AND_CHECK(compareUniformValues(uniformValues, basicUniforms), "ValueCheck", "Verify that t… in test()
2049 PERFORM_AND_CHECK(renderTest(basicUniforms, program, rnd), "RenderTest", "Render test"); in test()