/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | ConstantUnion.h | 42 case EbtBool: setFConst(static_cast<float>(constant.getBConst())); break; in cast() 52 case EbtBool: setIConst(static_cast<int>(constant.getBConst())); break; in cast() 62 case EbtBool: setUConst(static_cast<unsigned int>(constant.getBConst())); break; in cast() 72 case EbtBool: setBConst(constant.getBConst()); break; in cast() 82 case EbtBool: setBConst(constant.getBConst()); break; in cast() 102 bool getBConst() const { return bConst; } in getBConst() function
|
D | Intermediate.cpp | 626 if (cond->getAsConstantUnion()->getBConst(0) == true) in addSelection() 671 if (cond->getAsConstantUnion()->getBConst(0)) in addSelection() 1797 case EbtBool: tempConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold() 2044 leftUnionArray[i].setFConst(static_cast<float>(node->getBConst(i))); in promoteConstantUnion() 2063 leftUnionArray[i].setIConst(static_cast<int>(node->getBConst(i))); in promoteConstantUnion() 2082 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getBConst(i))); in promoteConstantUnion() 2101 leftUnionArray[i].setBConst(node->getBConst(i)); in promoteConstantUnion()
|
D | intermediate.h | 442 …bool getBConst(int index) const { return unionArrayPointer ? unionArrayPointer[index].getBConst() … in getBConst() function
|
D | intermOut.cpp | 380 if (node->getUnionArrayPointer()[i].getBConst()) in visitConstantUnion()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ConstantUnion.cpp | 102 bool TConstantUnion::getBConst() const in getBConst() function in sh::TConstantUnion 119 return getBConst() == false; in isZero() 145 setFConst(static_cast<float>(constant.getBConst())); in cast() 164 setIConst(static_cast<int>(constant.getBConst())); in cast() 183 setUConst(static_cast<unsigned int>(constant.getBConst())); in cast() 211 setBConst(constant.getBConst()); in cast() 230 setBConst(constant.getBConst()); in cast()
|
D | ConstantUnion.h | 58 bool getBConst() const;
|
D | IntermNode.cpp | 1401 if (mCondition->getAsConstantUnion()->getBConst(0)) in fold() 2427 if (operandArray[i].getBConst()) in foldUnaryNonComponentWise() 2441 if (!operandArray[i].getBConst()) in foldUnaryNonComponentWise() 2672 resultArray[i].setBConst(!operandArray[i].getBConst()); in foldUnaryComponentWise() 2948 resultArray[i].setBConst(!operandArray[i].getBConst()); in foldUnaryComponentWise() 3345 resultArray[i].setBConst(unionArrays[0][i].getBConst() == in FoldAggregateBuiltIn() 3346 unionArrays[1][i].getBConst()); in FoldAggregateBuiltIn() 3376 resultArray[i].setBConst(unionArrays[0][i].getBConst() != in FoldAggregateBuiltIn() 3377 unionArrays[1][i].getBConst()); in FoldAggregateBuiltIn() 3548 bool a = unionArrays[2][i].getBConst(); in FoldAggregateBuiltIn()
|
D | IntermNode.h | 332 bool getBConst(size_t index) const in getBConst() function 334 return mUnionArrayPointer ? mUnionArrayPointer[index].getBConst() : false; in getBConst()
|
D | OutputTree.cpp | 572 if (node->getConstantValue()[i].getBConst()) in visitConstantUnion()
|
D | OutputGLSLBase.cpp | 438 out << pConstUnion->getBConst(); in writeConstantUnion()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ConstantUnion.cpp | 106 bool TConstantUnion::getBConst() const in getBConst() function in sh::TConstantUnion 123 return getBConst() == false; in isZero() 149 setFConst(static_cast<float>(constant.getBConst())); in cast() 168 setIConst(static_cast<int>(constant.getBConst())); in cast() 187 setUConst(static_cast<unsigned int>(constant.getBConst())); in cast() 215 setBConst(constant.getBConst()); in cast() 234 setBConst(constant.getBConst()); in cast()
|
D | ConstantUnion.h | 60 bool getBConst() const;
|
D | ValidateClipCullDistance.cpp | 123 idx = constIdx->getBConst() ? 1 : 0; in visitBinary()
|
D | IntermNode.cpp | 1675 if (mCondition->getAsConstantUnion()->getBConst(0)) in fold() 2778 if (operandArray[i].getBConst()) in foldUnaryNonComponentWise() 2792 if (!operandArray[i].getBConst()) in foldUnaryNonComponentWise() 3024 resultArray[i].setBConst(!operandArray[i].getBConst()); in foldUnaryComponentWise() 3300 resultArray[i].setBConst(!operandArray[i].getBConst()); in foldUnaryComponentWise() 3699 resultArray[i].setBConst(unionArrays[0][i].getBConst() == in FoldAggregateBuiltIn() 3700 unionArrays[1][i].getBConst()); in FoldAggregateBuiltIn() 3730 resultArray[i].setBConst(unionArrays[0][i].getBConst() != in FoldAggregateBuiltIn() 3731 unionArrays[1][i].getBConst()); in FoldAggregateBuiltIn() 3903 bool a = unionArrays[2][i].getBConst(); in FoldAggregateBuiltIn() [all …]
|
D | IntermNode.h | 367 bool getBConst(size_t index) const in getBConst() function 369 return mUnionArrayPointer ? mUnionArrayPointer[index].getBConst() : false; in getBConst()
|
D | OutputTree.cpp | 596 if (node->getConstantValue()[i].getBConst()) in visitConstantUnion()
|
D | OutputGLSLBase.cpp | 503 out << pConstUnion->getBConst(); in writeConstantUnion()
|
/third_party/glslang/glslang/MachineIndependent/ |
D | LiveTraverser.h | 125 if (constant->getConstArray()[0].getBConst() == true && node->getTrueBlock()) in visitSelection() 127 if (constant->getConstArray()[0].getBConst() == false && node->getFalseBlock()) in visitSelection()
|
D | Constant.cpp | 479 if (unionArray[i].getBConst()) in fold() 489 if (! unionArray[i].getBConst()) in fold() 549 case EbtBool: newConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold() 681 newConstArray[i].setIConst(unionArray[i].getBConst()); break; in fold() 683 newConstArray[i].setUConst(unionArray[i].getBConst()); break; in fold() 695 newConstArray[i].setDConst(unionArray[i].getBConst()); break; in fold() 734 newConstArray[i].setI8Const(unionArray[i].getBConst()); break; in fold() 736 newConstArray[i].setU8Const(unionArray[i].getBConst()); break; in fold() 738 newConstArray[i].setI16Const(unionArray[i].getBConst()); break; in fold() 740 newConstArray[i].setU16Const(unionArray[i].getBConst()); break; in fold() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | ShaderCompileTreeTest.cpp | 90 isZero = (node->getBConst(i) == false); in visitConstantUnion()
|
D | ConstantFoldingTest.h | 126 return node.getBConst() == value; in isEqual()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | ShaderCompileTreeTest.cpp | 90 isZero = (node->getBConst(i) == false); in visitConstantUnion()
|
D | ConstantFoldingTest.h | 126 return node.getBConst() == value; in isEqual()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | ReplaceClipCullDistanceVariable.cpp | 141 idx = constIdx->getBConst() ? 1 : 0; in visitBinary()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
D | ReplaceForShaderFramebufferFetch.cpp | 168 idx = constIdx->getBConst() ? 1 : 0; in visitBinary()
|