Searched refs:leftUnionArray (Results 1 – 5 of 5) sorted by relevance
/third_party/glslang/glslang/MachineIndependent/ |
D | parseConst.cpp | 115 TConstUnionArray leftUnionArray(unionArray); in visitConstantUnion() local 128 leftUnionArray[index] = rightUnionArray[i]; in visitConstantUnion() 142 leftUnionArray[i] = rightUnionArray[count]; in visitConstantUnion() 160 leftUnionArray[targetOffset] = rightUnionArray[srcOffset]; in visitConstantUnion() 162 leftUnionArray[targetOffset].setDConst(1.0); in visitConstantUnion() 164 leftUnionArray[targetOffset].setDConst(0.0); in visitConstantUnion() 174 leftUnionArray[index] = rightUnionArray[0]; in visitConstantUnion() 176 leftUnionArray[index].setDConst(0.0); in visitConstantUnion() 188 leftUnionArray[i] = rightUnionArray[count]; in visitConstantUnion()
|
D | Constant.cpp | 84 TConstUnionArray leftUnionArray = getConstArray(); in fold() local 112 leftUnionArray = smearedArray; in fold() 124 newConstArray[i] = leftUnionArray[i] + rightUnionArray[i]; in fold() 128 newConstArray[i] = leftUnionArray[i] - rightUnionArray[i]; in fold() 135 newConstArray[i] = leftUnionArray[i] * rightUnionArray[i]; in fold() 142 …sum += leftUnionArray[i * getMatrixRows() + row].getDConst() * rightUnionArray[column * rightNode-… in fold() 155 … newConstArray[i].setDConst(leftUnionArray[i].getDConst() / rightUnionArray[i].getDConst()); in fold() 156 else if (leftUnionArray[i].getDConst() > 0.0) in fold() 158 else if (leftUnionArray[i].getDConst() < 0.0) in fold() 167 …else if (rightUnionArray[i].getIConst() == -1 && leftUnionArray[i].getIConst() == (int)-0x80000000… in fold() [all …]
|
D | Intermediate.cpp | 3915 TConstUnionArray leftUnionArray(size); in promoteConstantUnion() local 3919 #define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get())) in promoteConstantUnion() 3920 #define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0) in promoteConstantUnion() 3958 …return addConstantUnion(leftUnionArray, TType(promoteTo, t.getQualifier().storage, t.getVectorSize… in promoteConstantUnion()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | parseConst.cpp | 166 ConstantUnion* leftUnionArray = unionArray; in visitConstantUnion() local 180 leftUnionArray[index].cast(basicType, rightUnionArray[i]); in visitConstantUnion() 193 leftUnionArray[i].cast(basicType, rightUnionArray[count]); in visitConstantUnion() 207 leftUnionArray[i].cast(basicType, rightUnionArray[0]); in visitConstantUnion() 209 leftUnionArray[i].setFConst(0.0f); in visitConstantUnion()
|
D | Intermediate.cpp | 27 …tructure(const TType& leftNodeType, ConstantUnion* rightUnionArray, ConstantUnion* leftUnionArray); 1197 …areStruct(const TType& leftNodeType, ConstantUnion* rightUnionArray, ConstantUnion* leftUnionArray) in CompareStruct() argument 1208 if (!CompareStructure(*(fields[j]->type()), &rightUnionArray[index], &leftUnionArray[index])) in CompareStruct() 1211 if (leftUnionArray[index] != rightUnionArray[index]) in CompareStruct() 1221 …Structure(const TType& leftNodeType, ConstantUnion* rightUnionArray, ConstantUnion* leftUnionArray) in CompareStructure() argument 1231 if (!CompareStruct(typeWithoutArrayness, &rightUnionArray[offset], &leftUnionArray[offset])) in CompareStructure() 1235 return CompareStruct(leftNodeType, rightUnionArray, leftUnionArray); in CompareStructure() 2031 ConstantUnion *leftUnionArray = new ConstantUnion[size]; in promoteConstantUnion() local 2038 leftUnionArray[i].setFConst(static_cast<float>(node->getIConst(i))); in promoteConstantUnion() 2041 leftUnionArray[i].setFConst(static_cast<float>(node->getUConst(i))); in promoteConstantUnion() [all …]
|