Lines Matching full:sampler
107 // \note We don't test all sampler types here.
558 static VarValue getSamplerFillValue (const VarValue& sampler)
560 DE_ASSERT(glu::isDataTypeSampler(sampler.type));
563 result.type = getSamplerLookupReturnType(sampler.type);
569 result.val.floatV[i] = sampler.val.samplerV.fillColor.floatV[i];
573 result.val.uintV[i] = sampler.val.samplerV.fillColor.uintV[i];
577 result.val.intV[i] = sampler.val.samplerV.fillColor.intV[i];
580 result.val.floatV[0] = sampler.val.samplerV.fillColor.floatV[0];
589 static VarValue getSamplerUnitValue (const VarValue& sampler)
591 DE_ASSERT(glu::isDataTypeSampler(sampler.type));
595 result.val.intV[0] = sampler.val.samplerV.unit;
687 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. */)
1904 log << TestLog::Message << "// Texture for the sampler uniform " << curName << " will be filled with color " << apiVarValueStr(getSamplerFillValue(uniform.finalValue)) << TestLog::EndMessage;
2507 // \note Different sampler types may not be bound to same unit when rendering.