Home | History | Annotate | Download | only in compiler

Lines Matching refs:variable

128                 const TVariable *variable = static_cast<const TVariable*>(symbol);
129 const TType &type = variable->getType();
278 const TVariable *variable = static_cast<const TVariable*>(symbol);
279 const TType &type = variable->getType();
661 // GLSL allows to write things like "float x = x;" where a new variable x is defined
662 // and the value of an existing variable x is assigned. HLSL uses C semantics (the
663 // new variable is created before the assignment is evaluated), so we need to convert
1031 TIntermTyped *variable = sequence[0]->getAsTyped();
1034 if (variable && (variable->getQualifier() == EvqTemporary || variable->getQualifier() == EvqGlobal))
1036 if (variable->getType().getStruct())
1038 addConstructor(variable->getType(), scopedStruct(variable->getType().getTypeName()), NULL);
1041 if (!variable->getAsSymbolNode() || variable->getAsSymbolNode()->getSymbol() != "") // Variable declaration
1048 out << typeString(variable->getType()) + " ";
1058 out << " = " + initializer(variable->getType());
1079 else if (variable->getAsSymbolNode() && variable->getAsSymbolNode()->getSymbol() == "") // Type (struct) declaration
1577 TIntermTyped *variable = sequence[0]->getAsTyped();
1579 if (variable && variable->getQualifier() == EvqTemporary)
1581 TIntermBinary *assign = variable->getAsBinaryNode();