/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | ConstantUnion.h | 41 case EbtUInt: setFConst(static_cast<float>(constant.getUConst())); break; in cast() 51 case EbtUInt: setIConst(static_cast<int>(constant.getUConst())); break; in cast() 61 case EbtUInt: setUConst(static_cast<unsigned int>(constant.getUConst())); break; in cast() 71 case EbtUInt: setBConst(constant.getUConst() != 0); break; in cast() 81 case EbtUInt: setUConst(constant.getUConst()); break; in cast() 100 unsigned int getUConst() const { return uConst; } in getUConst() function
|
D | Intermediate.cpp | 1581 tempConstArray[i].setUConst(unionArray[i].getUConst() / rightUnionArray[i].getUConst()); in fold() 1584 tempConstArray[i].setUConst(unionArray[i].getUConst() % rightUnionArray[i].getUConst()); in fold() 1806 case EbtUInt: tempConstArray[i].setUConst(~unionArray[i].getUConst()); break; in fold() 2009 tempConstArray[i].setFConst(sw::bit_cast<float>(unionArray[i].getUConst())); in fold() 2041 leftUnionArray[i].setFConst(static_cast<float>(node->getUConst(i))); in promoteConstantUnion() 2060 leftUnionArray[i].setIConst(static_cast<int>(node->getUConst(i))); in promoteConstantUnion() 2079 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getUConst(i))); in promoteConstantUnion() 2098 leftUnionArray[i].setBConst(node->getUConst(i) != 0); in promoteConstantUnion()
|
D | ValidateSwitch.cpp | 144 unsigned int uConst = condition->getUConst(0); in visitCase()
|
D | intermediate.h | 440 …int getUConst(int index) const { return unionArrayPointer ? unionArrayPointer[index].getUConst() :… in getUConst() function
|
D | intermOut.cpp | 397 out << node->getUnionArrayPointer()[i].getUConst(); in visitConstantUnion()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ConstantUnion.cpp | 65 (rhs.getType() == EbtUInt && rhs.getUConst() <= 31u); in IsValidShiftOffset() 82 unsigned int TConstantUnion::getUConst() const in getUConst() function in sh::TConstantUnion 115 return getUConst() == 0; in isZero() 142 setFConst(static_cast<float>(constant.getUConst())); in cast() 161 setIConst(static_cast<int>(constant.getUConst())); in cast() 180 setUConst(static_cast<unsigned int>(constant.getUConst())); in cast() 208 setBConst(constant.getUConst() != 0); in cast() 227 setUConst(constant.getUConst()); in cast()
|
D | IntermNode.cpp | 2224 resultArray[i].setUConst(leftArray[i].getUConst() / in FoldBinary() 2225 rightArray[i].getUConst()); in FoldBinary() 2230 resultArray[i].setUConst(leftArray[i].getUConst() % in FoldBinary() 2231 rightArray[i].getUConst()); in FoldBinary() 2499 gl::unpackSnorm2x16(operandArray[0].getUConst(), &f1, &f2); in foldUnaryNonComponentWise() 2518 gl::unpackUnorm2x16(operandArray[0].getUConst(), &f1, &f2); in foldUnaryNonComponentWise() 2537 gl::unpackHalf2x16(operandArray[0].getUConst(), &f1, &f2); in foldUnaryNonComponentWise() 2566 gl::UnpackUnorm4x8(operandArray[0].getUConst(), f); in foldUnaryNonComponentWise() 2578 gl::UnpackSnorm4x8(operandArray[0].getUConst(), f); in foldUnaryNonComponentWise() 2640 -static_cast<int>(operandArray[i].getUConst()))); in foldUnaryComponentWise() [all …]
|
D | ConstantUnion.h | 56 unsigned int getUConst() const;
|
D | ValidateSwitch.cpp | 231 unsigned int uConst = condition->getUConst(0); in visitCase()
|
D | IntermNode.h | 324 unsigned int getUConst(size_t index) const in getUConst() function 326 return mUnionArrayPointer ? mUnionArrayPointer[index].getUConst() : 0; in getUConst()
|
D | OutputTree.cpp | 591 mOut << node->getConstantValue()[i].getUConst(); in visitConstantUnion()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | IntermNode.cpp | 2575 resultArray[i].setUConst(leftArray[i].getUConst() / in FoldBinary() 2576 rightArray[i].getUConst()); in FoldBinary() 2581 resultArray[i].setUConst(leftArray[i].getUConst() % in FoldBinary() 2582 rightArray[i].getUConst()); in FoldBinary() 2850 gl::unpackSnorm2x16(operandArray[0].getUConst(), &f1, &f2); in foldUnaryNonComponentWise() 2869 gl::unpackUnorm2x16(operandArray[0].getUConst(), &f1, &f2); in foldUnaryNonComponentWise() 2888 gl::unpackHalf2x16(operandArray[0].getUConst(), &f1, &f2); in foldUnaryNonComponentWise() 2917 gl::UnpackUnorm4x8(operandArray[0].getUConst(), f); in foldUnaryNonComponentWise() 2929 gl::UnpackSnorm4x8(operandArray[0].getUConst(), f); in foldUnaryNonComponentWise() 2992 -static_cast<int>(operandArray[i].getUConst()))); in foldUnaryComponentWise() [all …]
|
D | ConstantUnion.cpp | 65 (rhs.getType() == EbtUInt && rhs.getUConst() <= 31u); in IsValidShiftOffset() 86 unsigned int TConstantUnion::getUConst() const in getUConst() function in sh::TConstantUnion 119 return getUConst() == 0; in isZero() 146 setFConst(static_cast<float>(constant.getUConst())); in cast() 165 setIConst(static_cast<int>(constant.getUConst())); in cast() 184 setUConst(static_cast<unsigned int>(constant.getUConst())); in cast() 212 setBConst(constant.getUConst() != 0); in cast() 231 setUConst(constant.getUConst()); in cast()
|
D | ConstantUnion.h | 58 unsigned int getUConst() const;
|
D | ValidateClipCullDistance.cpp | 117 idx = constIdx->getUConst(); in visitBinary()
|
D | ValidateSwitch.cpp | 231 unsigned int uConst = condition->getUConst(0); in visitCase()
|
D | IntermNode.h | 359 unsigned int getUConst(size_t index) const in getUConst() function 361 return mUnionArrayPointer ? mUnionArrayPointer[index].getUConst() : 0; in getUConst()
|
D | OutputTree.cpp | 615 mOut << node->getConstantValue()[i].getUConst(); in visitConstantUnion()
|
/third_party/glslang/glslang/MachineIndependent/ |
D | Constant.cpp | 206 … newConstArray[i].setUConst(leftUnionArray[i].getUConst() / rightUnionArray[i].getUConst()); in fold() 533 …rray[i].setUConst(static_cast<unsigned int>(-static_cast<int>(unionArray[i].getUConst()))); break; in fold() 679 newConstArray[i].setBConst(unionArray[i].getUConst() != 0); break; in fold() 687 newConstArray[i].setIConst(unionArray[i].getUConst()); break; in fold() 703 newConstArray[i].setDConst(unionArray[i].getUConst()); break; in fold() 845 newConstArray[i].setI8Const((signed char)unionArray[i].getUConst()); break; in fold() 847 newConstArray[i].setI16Const((signed short)unionArray[i].getUConst()); break; in fold() 849 newConstArray[i].setI64Const(unionArray[i].getUConst()); break; in fold() 851 newConstArray[i].setU8Const((unsigned char)unionArray[i].getUConst()); break; in fold() 853 newConstArray[i].setU16Const((unsigned short)unionArray[i].getUConst()); break; in fold() [all …]
|
D | propagateNoContraction.cpp | 137 unsigned struct_dereference_index = node->getAsConstantUnion()->getConstArray()[0].getUConst(); in getStructIndexFromConstantUnion()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | ConstantFoldingTest.h | 116 abs(static_cast<int>(node.getUConst() - value)) && in isEqual() 117 static_cast<int>(node.getUConst() - value) != std::numeric_limits<int>::min(); in isEqual()
|
D | ShaderCompileTreeTest.cpp | 87 isZero = (node->getUConst(i) == 0u); in visitConstantUnion()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | ConstantFoldingTest.h | 116 abs(static_cast<int>(node.getUConst() - value)) && in isEqual() 117 static_cast<int>(node.getUConst() - value) != std::numeric_limits<int>::min(); in isEqual()
|
D | ShaderCompileTreeTest.cpp | 87 isZero = (node->getUConst(i) == 0u); in visitConstantUnion()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | ReplaceClipCullDistanceVariable.cpp | 135 idx = constIdx->getUConst(); in visitBinary()
|