Home | History | Annotate | Download | only in functional

Lines Matching refs:unit

286 			int		unit;
546 result.val.intV[0] = sampler.val.samplerV.unit;
627 result << value.val.samplerV.unit;
638 static VarValue generateRandomVarValue (const glu::DataType type, Random& rnd, int samplerUnit = -1 /* Used if type is a sampler type. \note Samplers' unit numbers are not randomized. */)
672 result.val.samplerV.unit = samplerUnit;
725 if (a.val.samplerV.unit != b.val.samplerV.unit)
1237 GLU_CHECK_CALL(glActiveTexture(GL_TEXTURE0 + value.val.samplerV.unit));
1238 m_filledTextureUnits.push_back(value.val.samplerV.unit);
1258 GLU_CHECK_CALL(glActiveTexture(GL_TEXTURE0 + value.val.samplerV.unit));
1259 m_filledTextureUnits.push_back(value.val.samplerV.unit);
1335 GLint unit = -1;
1336 GLU_CHECK_CALL(glGetUniformiv(programGL, location, &unit));
1337 value.val.samplerV.unit = unit;
1541 GLU_CHECK_CALL(glProgramUniform1i(programGL, location, uniform.finalValue.val.samplerV.unit));
1544 const GLint unit = uniform.finalValue.val.samplerV.unit;
1545 GLU_CHECK_CALL(glProgramUniform1iv(programGL, location, (GLsizei)valuesToAssign.size(), &unit));
1588 // Assert that no two samplers of different types have the same texture unit - this is an error in GL.
1596 DE_ASSERT(basicUniforms[i].finalValue.val.samplerV.unit != basicUniforms[j].finalValue.val.samplerV.unit);
1603 if (glu::isDataTypeSampler(basicUniforms[i].type) && std::find(m_filledTextureUnits.begin(), m_filledTextureUnits.end(), basicUniforms[i].finalValue.val.samplerV.unit) == m_filledTextureUnits.end())
1605 log << TestLog::Message << "// Filling texture at unit " << apiVarValueStr(basicUniforms[i].finalValue) << " with color " << shaderVarValueStr(basicUniforms[i].finalValue) << TestLog::EndMessage;