Home | History | Annotate | Download | only in randomshaders

Lines Matching refs:getVariableManager

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());
206 Variable* fragColorVar = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FLOAT, 4), Variable::STORAGE_SHADER_OUT, getFragColorName(m_state));
214 m_state.getVariableManager().setValue(fragColorVar, valueRange.asAccess());
252 m_state.getVariableManager().release(reservedScalars);
254 Variable* glPosVariable = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FLOAT, 4), Variable::STORAGE_SHADER_OUT, "gl_Position");
255 Variable* qpPosVariable = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FLOAT, 4), Variable::STORAGE_SHADER_IN, "dEQP_Position");
262 m_state.getVariableManager().setValue(qpPosVariable, valueRange.asAccess()); // \todo [2011-05-24 pyry] No expression should be able to use gl_Position or dEQP_Position..
289 const ValueEntry* value = m_state.getVariableManager().getValue(variable);
298 const ValueEntry* value = m_state.getVariableManager().getValue(variable);
314 m_state.getVariableManager().declareVariable(variable);