Home
last modified time | relevance | path

Searched refs:leftUnionArray (Results 1 – 5 of 5) sorted by relevance

/external/deqp-deps/glslang/glslang/MachineIndependent/
DparseConst.cpp115 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()
176 leftUnionArray[i] = rightUnionArray[count]; in visitConstantUnion()
178 leftUnionArray[i].setDConst(0.0); in visitConstantUnion()
DConstant.cpp113 TConstUnionArray leftUnionArray = getConstArray(); in fold() local
141 leftUnionArray = smearedArray; in fold()
153 newConstArray[i] = leftUnionArray[i] + rightUnionArray[i]; in fold()
157 newConstArray[i] = leftUnionArray[i] - rightUnionArray[i]; in fold()
164 newConstArray[i] = leftUnionArray[i] * rightUnionArray[i]; in fold()
171 …sum += leftUnionArray[i * getMatrixRows() + row].getDConst() * rightUnionArray[column * rightNode-… in fold()
184 … newConstArray[i].setDConst(leftUnionArray[i].getDConst() / rightUnionArray[i].getDConst()); in fold()
185 else if (leftUnionArray[i].getDConst() > 0.0) in fold()
187 else if (leftUnionArray[i].getDConst() < 0.0) in fold()
195 …else if (rightUnionArray[i].getI8Const() == (signed char)-1 && leftUnionArray[i].getI8Const() == (… in fold()
[all …]
DIntermediate.cpp3613 TConstUnionArray leftUnionArray(size); in promoteConstantUnion() local
3620 leftUnionArray[i].setDConst(static_cast<double>(rightUnionArray[i].getIConst())); in promoteConstantUnion()
3623 leftUnionArray[i].setDConst(static_cast<double>(rightUnionArray[i].getUConst())); in promoteConstantUnion()
3626 leftUnionArray[i].setDConst(static_cast<double>(rightUnionArray[i].getI64Const())); in promoteConstantUnion()
3629 leftUnionArray[i].setDConst(static_cast<double>(rightUnionArray[i].getU64Const())); in promoteConstantUnion()
3632 leftUnionArray[i].setDConst(static_cast<double>(rightUnionArray[i].getBConst())); in promoteConstantUnion()
3637 leftUnionArray[i] = rightUnionArray[i]; in promoteConstantUnion()
3646 leftUnionArray[i].setDConst(static_cast<double>(rightUnionArray[i].getIConst())); in promoteConstantUnion()
3649 leftUnionArray[i].setDConst(static_cast<double>(rightUnionArray[i].getUConst())); in promoteConstantUnion()
3652 leftUnionArray[i].setDConst(static_cast<double>(rightUnionArray[i].getI64Const())); in promoteConstantUnion()
[all …]
/external/swiftshader/src/OpenGL/compiler/
DparseConst.cpp166 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()
DIntermediate.cpp27 …tructure(const TType& leftNodeType, ConstantUnion* rightUnionArray, ConstantUnion* leftUnionArray);
1199 …areStruct(const TType& leftNodeType, ConstantUnion* rightUnionArray, ConstantUnion* leftUnionArray) in CompareStruct() argument
1210 if (!CompareStructure(*(fields[j]->type()), &rightUnionArray[index], &leftUnionArray[index])) in CompareStruct()
1213 if (leftUnionArray[index] != rightUnionArray[index]) in CompareStruct()
1223 …Structure(const TType& leftNodeType, ConstantUnion* rightUnionArray, ConstantUnion* leftUnionArray) in CompareStructure() argument
1233 if (!CompareStruct(typeWithoutArrayness, &rightUnionArray[offset], &leftUnionArray[offset])) in CompareStructure()
1237 return CompareStruct(leftNodeType, rightUnionArray, leftUnionArray); in CompareStructure()
2033 ConstantUnion *leftUnionArray = new ConstantUnion[size]; in promoteConstantUnion() local
2040 leftUnionArray[i].setFConst(static_cast<float>(node->getIConst(i))); in promoteConstantUnion()
2043 leftUnionArray[i].setFConst(static_cast<float>(node->getUConst(i))); in promoteConstantUnion()
[all …]