Lines Matching refs:maxScalars
680 const int maxScalars = 4; // We don't have to be able to assign this value to anywhere
681 m_valueRange = ValueRange(computeRandomType(state, maxScalars));
823 int maxScalars = state.getShaderParameters().maxCombinedVariableScalars - state.getVariableManager().getNumAllocatedScalars();
824 bool useRandomRange = !state.getVariableManager().hasEntry<IsWritableEntry>() || ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.1f));
828 DE_ASSERT(maxScalars > 0);
829 m_valueRange = ValueRange(computeRandomType(state, maxScalars));
1087 int maxScalars = state.getShaderParameters().maxCombinedVariableScalars - state.getVariableManager().getNumAllocatedScalars();
1088 bool useRandomRange = !state.getVariableManager().hasEntry(filter) || ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.5f));
1093 DE_ASSERT(maxScalars > 0);
1094 ValueRange newVarRange(computeRandomType(state, maxScalars));