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()
48 VariableType computeRandomType (GeneratorState& state, int maxScalars);
680 const int maxScalars = 4; // We don't have to be able to assign this value to anywhere in ConstructorOp() local681 m_valueRange = ValueRange(computeRandomType(state, maxScalars)); in ConstructorOp()823 …int maxScalars = state.getShaderParameters().maxCombinedVariableScalars - state.getVariableManag… in AssignOp() local824 …bool useRandomRange = !state.getVariableManager().hasEntry<IsWritableEntry>() || ((maxScalars > 0)… in AssignOp()828 DE_ASSERT(maxScalars > 0); in AssignOp()829 m_valueRange = ValueRange(computeRandomType(state, maxScalars)); in AssignOp()1087 …int maxScalars = state.getShaderParameters().maxCombinedVariableScalars - state.getVariableMan… in VariableRead() local1088 …bool useRandomRange = !state.getVariableManager().hasEntry(filter) || ((maxScalars > 0) && getWe… in VariableRead()1093 DE_ASSERT(maxScalars > 0); in VariableRead()1094 ValueRange newVarRange(computeRandomType(state, maxScalars)); in VariableRead()