Lines Matching refs:basicUniforms
1038 …orms (vector<VarValue>& valuesDst, const vector<BasicUniform>& basicUniforms, deUint32 prog…
1040 …niformDefaultValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms);
1042 …void assignUniforms (const vector<BasicUniform>& basicUniforms, deUint32 programGL, Ran…
1044 …mpareUniformValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms);
1046 …bool renderTest (const vector<BasicUniform>& basicUniforms, const ShaderProgram& progr…
1048 …virtual bool test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniform…
1068 …Comparisons (std::ostringstream& dst, const vector<BasicUniform>& basicUniforms, const char* v…
1070 string generateVertexSource (const vector<BasicUniform>& basicUniforms) const;
1071 string generateFragmentSource (const vector<BasicUniform>& basicUniforms) const;
1318 …formComparisons (std::ostringstream& dst, const vector<BasicUniform>& basicUniforms, const char* c… in writeUniformComparisons() argument
1320 for (int i = 0; i < (int)basicUniforms.size(); i++) in writeUniformComparisons()
1322 const BasicUniform& unif = basicUniforms[i]; in writeUniformComparisons()
1327 writeUniformCompareExpr(dst, basicUniforms[i]); in writeUniformComparisons()
1331 dst << "\t// UNUSED: " << basicUniforms[i].name << "\n"; in writeUniformComparisons()
1335 string UniformCase::generateVertexSource (const vector<BasicUniform>& basicUniforms) const in generateVertexSource()
1355 writeUniformComparisons(result, basicUniforms, "v_vtxOut"); in generateVertexSource()
1362 string UniformCase::generateFragmentSource (const vector<BasicUniform>& basicUniforms) const in generateFragmentSource()
1382 writeUniformComparisons(result, basicUniforms, "result"); in generateFragmentSource()
1704 …getUniforms (vector<VarValue>& valuesDst, const vector<BasicUniform>& basicUniforms, const deUint3… in getUniforms() argument
1709 for (int unifNdx = 0; unifNdx < (int)basicUniforms.size(); unifNdx++) in getUniforms()
1711 const BasicUniform& uniform = basicUniforms[unifNdx]; in getUniforms()
1781 …eckUniformDefaultValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms) in checkUniformDefaultValues() argument
1786 DE_ASSERT(values.size() == basicUniforms.size()); in checkUniformDefaultValues()
1788 for (int unifNdx = 0; unifNdx < (int)basicUniforms.size(); unifNdx++) in checkUniformDefaultValues()
1790 const BasicUniform& uniform = basicUniforms[unifNdx]; in checkUniformDefaultValues()
1837 void UniformCase::assignUniforms (const vector<BasicUniform>& basicUniforms, deUint32 programGL, Ra… in assignUniforms() argument
1846 for (int unifNdx = 0; unifNdx < (int)basicUniforms.size(); unifNdx++) in assignUniforms()
1848 const BasicUniform& uniform = basicUniforms[unifNdx]; in assignUniforms()
1877 …const vector<BasicUniform>::const_iterator elemUnif = BasicUniform::findWithName(basicUniforms, cu… in assignUniforms()
1878 if (elemUnif == basicUniforms.end()) in assignUniforms()
2040 …e::compareUniformValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms) in compareUniformValues() argument
2045 for (int unifNdx = 0; unifNdx < (int)basicUniforms.size(); unifNdx++) in compareUniformValues()
2047 const BasicUniform& uniform = basicUniforms[unifNdx]; in compareUniformValues()
2065 bool UniformCase::renderTest (const vector<BasicUniform>& basicUniforms, const ShaderProgram& progr… in renderTest() argument
2076 for (int i = 0; i < (int)basicUniforms.size(); i++) in renderTest()
2078 if (glu::isDataTypeSampler(basicUniforms[i].type)) in renderTest()
2082 …if (glu::isDataTypeSampler(basicUniforms[j].type) && basicUniforms[i].type != basicUniforms[j].typ… in renderTest()
2083 …DE_ASSERT(basicUniforms[i].finalValue.val.samplerV.unit != basicUniforms[j].finalValue.val.sampler… in renderTest()
2088 for (int i = 0; i < (int)basicUniforms.size(); i++) in renderTest()
2090 …glu::isDataTypeSampler(basicUniforms[i].type) && std::find(m_filledTextureUnits.begin(), m_filledT… in renderTest()
2092 …texture at unit " << apiVarValueStr(basicUniforms[i].finalValue) << " with color " << shaderVarVal… in renderTest()
2093 setupTexture(basicUniforms[i].finalValue); in renderTest()
2144 vector<BasicUniform> basicUniforms; in iterate() local
2150 …generateBasicUniforms(basicUniforms, basicUniformReportsRef, m_uniformCollection->getUniform(i).ty… in iterate()
2153 const string vertexSource = generateVertexSource(basicUniforms); in iterate()
2154 const string fragmentSource = generateFragmentSource(basicUniforms); in iterate()
2167 const bool success = test(basicUniforms, basicUniformReportsRef, program, rnd); in iterate()
2187 …bool test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformReportRef>& …
2228 bool UniformInfoQueryCase::test (const vector<BasicUniform>& basicUniforms, const vector<BasicUnifo… in test() argument
2230 DE_UNREF(basicUniforms); in test()
2331 …bool test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformReportRef>&…
2422 bool UniformValueCase::test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformRe… in test() argument
2432 assignUniforms(basicUniforms, programGL, rnd); in test()
2443 const bool success = getUniforms(values, basicUniforms, program.getProgram()); in test()
2452 const bool success = compareUniformValues(values, basicUniforms); in test()
2462 const bool success = checkUniformDefaultValues(values, basicUniforms); in test()
2473 const bool success = renderTest(basicUniforms, program, rnd); in test()
2487 …bool test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformReportRef>& …
2495 bool RandomUniformCase::test (const vector<BasicUniform>& basicUniforms, const vector<BasicUniformR… in test() argument
2539 …PERFORM_AND_CHECK(getUniforms(uniformDefaultValues, basicUniforms, programGL), "GetUniformDefaults… in test()
2541 …PERFORM_AND_CHECK(checkUniformDefaultValues(uniformDefaultValues, basicUniforms), "DefaultValueChe… in test()
2550 assignUniforms(basicUniforms, programGL, rnd); in test()
2554 …PERFORM_AND_CHECK(getUniforms(uniformValues, basicUniforms, programGL), "GetUniforms", "Uniform va… in test()
2555 …PERFORM_AND_CHECK(compareUniformValues(uniformValues, basicUniforms), "ValueCheck", "Verify that t… in test()
2560 PERFORM_AND_CHECK(renderTest(basicUniforms, program, rnd), "RenderTest", "Render test"); in test()