Searched refs:maxScalars (Results 1 – 3 of 3) sorted by relevance
153 VariableType computeRandomType (GeneratorState& state, int maxScalars) in computeRandomType() argument155 DE_ASSERT(maxScalars >= 1); in computeRandomType()176 …return VariableType(baseType, state.getRandom().getInt(minVecLength, de::min(maxScalars, maxVecLen… in computeRandomType()
705 const int maxScalars = 4; // We don't have to be able to assign this value to anywhere in ConstructorOp() local706 m_valueRange = ValueRange(computeRandomType(state, maxScalars)); in ConstructorOp()848 …int maxScalars = state.getShaderParameters().maxCombinedVariableScalars - state.getVariableManag… in AssignOp() local849 …bool useRandomRange = !state.getVariableManager().hasEntry<IsWritableEntry>() || ((maxScalars > 0)… in AssignOp()853 DE_ASSERT(maxScalars > 0); in AssignOp()854 m_valueRange = ValueRange(computeRandomType(state, maxScalars)); in AssignOp()1112 …int maxScalars = state.getShaderParameters().maxCombinedVariableScalars - state.getVariableMan… in VariableRead() local1113 …bool useRandomRange = !state.getVariableManager().hasEntry(filter) || ((maxScalars > 0) && getWe… in VariableRead()1118 DE_ASSERT(maxScalars > 0); in VariableRead()1119 ValueRange newVarRange(computeRandomType(state, maxScalars)); in VariableRead()
48 VariableType computeRandomType (GeneratorState& state, int maxScalars);