Lines Matching refs:VarValue
274 struct VarValue
509 static VarValue getSamplerFillValue (const VarValue& sampler)
513 VarValue result;
540 static VarValue getSamplerUnitValue (const VarValue& sampler)
544 VarValue result;
556 static VarValue getTransposeMatrix (const VarValue& original)
562 VarValue result;
572 static string shaderVarValueStr (const VarValue& value)
605 static string apiVarValueStr (const VarValue& value)
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. */)
641 VarValue result;
692 static bool apiVarValueEquals (const VarValue& a, const VarValue& b)
734 static VarValue getRandomBoolRepresentation (const VarValue& boolValue, const glu::DataType targetScalarType, Random& rnd)
740 VarValue result;
848 VarValue finalValue; //!< The value we ultimately want to set for this uniform.
857 const VarValue& finalValue_,
899 bool getUniforms (vector<VarValue>& valuesDst, const vector<BasicUniform>& basicUniforms, deUint32 programGL);
903 bool compareUniformValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms);
930 void setupTexture (const VarValue& value);
1006 const VarValue value = glu::isDataTypeSampler(type) ? generateRandomVarValue(type, rnd, samplerUnitCounter++)
1031 const VarValue value = glu::isDataTypeSampler(elemBasicType) ? generateRandomVarValue(elemBasicType, rnd, samplerUnitCounter++)
1216 void UniformCase::setupTexture (const VarValue& value)
1273 bool UniformCase::getUniforms (vector<VarValue>& valuesDst, const vector<BasicUniform>& basicUniforms, const deUint32 programGL)
1284 VarValue value;
1381 vector<VarValue> valuesToAssign;
1386 VarValue unifValue;
1398 const VarValue apiValue = glu::isDataTypeBoolOrBVec(unifValue.type) ? getRandomBoolRepresentation(unifValue, boolApiType, rnd)
1553 bool UniformCase::compareUniformValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms)
1561 const VarValue& unifValue = values[unifNdx];
1813 vector<VarValue> values;