Home
last modified time | relevance | path

Searched refs:maxScalars (Results 1 – 3 of 3) sorted by relevance

/external/deqp/framework/randomshaders/
DrsgUtils.cpp153 VariableType computeRandomType (GeneratorState& state, int maxScalars) in computeRandomType() argument
155 DE_ASSERT(maxScalars >= 1); in computeRandomType()
176 …return VariableType(baseType, state.getRandom().getInt(minVecLength, de::min(maxScalars, maxVecLen… in computeRandomType()
DrsgUtils.hpp48 VariableType computeRandomType (GeneratorState& state, int maxScalars);
DrsgExpression.cpp680 const int maxScalars = 4; // We don't have to be able to assign this value to anywhere in ConstructorOp() local
681 m_valueRange = ValueRange(computeRandomType(state, maxScalars)); in ConstructorOp()
823 …int maxScalars = state.getShaderParameters().maxCombinedVariableScalars - state.getVariableManag… in AssignOp() local
824 …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() local
1088 …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()