Lines Matching refs:m_state
40 : m_state (state) in ShaderGenerator()
180 m_state.setShader(shaderParams, shader); in generate()
181 DE_ASSERT(m_state.getExpressionFlags() == 0); in generate()
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 …lorVar = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FLOAT, 4), Variable… in generate()
214 m_state.getVariableManager().setValue(fragColorVar, valueRange.asAccess()); in generate()
225 FunctionGenerator funcGen(m_state, main); in generate()
241 genVertexPassthrough(m_state, shader); in generate()
245 genFragmentPassthrough(m_state, shader); in generate()
252 m_state.getVariableManager().release(reservedScalars); in generate()
254 …Variable* glPosVariable = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FL… in generate()
255 …Variable* qpPosVariable = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FL… in generate()
262 …m_state.getVariableManager().setValue(qpPosVariable, valueRange.asAccess()); // \todo [2011-05-24 … in generate()
289 const ValueEntry* value = m_state.getVariableManager().getValue(variable); in generate()
298 const ValueEntry* value = m_state.getVariableManager().getValue(variable); in generate()
314 m_state.getVariableManager().declareVariable(variable); in generate()
319 DE_ASSERT(m_state.getExpressionFlags() == 0); in generate()
320 m_state.pushExpressionFlags(CONST_EXPR|NO_VAR_ALLOCATION); in generate()
326 shader.getGlobalStatements().push_back(new DeclarationStatement(m_state, *i)); in generate()
329 m_state.popExpressionFlags(); in generate()
343 shader.tokenize(m_state, tokenStr); in generate()
349 if (m_state.getProgramParameters().version == VERSION_300) in generate()