Home
last modified time | relevance | path

Searched refs:rightUnionArray (Results 1 – 8 of 8) sorted by relevance

/external/deqp-deps/glslang/glslang/MachineIndependent/
DConstant.cpp114 TConstUnionArray rightUnionArray = rightNode->getConstArray(); in fold() local
135 rightUnionArray = smearedArray; in fold()
139 rightUnionArray = rightNode->getConstArray(); 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()
183 if (rightUnionArray[i].getDConst() != 0.0) in fold()
184 … newConstArray[i].setDConst(leftUnionArray[i].getDConst() / rightUnionArray[i].getDConst()); in fold()
194 if (rightUnionArray[i] == 0) in fold()
[all …]
DparseConst.cpp124 const TConstUnionArray& rightUnionArray = node->getConstArray(); in visitConstantUnion() local
128 leftUnionArray[index] = rightUnionArray[i]; in visitConstantUnion()
134 const TConstUnionArray& rightUnionArray = node->getConstArray(); in visitConstantUnion() local
142 leftUnionArray[i] = rightUnionArray[count]; in visitConstantUnion()
160 leftUnionArray[targetOffset] = rightUnionArray[srcOffset]; in visitConstantUnion()
181 leftUnionArray[i] = rightUnionArray[count]; in visitConstantUnion()
187 leftUnionArray[i] = rightUnionArray[count]; in visitConstantUnion()
DIntermediate.cpp3843 const TConstUnionArray& rightUnionArray = node->getConstArray(); in promoteConstantUnion() local
3850 #define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get())) in promoteConstantUnion()
3851 #define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0) in promoteConstantUnion()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DConstant.cpp114 TConstUnionArray rightUnionArray = rightNode->getConstArray(); in fold() local
135 rightUnionArray = smearedArray; in fold()
139 rightUnionArray = rightNode->getConstArray(); 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()
183 if (rightUnionArray[i].getDConst() != 0.0) in fold()
184 … newConstArray[i].setDConst(leftUnionArray[i].getDConst() / rightUnionArray[i].getDConst()); in fold()
194 if (rightUnionArray[i] == 0) in fold()
[all …]
DparseConst.cpp124 const TConstUnionArray& rightUnionArray = node->getConstArray(); in visitConstantUnion() local
128 leftUnionArray[index] = rightUnionArray[i]; in visitConstantUnion()
134 const TConstUnionArray& rightUnionArray = node->getConstArray(); in visitConstantUnion() local
142 leftUnionArray[i] = rightUnionArray[count]; in visitConstantUnion()
160 leftUnionArray[targetOffset] = rightUnionArray[srcOffset]; in visitConstantUnion()
174 leftUnionArray[index] = rightUnionArray[0]; in visitConstantUnion()
188 leftUnionArray[i] = rightUnionArray[count]; in visitConstantUnion()
DIntermediate.cpp3848 const TConstUnionArray& rightUnionArray = node->getConstArray(); in promoteConstantUnion() local
3855 #define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get())) in promoteConstantUnion()
3856 #define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0) in promoteConstantUnion()
/external/swiftshader/src/OpenGL/compiler/
DIntermediate.cpp27 bool CompareStructure(const TType& leftNodeType, ConstantUnion* rightUnionArray, ConstantUnion* lef…
1197 bool CompareStruct(const TType& leftNodeType, ConstantUnion* rightUnionArray, ConstantUnion* leftUn… in CompareStruct() argument
1208 if (!CompareStructure(*(fields[j]->type()), &rightUnionArray[index], &leftUnionArray[index])) in CompareStruct()
1211 if (leftUnionArray[index] != rightUnionArray[index]) in CompareStruct()
1221 bool CompareStructure(const TType& leftNodeType, ConstantUnion* rightUnionArray, ConstantUnion* lef… in CompareStructure() argument
1231 if (!CompareStruct(typeWithoutArrayness, &rightUnionArray[offset], &leftUnionArray[offset])) in CompareStructure()
1235 return CompareStruct(leftNodeType, rightUnionArray, leftUnionArray); in CompareStructure()
1409 ConstantUnion *rightUnionArray = node->getUnionArrayPointer(); in fold() local
1414 rightUnionArray = new ConstantUnion[objectSize]; in fold()
1416 rightUnionArray[i] = *node->getUnionArrayPointer(); in fold()
[all …]
DparseConst.cpp176 ConstantUnion *rightUnionArray = node->getUnionArrayPointer(); in visitConstantUnion() local
180 leftUnionArray[index].cast(basicType, rightUnionArray[i]); in visitConstantUnion()
186 ConstantUnion *rightUnionArray = node->getUnionArrayPointer(); in visitConstantUnion() local
193 leftUnionArray[i].cast(basicType, rightUnionArray[count]); in visitConstantUnion()
207 leftUnionArray[i].cast(basicType, rightUnionArray[0]); in visitConstantUnion()