Searched refs:bufferVar (Results 1 – 2 of 2) sorted by relevance
1072 void generateDeclaration (std::ostream& src, const BufferVar& bufferVar, int indentLevel) in generateDeclaration() argument1075 if ((bufferVar.getFlags() & LAYOUT_MASK) != 0) in generateDeclaration()1076 src << "layout(" << LayoutFlagsFmt(bufferVar.getFlags() & LAYOUT_MASK) << ") "; in generateDeclaration()1077 else if (bufferVar.getOffset()!= ~0u) in generateDeclaration()1078 src << "layout(offset = "<<bufferVar.getOffset()<<") "; in generateDeclaration()1080 src << glu::declare(bufferVar.getType(), bufferVar.getName(), indentLevel); in generateDeclaration()
934 void generateDeclaration (std::ostream& src, const BufferVar& bufferVar, int indentLevel) in generateDeclaration() argument938 if ((bufferVar.getFlags() & LAYOUT_MASK) != 0) in generateDeclaration()939 src << "layout(" << LayoutFlagsFmt(bufferVar.getFlags() & LAYOUT_MASK) << ") "; in generateDeclaration()941 src << glu::declare(bufferVar.getType(), bufferVar.getName(), indentLevel); in generateDeclaration()