Home
last modified time | relevance | path

Searched refs:getVariableManager (Results 1 – 5 of 5) sorted by relevance

/external/deqp/framework/randomshaders/
DrsgShaderGenerator.cpp96 …std::copy(state.getVariableManager().getBegin<AnyEntry>(), state.getVariableManager().getEnd<AnyEn… in genVertexPassthrough()
114 …Variable* inVar = state.getVariableManager().allocate(outVar->getType(), Variable::STORAGE_SHADER_… in genVertexPassthrough()
117 state.getVariableManager().setValue(inVar, entry->getValueRange()); in genVertexPassthrough()
127 const ValueEntry* fragColorEntry = findByName(state.getVariableManager(), getFragColorName(state)); in genFragmentPassthrough()
130 …Variable* inColorVariable = state.getVariableManager().allocate(fragColorEntry->getVariable()->get… in genFragmentPassthrough()
132 state.getVariableManager().setValue(inColorVariable, fragColorEntry->getValueRange()); in genFragmentPassthrough()
186 m_state.getVariableManager().reserve(reservedScalars, 4*2); in generate()
197 …Variable* variable = m_state.getVariableManager().allocate(input->getVariable()->getType(), Vari… in generate()
199 m_state.getVariableManager().setValue(variable, input->getValueRange()); in generate()
206 …Variable* fragColorVar = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FLO… in generate()
[all …]
DrsgStatement.cpp150 state.getVariableManager().pushVariableScope(m_scope); in init()
185 state.getVariableManager().popVariableScope(); in createNextChild()
256 const vector<Variable*>& liveVars = state.getVariableManager().getLiveVariables(); in DeclarationStatement()
271 const ValueEntry* value = state.getVariableManager().getValue(variable); in DeclarationStatement()
301 state.getVariableManager().declareVariable(variable); in DeclarationStatement()
314 state.getVariableManager().declareVariable(variable); in DeclarationStatement()
324 if (!hasDeclarableVars(state.getVariableManager())) in getWeight()
400 state.getVariableManager().pushValueScope(m_conditionalScope); in createNextChild()
410 state.getVariableManager().popValueScope(); in createNextChild()
415 state.getVariableManager().pushValueScope(m_conditionalScope); in createNextChild()
[all …]
DrsgExpression.cpp266 …if (state.getVariableManager().getNumAllocatedScalars() + type.getScalarSize() > state.getShaderPa… in canAllocateVariable()
822 … = state.getShaderParameters().maxCombinedVariableScalars - state.getVariableManager().getNumAllo… in AssignOp()
823 …bool useRandomRange = !state.getVariableManager().hasEntry<IsWritableEntry>() || ((maxScalars > 0)… in AssignOp()
835 …ndom().choose<const ValueEntry*>(state.getVariableManager().getBegin<IsWritableEntry>(), state.get… in AssignOp()
840 DE_ASSERT(state.getVariableManager().hasEntry(IsWritableIntersectingEntry(m_valueRange))); in AssignOp()
844 …IsWritableIntersectingEntry::Iterator first = state.getVariableManager().getBegin(IsWritableInters… in AssignOp()
845 …IsWritableIntersectingEntry::Iterator end = state.getVariableManager().getEnd(IsWritableIntersecti… in AssignOp()
888 !state.getVariableManager().hasEntry(IsWritableIntersectingEntry(valueRange))) in getWeight()
895 !state.getVariableManager().hasEntry<IsWritableEntry>() && in getWeight()
896 …state.getVariableManager().getNumAllocatedScalars() >= state.getShaderParameters().maxCombinedVari… in getWeight()
[all …]
DrsgFunctionGenerator.cpp69 const ValueEntry* entry = m_state.getVariableManager().getValue(variable); in generate()
76 m_state.getVariableManager().removeValueFromCurrentScope(variable); in generate()
DrsgGeneratorState.hpp67 VariableManager& getVariableManager (void) { return *m_varManager; } in getVariableManager() function in rsg::GeneratorState
68 const VariableManager& getVariableManager (void) const { return *m_varManager; } in getVariableManager() function in rsg::GeneratorState