Home | History | Annotate | Download | only in randomshaders

Lines Matching refs:str

43 void Variable::tokenizeDeclaration (GeneratorState& state, TokenStream& str) const
50 case STORAGE_CONST: str << Token::CONST; break;
51 case STORAGE_PARAMETER_IN: str << Token::IN; break;
52 case STORAGE_PARAMETER_OUT: str << Token::OUT; break;
53 case STORAGE_PARAMETER_INOUT: str << Token::INOUT; break;
57 str << Token::UNIFORM;
59 str << Token::MEDIUM_PRECISION;
68 str << Token::LAYOUT << Token::LEFT_PAREN << Token::LOCATION << Token::EQUAL << m_layoutLocation << Token::RIGHT_PAREN;
70 str << Token::IN;
73 str << Token::MEDIUM_PRECISION;
81 case Shader::TYPE_VERTEX: str << Token::ATTRIBUTE; break;
82 case Shader::TYPE_FRAGMENT: str << Token::VARYING << Token::MEDIUM_PRECISION; break;
94 str << Token::LAYOUT << Token::LEFT_PAREN << Token::LOCATION << Token::EQUAL << m_layoutLocation << Token::RIGHT_PAREN;
96 str << Token::OUT << Token::MEDIUM_PRECISION;
103 str << Token::VARYING << Token::MEDIUM_PRECISION;
116 m_type.tokenizeShortType(str);
119 str << Token(m_name.c_str());