Lines Matching defs:maxScalars
705 const int maxScalars = 4; // We don't have to be able to assign this value to anywhere
706 m_valueRange = ValueRange(computeRandomType(state, maxScalars));
848 int maxScalars = state.getShaderParameters().maxCombinedVariableScalars - state.getVariableManager().getNumAllocatedScalars();
849 bool useRandomRange = !state.getVariableManager().hasEntry<IsWritableEntry>() || ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.1f));
853 DE_ASSERT(maxScalars > 0);
854 m_valueRange = ValueRange(computeRandomType(state, maxScalars));
1112 int maxScalars = state.getShaderParameters().maxCombinedVariableScalars - state.getVariableManager().getNumAllocatedScalars();
1113 bool useRandomRange = !state.getVariableManager().hasEntry(filter) || ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.5f));
1118 DE_ASSERT(maxScalars > 0);
1119 ValueRange newVarRange(computeRandomType(state, maxScalars));