Searched refs:leftUnionArray (Results 1 – 8 of 8) sorted by relevance
/external/angle/third_party/vulkan-deps/glslang/src/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 | 113 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() 196 …else if (rightUnionArray[i].getIConst() == -1 && leftUnionArray[i].getIConst() == (int)-0x80000000… in fold() [all …]
|
D | Intermediate.cpp | 3851 TConstUnionArray leftUnionArray(size); 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() 3907 …return addConstantUnion(leftUnionArray, TType(promoteTo, t.getQualifier().storage, t.getVectorSize… in promoteConstantUnion()
|
/external/deqp-deps/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() 181 leftUnionArray[i] = rightUnionArray[count]; in visitConstantUnion() 183 leftUnionArray[i].setDConst(0.0); in visitConstantUnion() 187 leftUnionArray[i] = rightUnionArray[count]; in visitConstantUnion()
|
D | Constant.cpp | 113 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() 196 …else if (rightUnionArray[i].getIConst() == -1 && leftUnionArray[i].getIConst() == (int)-0x80000000… in fold() [all …]
|
D | Intermediate.cpp | 3846 TConstUnionArray leftUnionArray(size); 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() 3902 …return addConstantUnion(leftUnionArray, TType(promoteTo, t.getQualifier().storage, t.getVectorSize… in promoteConstantUnion()
|
/external/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 …]
|