Home
last modified time | relevance | path

Searched refs:getBConst (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DConstantUnion.h42 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
DIntermediate.cpp626 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()
Dintermediate.h442 …bool getBConst(int index) const { return unionArrayPointer ? unionArrayPointer[index].getBConst() … in getBConst() function
DintermOut.cpp380 if (node->getUnionArrayPointer()[i].getBConst()) in visitConstantUnion()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DConstantUnion.cpp102 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()
DConstantUnion.h58 bool getBConst() const;
DIntermNode.cpp1401 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()
DIntermNode.h332 bool getBConst(size_t index) const in getBConst() function
334 return mUnionArrayPointer ? mUnionArrayPointer[index].getBConst() : false; in getBConst()
DOutputTree.cpp572 if (node->getConstantValue()[i].getBConst()) in visitConstantUnion()
DOutputGLSLBase.cpp438 out << pConstUnion->getBConst(); in writeConstantUnion()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DConstantUnion.cpp106 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()
DConstantUnion.h60 bool getBConst() const;
DValidateClipCullDistance.cpp123 idx = constIdx->getBConst() ? 1 : 0; in visitBinary()
DIntermNode.cpp1675 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 …]
DIntermNode.h367 bool getBConst(size_t index) const in getBConst() function
369 return mUnionArrayPointer ? mUnionArrayPointer[index].getBConst() : false; in getBConst()
DOutputTree.cpp596 if (node->getConstantValue()[i].getBConst()) in visitConstantUnion()
DOutputGLSLBase.cpp503 out << pConstUnion->getBConst(); in writeConstantUnion()
/third_party/glslang/glslang/MachineIndependent/
DLiveTraverser.h125 if (constant->getConstArray()[0].getBConst() == true && node->getTrueBlock()) in visitSelection()
127 if (constant->getConstArray()[0].getBConst() == false && node->getFalseBlock()) in visitSelection()
DConstant.cpp479 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/
DShaderCompileTreeTest.cpp90 isZero = (node->getBConst(i) == false); in visitConstantUnion()
DConstantFoldingTest.h126 return node.getBConst() == value; in isEqual()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DShaderCompileTreeTest.cpp90 isZero = (node->getBConst(i) == false); in visitConstantUnion()
DConstantFoldingTest.h126 return node.getBConst() == value; in isEqual()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DReplaceClipCullDistanceVariable.cpp141 idx = constIdx->getBConst() ? 1 : 0; in visitBinary()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DReplaceForShaderFramebufferFetch.cpp168 idx = constIdx->getBConst() ? 1 : 0; in visitBinary()

12