Lines Matching refs:VarValue
234 struct VarValue
492 static VarValue getSamplerFillValue (const VarValue& sampler)
496 VarValue result;
505 static VarValue getSamplerUnitValue (const VarValue& sampler)
509 VarValue result;
516 static string shaderVarValueStr (const VarValue& value)
547 static string apiVarValueStr (const VarValue& value)
578 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. */)
581 VarValue result;
614 static VarValue generateZeroVarValue (const glu::DataType type)
617 VarValue result;
648 static bool apiVarValueEquals (const VarValue& a, const VarValue& b)
684 static VarValue getRandomBoolRepresentation (const VarValue& boolValue, const glu::DataType targetScalarType, Random& rnd)
690 VarValue result;
793 VarValue finalValue; //!< The value we ultimately want to set for this uniform.
802 const VarValue& finalValue_,
870 bool getUniforms (vector<VarValue>& valuesDst, const vector<BasicUniform>& basicUniforms, deUint32 programGL);
872 bool checkUniformDefaultValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms);
876 bool compareUniformValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms);
905 void setupTexture (const VarValue& value);
1017 const VarValue value = m_features & FEATURE_UNIFORMVALUE_ZERO ? generateZeroVarValue(type)
1043 const VarValue value = m_features & FEATURE_UNIFORMVALUE_ZERO ? generateZeroVarValue(elemBasicType)
1206 void UniformCase::setupTexture (const VarValue& value)
1357 bool UniformCase::getUniforms (vector<VarValue>& valuesDst, const vector<BasicUniform>& basicUniforms, const deUint32 programGL)
1368 VarValue value;
1425 bool UniformCase::checkUniformDefaultValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms)
1435 const VarValue& unifValue = values[unifNdx];
1507 vector<VarValue> valuesToAssign;
1512 VarValue unifValue;
1524 const VarValue apiValue = glu::isDataTypeBoolOrBVec(unifValue.type) ? getRandomBoolRepresentation(unifValue, boolApiType, rnd)
1638 bool UniformCase::compareUniformValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms)
1646 const VarValue& unifValue = values[unifNdx];
1947 vector<VarValue> values;
2035 vector<VarValue> uniformDefaultValues;
2044 vector<VarValue> uniformValues;