Lines Matching refs:numUnits
131 static string generateMultiTexFragmentShader(int numUnits, const GLenum* unitTypes) in generateMultiTexFragmentShader() argument
139 string colorMultiplier = "(1.0/" + de::toString(numUnits) + ".0)"; in generateMultiTexFragmentShader()
141 for (int ndx = 0; ndx < numUnits; ndx++) in generateMultiTexFragmentShader()
173 static sglr::pdec::ShaderProgramDeclaration generateShaderProgramDeclaration (int numUnits, const G… in generateShaderProgramDeclaration() argument
182 for (int ndx = 0; ndx < numUnits; ++ndx) in generateShaderProgramDeclaration()
200 decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes)); in generateShaderProgramDeclaration()
244 MultiTexShader (deUint32 randSeed, int numUnits, const vector<GLenum>& unitTypes);
259 MultiTexShader::MultiTexShader (deUint32 randSeed, int numUnits, const vector<GLenum>& unitTypes) in MultiTexShader() argument
260 : sglr::ShaderProgram (generateShaderProgramDeclaration(numUnits, &unitTypes[0])) in MultiTexShader()
261 , m_numUnits (numUnits) in MultiTexShader()
542 …TextureUnitCase (Context& context, const char* name, const char* desc, int numUnits /* \note If n…
581 …tureUnitCase (Context& context, const char* name, const char* desc, int numUnits, CaseType caseTyp… in TextureUnitCase() argument
583 , m_numUnitsParam (numUnits) in TextureUnitCase()
943 int numUnits = unitCounts[unitCountNdx]; in init() local
945 …string countGroupName = (unitCounts[unitCountNdx] < 0 ? "all" : de::toString(numUnits)) + "_units"; in init()
964 …Child(new TextureUnitCase(m_context, de::toString(testNdx).c_str(), "", numUnits, (TextureUnitCase… in init()