Searched refs:unionArray (Results 1 – 7 of 7) sorted by relevance
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
D | glslang.y | 200 ConstantUnion *unionArray = new ConstantUnion[1]; variable 201 unionArray->setIConst($1.i); 202 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConst), $1.… 205 ConstantUnion *unionArray = new ConstantUnion[1]; variable 206 unionArray->setFConst($1.f); 207 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtFloat, EbpUndefined, EvqConst), $… 210 ConstantUnion *unionArray = new ConstantUnion[1]; variable 211 unionArray->setBConst($1.b); 212 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConst), $1… 274 ConstantUnion *unionArray = new ConstantUnion[1]; variable [all …]
|
D | Intermediate.cpp | 686 ConstantUnion* unionArray; in addSwizzle() local 689 unionArray = new ConstantUnion[1]; in addSwizzle() 690 unionArray->setIConst(fields.offsets[i]); in addSwizzle() 691 constIntNode = addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConst), line); in addSwizzle() 1085 ConstantUnion *unionArray = getUnionArrayPointer(); in fold() local 1101 unionArray = new ConstantUnion[constantNode->getType().getObjectSize()]; in fold() 1103 unionArray[i] = *getUnionArrayPointer(); in fold() 1117 tempConstArray[i] = unionArray[i] + rightUnionArray[i]; in fold() 1124 tempConstArray[i] = unionArray[i] - rightUnionArray[i]; in fold() 1134 tempConstArray[i] = unionArray[i] * rightUnionArray[i]; in fold() [all …]
|
D | SymbolTable.h | 73 …st TType& t, bool uT = false ) : TSymbol(name), type(t), userType(uT), unionArray(0), arrayInforma… in TSymbol() 87 if (!unionArray) in getConstPointer() 88 unionArray = new ConstantUnion[type.getObjectSize()]; in getConstPointer() 90 return unionArray; in getConstPointer() 93 ConstantUnion* getConstPointer() const { return unionArray; } in getConstPointer() 97 if (unionArray == constArray) in shareConstPointer() 100 delete[] unionArray; in shareConstPointer() 101 unionArray = constArray; in shareConstPointer() 111 ConstantUnion *unionArray; variable
|
D | SymbolTable.cpp | 174 if (copyOf.unionArray) { in TVariable() 177 unionArray = new ConstantUnion[1]; in TVariable() 178 unionArray[0] = copyOf.unionArray[0]; in TVariable() 180 unionArray = 0; in TVariable()
|
D | parseConst.cpp | 18 unionArray(cUnion), in TConstTraverser() 42 ConstantUnion *unionArray; member in TConstTraverser 154 ConstantUnion* leftUnionArray = unionArray; in visitConstantUnion() 226 bool TIntermediate::parseConstTree(TSourceLoc line, TIntermNode* root, ConstantUnion* unionArray, T… in parseConstTree() argument 231 TConstTraverser it(unionArray, singleConstantParam, constructorType, infoSink, symbolTable, t); in parseConstTree()
|
D | glslang_tab.cpp | 2164 ConstantUnion *unionArray = new ConstantUnion[1]; local 2165 unionArray->setIConst((yyvsp[(1) - (1)].lex).i); 2166 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, … 2173 ConstantUnion *unionArray = new ConstantUnion[1]; local 2174 unionArray->setFConst((yyvsp[(1) - (1)].lex).f); 2175 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtFloat… 2182 ConstantUnion *unionArray = new ConstantUnion[1]; local 2183 unionArray->setBConst((yyvsp[(1) - (1)].lex).b); 2184 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool,… 2255 ConstantUnion *unionArray = new ConstantUnion[1]; local [all …]
|
D | ParseHelper.cpp | 1027 ConstantUnion* unionArray = variable->getConstPointer(); in executeInitializer() local 1030 *unionArray = (initializer->getAsConstantUnion()->getUnionArrayPointer())[0]; in executeInitializer() 1169 ConstantUnion* unionArray = new ConstantUnion[type.getObjectSize()]; in foldConstConstructor() local 1171 …returnVal = intermediate.parseConstTree(aggrNode->getLine(), aggrNode, unionArray, aggrNode->getOp… in foldConstConstructor() 1174 …returnVal = intermediate.parseConstTree(aggrNode->getLine(), aggrNode, unionArray, aggrNode->getOp… in foldConstConstructor() 1179 return intermediate.addConstantUnion(unionArray, type, aggrNode->getLine()); in foldConstConstructor() 1282 ConstantUnion *unionArray; in addConstVectorNode() local 1284 unionArray = tempConstantNode->getUnionArrayPointer(); in addConstVectorNode() 1286 if (!unionArray) { // this error message should never be raised in addConstVectorNode() 1308 constArray[i] = unionArray[fields.offsets[i]]; in addConstVectorNode() [all …]
|