Lines Matching refs:valueBlock
439 const ValueBlock& valueBlock = m_valueBlocks[0]; in init() local
454 …rogramNdx].programSources, m_programs[programNdx].spec.vertexSources, valueBlock, m_programs[prog… in init()
455 …ogramNdx].programSources, m_programs[programNdx].spec.fragmentSources, valueBlock, m_programs[prog… in init()
456 …ogramNdx].programSources, m_programs[programNdx].spec.geometrySources, valueBlock, m_programs[prog… in init()
457 …ogramNdx].programSources, m_programs[programNdx].spec.tessCtrlSources, valueBlock, m_programs[prog… in init()
458 …ogramNdx].programSources, m_programs[programNdx].spec.tessEvalSources, valueBlock, m_programs[prog… in init()
466 …glu::VertexSource(specializeVertexShader(m_programs[0].spec.vertexSources[0].c_str(), valueBlock)); in init()
467 m_programs[0].programSources << glu::FragmentSource(genFragmentShader(valueBlock)); in init()
475 m_programs[0].programSources << glu::VertexSource(genVertexShader(valueBlock)); in init()
476 …ragmentSource(specializeFragmentShader(m_programs[0].spec.fragmentSources[0].c_str(), valueBlock)); in init()
876 const ValueBlock& valueBlock = m_valueBlocks[blockNdx]; in execute() local
879 const int numRenderPasses = (valueBlock.arrayLength == 0) ? (1) : (valueBlock.arrayLength); in execute()
884 int numValues = (int)valueBlock.values.size(); in execute()
898 const ShaderCase::Value& val = valueBlock.values[valNdx]; in execute()
967 const ShaderCase::Value& val = valueBlock.values[valNdx]; in execute()
1033 << ", sub-case " << arrayNdx+1 << " of " << valueBlock.arrayLength << "):" in execute()
1037 dumpValues(valueBlock, arrayNdx); in execute()
1161 string ShaderCase::genVertexShader (const ValueBlock& valueBlock) const in genVertexShader()
1175 for (int ndx = 0; ndx < (int)valueBlock.values.size(); ndx++) in genVertexShader()
1177 const ShaderCase::Value& val = valueBlock.values[ndx]; in genVertexShader()
1198 for (int ndx = 0; ndx < (int)valueBlock.values.size(); ndx++) in genVertexShader()
1200 const ShaderCase::Value& val = valueBlock.values[ndx]; in genVertexShader()
1215 static void genCompareFunctions (ostringstream& stream, const ShaderCase::ValueBlock& valueBlock, b… in genCompareFunctions() argument
1221 for (int valueNdx = 0; valueNdx < (int)valueBlock.values.size(); valueNdx++) in genCompareFunctions()
1223 const ShaderCase::Value& val = valueBlock.values[valueNdx]; in genCompareFunctions()
1275 …gstream& output, const char* dstVec4Var, const ShaderCase::ValueBlock& valueBlock, const char* non… in genCompareOp() argument
1279 for (int ndx = 0; ndx < (int)valueBlock.values.size(); ndx++) in genCompareOp()
1281 const ShaderCase::Value& val = valueBlock.values[ndx]; in genCompareOp()
1314 string ShaderCase::genFragmentShader (const ValueBlock& valueBlock) const in genFragmentShader()
1334 genCompareFunctions(shader, valueBlock, true); in genFragmentShader()
1338 for (int ndx = 0; ndx < (int)valueBlock.values.size(); ndx++) in genFragmentShader()
1340 const ShaderCase::Value& val = valueBlock.values[ndx]; in genFragmentShader()
1361 …genCompareOp(shader, customColorOut ? "dEQP_FragColor" : "gl_FragColor", valueBlock, "v_", DE_NULL… in genFragmentShader()
1368 string ShaderCase::specializeVertexShader (const char* src, const ValueBlock& valueBlock) const in specializeVertexShader()
1385 for (int ndx = 0; ndx < (int)valueBlock.values.size(); ndx++) in specializeVertexShader()
1387 const ShaderCase::Value& val = valueBlock.values[ndx]; in specializeVertexShader()
1434 string ShaderCase::specializeFragmentShader (const char* src, const ValueBlock& valueBlock) const in specializeFragmentShader()
1448 genCompareFunctions(decl, valueBlock, false); in specializeFragmentShader()
1449 genCompareOp(output, fragColor, valueBlock, "", DE_NULL); in specializeFragmentShader()
1454 for (int ndx = 0; ndx < (int)valueBlock.values.size(); ndx++) in specializeFragmentShader()
1456 const ShaderCase::Value& val = valueBlock.values[ndx]; in specializeFragmentShader()
1496 …rateVertexSpecialization (glu::GLSLVersion targetVersion, const ShaderCase::ValueBlock& valueBlock) in generateVertexSpecialization() argument
1506 for (int ndx = 0; ndx < (int)valueBlock.values.size(); ndx++) in generateVertexSpecialization()
1508 const ShaderCase::Value& val = valueBlock.values[ndx]; in generateVertexSpecialization()
1537 …teFragmentSpecialization (glu::GLSLVersion targetVersion, const ShaderCase::ValueBlock& valueBlock) in generateFragmentSpecialization() argument
1546 genCompareFunctions(decl, valueBlock, false); in generateFragmentSpecialization()
1547 genCompareOp(output, fragColor, valueBlock, "", DE_NULL); in generateFragmentSpecialization()
1552 for (int ndx = 0; ndx < (int)valueBlock.values.size(); ndx++) in generateFragmentSpecialization()
1554 const ShaderCase::Value& val = valueBlock.values[ndx]; in generateFragmentSpecialization()
1576 …teGeometrySpecialization (glu::GLSLVersion targetVersion, const ShaderCase::ValueBlock& valueBlock) in generateGeometrySpecialization() argument
1587 for (int ndx = 0; ndx < (int)valueBlock.values.size(); ndx++) in generateGeometrySpecialization()
1589 const ShaderCase::Value& val = valueBlock.values[ndx]; in generateGeometrySpecialization()
1604 …essControlSpecialization (glu::GLSLVersion targetVersion, const ShaderCase::ValueBlock& valueBlock) in generateTessControlSpecialization() argument
1615 for (int ndx = 0; ndx < (int)valueBlock.values.size(); ndx++) in generateTessControlSpecialization()
1617 const ShaderCase::Value& val = valueBlock.values[ndx]; in generateTessControlSpecialization()
1641 …teTessEvalSpecialization (glu::GLSLVersion targetVersion, const ShaderCase::ValueBlock& valueBlock) in generateTessEvalSpecialization() argument
1652 for (int ndx = 0; ndx < (int)valueBlock.values.size(); ndx++) in generateTessEvalSpecialization()
1654 const ShaderCase::Value& val = valueBlock.values[ndx]; in generateTessEvalSpecialization()
1672 …const std::vector<std::string>& sources, const ShaderCase::ValueBlock& valueBlock, glu::GLSLVersio… in specializeShaders() argument
1676 …td::string, std::string> specializationParams = specializationGenerator(targetVersion, valueBlock); in specializeShaders()
1689 …urces& dst, const std::vector<std::string>& sources, const ValueBlock& valueBlock, const std::vect… in specializeVertexShaders() argument
1691 …specializeShaders(dst, glu::SHADERTYPE_VERTEX, sources, valueBlock, m_targetVersion, requirements,… in specializeVertexShaders()
1694 …urces& dst, const std::vector<std::string>& sources, const ValueBlock& valueBlock, const std::vect… in specializeFragmentShaders() argument
1696 …specializeShaders(dst, glu::SHADERTYPE_FRAGMENT, sources, valueBlock, m_targetVersion, requirement… in specializeFragmentShaders()
1699 …urces& dst, const std::vector<std::string>& sources, const ValueBlock& valueBlock, const std::vect… in specializeGeometryShaders() argument
1701 …specializeShaders(dst, glu::SHADERTYPE_GEOMETRY, sources, valueBlock, m_targetVersion, requirement… in specializeGeometryShaders()
1704 …urces& dst, const std::vector<std::string>& sources, const ValueBlock& valueBlock, const std::vect… in specializeTessControlShaders() argument
1706 …specializeShaders(dst, glu::SHADERTYPE_TESSELLATION_CONTROL, sources, valueBlock, m_targetVersion,… in specializeTessControlShaders()
1709 …urces& dst, const std::vector<std::string>& sources, const ValueBlock& valueBlock, const std::vect… in specializeTessEvalShaders() argument
1711 …specializeShaders(dst, glu::SHADERTYPE_TESSELLATION_EVALUATION, sources, valueBlock, m_targetVersi… in specializeTessEvalShaders()
1714 void ShaderCase::dumpValues (const ValueBlock& valueBlock, int arrayNdx) in dumpValues() argument
1716 int numValues = (int)valueBlock.values.size(); in dumpValues()
1719 const ShaderCase::Value& val = valueBlock.values[valNdx]; in dumpValues()