Lines Matching refs:VarValue
294 struct VarValue
558 static VarValue getSamplerFillValue (const VarValue& sampler)
562 VarValue result;
589 static VarValue getSamplerUnitValue (const VarValue& sampler)
593 VarValue result;
605 static VarValue getTransposeMatrix (const VarValue& original)
611 VarValue result;
621 static string shaderVarValueStr (const VarValue& value)
654 static string apiVarValueStr (const VarValue& value)
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. */)
690 VarValue result;
741 static VarValue generateZeroVarValue (const glu::DataType type)
744 VarValue result;
793 static bool apiVarValueEquals (const VarValue& a, const VarValue& b)
835 static VarValue getRandomBoolRepresentation (const VarValue& boolValue, const glu::DataType targetScalarType, Random& rnd)
841 VarValue result;
958 VarValue finalValue; //!< The value we ultimately want to set for this uniform.
967 const VarValue& finalValue_,
1039 bool getUniforms (vector<VarValue>& valuesDst, const vector<BasicUniform>& basicUniforms, deUint32 programGL);
1041 bool checkUniformDefaultValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms);
1045 bool compareUniformValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms);
1074 void setupTexture (const VarValue& value);
1188 const VarValue value = m_features & FEATURE_UNIFORMVALUE_ZERO ? generateZeroVarValue(type)
1214 const VarValue value = m_features & FEATURE_UNIFORMVALUE_ZERO ? generateZeroVarValue(elemBasicType)
1400 void UniformCase::setupTexture (const VarValue& value)
1714 bool UniformCase::getUniforms (vector<VarValue>& valuesDst, const vector<BasicUniform>& basicUniforms, const deUint32 programGL)
1725 VarValue value;
1791 bool UniformCase::checkUniformDefaultValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms)
1801 const VarValue& unifValue = values[unifNdx];
1878 vector<VarValue> valuesToAssign;
1883 VarValue unifValue;
1895 const VarValue apiValue = glu::isDataTypeBoolOrBVec(unifValue.type) ? getRandomBoolRepresentation(unifValue, boolApiType, rnd)
2050 bool UniformCase::compareUniformValues (const vector<VarValue>& values, const vector<BasicUniform>& basicUniforms)
2058 const VarValue& unifValue = values[unifNdx];
2449 vector<VarValue> values;
2546 vector<VarValue> uniformDefaultValues;
2555 vector<VarValue> uniformValues;