Lines Matching refs:specParams
434 …ic map<string, string> generateVertexSpecialization (const ProgramSpecializationParams& specParams) in generateVertexSpecialization() argument
436 const bool usesInout = glslVersionUsesInOutQualifiers(specParams.caseSpec.targetVersion); in generateVertexSpecialization()
444 for (size_t ndx = 0; ndx < specParams.caseSpec.values.inputs.size(); ndx++) in generateVertexSpecialization()
446 const Value& val = specParams.caseSpec.values.inputs[ndx]; in generateVertexSpecialization()
464 generateUniformDeclarations(decl, specParams.caseSpec.values); in generateVertexSpecialization()
473 … map<string, string> generateFragmentSpecialization (const ProgramSpecializationParams& specParams) in generateFragmentSpecialization() argument
475 const bool usesInout = glslVersionUsesInOutQualifiers(specParams.caseSpec.targetVersion); in generateFragmentSpecialization()
482 genCompareFunctions(decl, specParams.caseSpec.values, false); in generateFragmentSpecialization()
483 genCompareOp(output, fragColor, specParams.caseSpec.values, "", DE_NULL); in generateFragmentSpecialization()
488 for (size_t ndx = 0; ndx < specParams.caseSpec.values.outputs.size(); ndx++) in generateFragmentSpecialization()
490 const Value& val = specParams.caseSpec.values.outputs[ndx]; in generateFragmentSpecialization()
497 generateUniformDeclarations(decl, specParams.caseSpec.values); in generateFragmentSpecialization()
506 … map<string, string> generateGeometrySpecialization (const ProgramSpecializationParams& specParams) in generateGeometrySpecialization() argument
515 generateUniformDeclarations(decl, specParams.caseSpec.values); in generateGeometrySpecialization()
522 …p<string, string> generateTessControlSpecialization (const ProgramSpecializationParams& specParams) in generateTessControlSpecialization() argument
531 generateUniformDeclarations(decl, specParams.caseSpec.values); in generateTessControlSpecialization()
543 …params.insert(pair<string, string>("GL_MAX_PATCH_VERTICES", de::toString(specParams.maxPatchVer… in generateTessControlSpecialization()
548 … map<string, string> generateTessEvalSpecialization (const ProgramSpecializationParams& specParams) in generateTessEvalSpecialization() argument
557 generateUniformDeclarations(decl, specParams.caseSpec.values); in generateTessEvalSpecialization()
563 …params.insert(pair<string, string>("GL_MAX_PATCH_VERTICES", de::toString(specParams.maxPatchVe… in generateTessEvalSpecialization()
570 const ProgramSpecializationParams& specParams, in specializeShaderSources() argument
572 … map<string, string> (*specializationGenerator) (const ProgramSpecializationParams& specParams)) in specializeShaderSources()
576 const map<string, string> tmplParams = specializationGenerator(specParams); in specializeShaderSources()
582 …const std::string sourceWithExts = injectExtensionRequirements(baseGLSLCode, specParams.requiredE… in specializeShaderSources()
591 const ProgramSpecializationParams& specParams) in specializeProgramSources() argument
593 specializeShaderSources(dst, src, specParams, SHADERTYPE_VERTEX, generateVertexSpecialization); in specializeProgramSources()
594 …specializeShaderSources(dst, src, specParams, SHADERTYPE_FRAGMENT, generateFragmentSpecializat… in specializeProgramSources()
595 …specializeShaderSources(dst, src, specParams, SHADERTYPE_GEOMETRY, generateGeometrySpecializat… in specializeProgramSources()
596 …specializeShaderSources(dst, src, specParams, SHADERTYPE_TESSELLATION_CONTROL, generateTessContro… in specializeProgramSources()
597 …specializeShaderSources(dst, src, specParams, SHADERTYPE_TESSELLATION_EVALUATION, generateTessEval… in specializeProgramSources()