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

  /external/deqp/framework/randomshaders/
rsgShaderGenerator.cpp 96 std::copy(state.getVariableManager().getBegin<AnyEntry>(), state.getVariableManager().getEnd<AnyEntry>(), std::inserter(entries, entries.begin()));
114 Variable* inVar = state.getVariableManager().allocate(outVar->getType(), Variable::STORAGE_SHADER_IN, inVarName.c_str());
117 state.getVariableManager().setValue(inVar, entry->getValueRange());
127 const ValueEntry* fragColorEntry = findByName(state.getVariableManager(), getFragColorName(state));
130 Variable* inColorVariable = state.getVariableManager().allocate(fragColorEntry->getVariable()->getType(), Variable::STORAGE_SHADER_IN, "v_color");
132 state.getVariableManager().setValue(inColorVariable, fragColorEntry->getValueRange());
186 m_state.getVariableManager().reserve(reservedScalars, 4*2);
197 Variable* variable = m_state.getVariableManager().allocate(input->getVariable()->getType(), Variable::STORAGE_SHADER_OUT, input->getVariable()->getName());
199 m_state.getVariableManager().setValue(variable, input->getValueRange())
    [all...]
rsgFunctionGenerator.cpp 69 const ValueEntry* entry = m_state.getVariableManager().getValue(variable);
76 m_state.getVariableManager().removeValueFromCurrentScope(variable);
rsgGeneratorState.hpp 67 VariableManager& getVariableManager (void) { return *m_varManager; }
68 const VariableManager& getVariableManager (void) const { return *m_varManager; }
rsgStatement.cpp 150 state.getVariableManager().pushVariableScope(m_scope);
185 state.getVariableManager().popVariableScope();
256 const vector<Variable*>& liveVars = state.getVariableManager().getLiveVariables();
271 const ValueEntry* value = state.getVariableManager().getValue(variable);
301 state.getVariableManager().declareVariable(variable);
314 state.getVariableManager().declareVariable(variable);
324 if (!hasDeclarableVars(state.getVariableManager()))
400 state.getVariableManager().pushValueScope(m_conditionalScope);
410 state.getVariableManager().popValueScope();
415 state.getVariableManager().pushValueScope(m_conditionalScope)
    [all...]
rsgExpression.cpp 266 if (state.getVariableManager().getNumAllocatedScalars() + type.getScalarSize() > state.getShaderParameters().maxCombinedVariableScalars)
823 int maxScalars = state.getShaderParameters().maxCombinedVariableScalars - state.getVariableManager().getNumAllocatedScalars();
824 bool useRandomRange = !state.getVariableManager().hasEntry<IsWritableEntry>() || ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.1f));
836 const ValueEntry* entry = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin<IsWritableEntry>(), state.getVariableManager().getEnd<IsWritableEntry>());
841 DE_ASSERT(state.getVariableManager().hasEntry(IsWritableIntersectingEntry(m_valueRange)));
845 IsWritableIntersectingEntry::Iterator first = state.getVariableManager().getBegin(IsWritableIntersectingEntry(m_valueRange));
846 IsWritableIntersectingEntry::Iterator end = state.getVariableManager().getEnd(IsWritableIntersectingEntry(m_valueRange));
889 !state.getVariableManager().hasEntry(IsWritableIntersectingEntry(valueRange)))
896 !state.getVariableManager().hasEntry<IsWritableEntry>() &
    [all...]

Completed in 141 milliseconds