Home | History | Annotate | Download | only in tessellation

Lines Matching refs:Variable

240 class Variable : public TopLevelObject
243 Variable (const std::string& name_, const glu::VarType& type, const bool isArray)
261 glu::VarType m_type; //!< If this Variable is an array element, m_type is the element type; otherwise just the variable type.
265 std::string Variable::declare (void) const
271 std::string Variable::declareArray (const std::string& sizeExpr) const
277 std::string Variable::glslTraverseBasicTypeArray (const int numArrayElements, const int indentationDepth, BasicTypeVisitFunc visit) const
288 std::string Variable::glslTraverseBasicType (const int indentationDepth, BasicTypeVisitFunc visit) const
294 int Variable::numBasicSubobjectsInElementType (void) const
299 std::string Variable::basicSubobjectAtIndex (const int subobjectIndex, const int arraySize) const
493 // It is illegal to have a structure containing an array as an output variable
518 const Variable var0("in_te_s", structVarType, m_caseDef.ioType != IO_TYPE_PER_PATCH);
519 const Variable var1("in_te_f", highpFloat, m_caseDef.ioType != IO_TYPE_PER_PATCH);
523 // Arrays of structures are disallowed, add struct cases only if not arrayed variable
524 m_tcsOutputs.push_back (de::SharedPtr<TopLevelObject>(new Variable(var0)));
525 m_tesInputs.push_back (de::SharedPtr<TopLevelObject>(new Variable(var0)));
530 m_tcsOutputs.push_back (de::SharedPtr<TopLevelObject>(new Variable(var1)));
531 m_tesInputs.push_back (de::SharedPtr<TopLevelObject>(new Variable(var1)));
579 << "layout(location = 0) in " + Variable("in_tc_attr", highpFloat, true).declareArray(vertexAttrArrayInputSize);