Lines Matching refs:getRandom
167 de::Random& rnd = state.getRandom(); in computeRandomValueRangeForInfElements()
340 return &state.getRandom().chooseWeighted<const ExpressionSpec&>(specs, specs+numSpecs, weights); in chooseExpression()
380 …const float value = deFloatClamp(minVal + step*(float)state.getRandom().getInt(0, numSteps), minV… in FloatLiteral()
435 int value = state.getRandom().getInt(minVal, maxVal); in IntLiteral()
483 bool value = state.getRandom().getInt(minVal, maxVal) == 1; in BoolLiteral()
714 …VariableType::Type inType = state.getRandom().choose<VariableType::Type>(&inTypes[0], &inTypes[0] … in ConstructorOp()
824 …er().hasEntry<IsWritableEntry>() || ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.1f)); in AssignOp()
836 …const ValueEntry* entry = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().g… in AssignOp()
849 (first == end || getWeightedBool(state.getRandom(), 0.5f)); in AssignOp()
872 …ConstValueRangeAccess selectedRange = state.getRandom().choose<const ValueEntry*>(first, end)->get… in AssignOp()
988 …state.getVariableManager().setStorage(variable, state.getRandom().chooseWeighted<Variable::Storage… in allocateNewVariable()
1088 …riableManager().hasEntry(filter) || ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.5f)); in VariableRead()
1102 …m_variable = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin(filte… in VariableRead()
1112 …(state, valueRange.getType()) && (first == end || getWeightedBool(state.getRandom(), createOnReadW… in VariableRead()
1132 …const ValueEntry* entry = state.getRandom().chooseWeighted<const ValueEntry*>(availableVars.begin(… in VariableRead()
1175 …(state, valueRange.getType()) && (first == end || getWeightedBool(state.getRandom(), createOnAssig… in VariableWrite()
1186 const ValueEntry* entry = state.getRandom().choose<const ValueEntry*>(first, end); in VariableWrite()
1282 m_numInputElements = state.getRandom().getInt(deMax32(numOutputElements, 2), 4); in SwizzleOp()
1293 … int inElemNdx = state.getRandom().choose<int>(availableElements.begin(), availableElements.end()); in SwizzleOp()
1342 switch (state.getRandom().getInt(0, 2)) in tokenize()
1433 m_type = state.getRandom().choose<Type>(typeCandidates.begin(), typeCandidates.end()); in TexLookup()
1459 bool allocSampler = !hasSampler || (canAllocSampler && state.getRandom().getBool()); in TexLookup()
1468 …m_sampler = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin(IsSamp… in TexLookup()
1498 int majorAxisNdx = state.getRandom().getInt(0, 2); in createNextChild()
1506 bool neg = state.getRandom().getBool(); in createNextChild()
1530 bool neg = state.getRandom().getBool(); in createNextChild()