Lines Matching refs:specParams
430 …ic map<string, string> generateVertexSpecialization (const ProgramSpecializationParams& specParams) in generateVertexSpecialization() argument
432 const bool usesInout = glslVersionUsesInOutQualifiers(specParams.caseSpec.targetVersion); in generateVertexSpecialization()
440 for (size_t ndx = 0; ndx < specParams.caseSpec.values.inputs.size(); ndx++) in generateVertexSpecialization()
442 const Value& val = specParams.caseSpec.values.inputs[ndx]; in generateVertexSpecialization()
460 generateUniformDeclarations(decl, specParams.caseSpec.values); in generateVertexSpecialization()
469 … map<string, string> generateFragmentSpecialization (const ProgramSpecializationParams& specParams) in generateFragmentSpecialization() argument
471 const bool usesInout = glslVersionUsesInOutQualifiers(specParams.caseSpec.targetVersion); in generateFragmentSpecialization()
478 genCompareFunctions(decl, specParams.caseSpec.values, false); in generateFragmentSpecialization()
479 genCompareOp(output, fragColor, specParams.caseSpec.values, "", DE_NULL); in generateFragmentSpecialization()
484 for (size_t ndx = 0; ndx < specParams.caseSpec.values.outputs.size(); ndx++) in generateFragmentSpecialization()
486 const Value& val = specParams.caseSpec.values.outputs[ndx]; in generateFragmentSpecialization()
493 generateUniformDeclarations(decl, specParams.caseSpec.values); in generateFragmentSpecialization()
502 … map<string, string> generateGeometrySpecialization (const ProgramSpecializationParams& specParams) in generateGeometrySpecialization() argument
511 generateUniformDeclarations(decl, specParams.caseSpec.values); in generateGeometrySpecialization()
518 …p<string, string> generateTessControlSpecialization (const ProgramSpecializationParams& specParams) in generateTessControlSpecialization() argument
527 generateUniformDeclarations(decl, specParams.caseSpec.values); in generateTessControlSpecialization()
539 …params.insert(pair<string, string>("GL_MAX_PATCH_VERTICES", de::toString(specParams.maxPatchVer… in generateTessControlSpecialization()
544 … map<string, string> generateTessEvalSpecialization (const ProgramSpecializationParams& specParams) in generateTessEvalSpecialization() argument
553 generateUniformDeclarations(decl, specParams.caseSpec.values); in generateTessEvalSpecialization()
559 …params.insert(pair<string, string>("GL_MAX_PATCH_VERTICES", de::toString(specParams.maxPatchVe… in generateTessEvalSpecialization()
566 const ProgramSpecializationParams& specParams, in specializeShaderSources() argument
568 … map<string, string> (*specializationGenerator) (const ProgramSpecializationParams& specParams)) in specializeShaderSources()
572 const map<string, string> tmplParams = specializationGenerator(specParams); in specializeShaderSources()
578 …const std::string sourceWithExts = injectExtensionRequirements(baseGLSLCode, specParams.requiredE… in specializeShaderSources()
587 const ProgramSpecializationParams& specParams) in specializeProgramSources() argument
589 specializeShaderSources(dst, src, specParams, SHADERTYPE_VERTEX, generateVertexSpecialization); in specializeProgramSources()
590 …specializeShaderSources(dst, src, specParams, SHADERTYPE_FRAGMENT, generateFragmentSpecializat… in specializeProgramSources()
591 …specializeShaderSources(dst, src, specParams, SHADERTYPE_GEOMETRY, generateGeometrySpecializat… in specializeProgramSources()
592 …specializeShaderSources(dst, src, specParams, SHADERTYPE_TESSELLATION_CONTROL, generateTessContro… in specializeProgramSources()
593 …specializeShaderSources(dst, src, specParams, SHADERTYPE_TESSELLATION_EVALUATION, generateTessEval… in specializeProgramSources()