HomeSort by relevance Sort by last modified time
    Searched refs:maxScalars (Results 1 - 3 of 3) sorted by null

  /external/deqp/framework/randomshaders/
rsgUtils.hpp 48 VariableType computeRandomType (GeneratorState& state, int maxScalars);
rsgUtils.cpp 153 VariableType computeRandomType (GeneratorState& state, int maxScalars)
155 DE_ASSERT(maxScalars >= 1);
176 return VariableType(baseType, state.getRandom().getInt(minVecLength, de::min(maxScalars, maxVecLength)));
rsgExpression.cpp 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));
    [all...]

Completed in 319 milliseconds