Lines Matching full:sampler
111 // \note We don't test all sampler types here.
509 static VarValue getSamplerFillValue (const VarValue& sampler)
511 DE_ASSERT(glu::isDataTypeSampler(sampler.type));
514 result.type = getSamplerLookupReturnType(sampler.type);
520 result.val.floatV[i] = sampler.val.samplerV.fillColor.floatV[i];
524 result.val.uintV[i] = sampler.val.samplerV.fillColor.uintV[i];
528 result.val.intV[i] = sampler.val.samplerV.fillColor.intV[i];
531 result.val.floatV[0] = sampler.val.samplerV.fillColor.floatV[0];
540 static VarValue getSamplerUnitValue (const VarValue& sampler)
542 DE_ASSERT(glu::isDataTypeSampler(sampler.type));
546 result.val.intV[0] = sampler.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. */)
1407 log << TestLog::Message << "// Texture for the sampler uniform " << curName << " will be filled with color " << apiVarValueStr(getSamplerFillValue(uniform.finalValue)) << TestLog::EndMessage;