Home
last modified time | relevance | path

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

12

/external/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()
DOutputASM.cpp1755 bool trueCondition = constantCondition->getUnionArrayPointer()->getBConst(); in visitSelection()
1798 bool trueCondition = constantCondition->getUnionArrayPointer()->getBConst(); in visitSelection()
3070 bool trueCondition = constantCondition->getUnionArrayPointer()->getBConst(); in cost()
/external/angle/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.cpp1522 if (mCondition->getAsConstantUnion()->getBConst(0)) in fold()
2565 if (operandArray[i].getBConst()) in foldUnaryNonComponentWise()
2579 if (!operandArray[i].getBConst()) in foldUnaryNonComponentWise()
2811 resultArray[i].setBConst(!operandArray[i].getBConst()); in foldUnaryComponentWise()
3087 resultArray[i].setBConst(!operandArray[i].getBConst()); in foldUnaryComponentWise()
3481 resultArray[i].setBConst(unionArrays[0][i].getBConst() == in FoldAggregateBuiltIn()
3482 unionArrays[1][i].getBConst()); in FoldAggregateBuiltIn()
3512 resultArray[i].setBConst(unionArrays[0][i].getBConst() != in FoldAggregateBuiltIn()
3513 unionArrays[1][i].getBConst()); in FoldAggregateBuiltIn()
3685 bool a = unionArrays[2][i].getBConst(); in FoldAggregateBuiltIn()
[all …]
DIntermNode.h349 bool getBConst(size_t index) const in getBConst() function
351 return mUnionArrayPointer ? mUnionArrayPointer[index].getBConst() : false; in getBConst()
DOutputTree.cpp596 if (node->getConstantValue()[i].getBConst()) in visitConstantUnion()
DOutputGLSLBase.cpp476 out << pConstUnion->getBConst(); in writeConstantUnion()
/external/deqp-deps/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 …]
DIntermediate.cpp2504 if (cond->getAsConstantUnion()->getConstArray()[0].getBConst()) in addSelection()
3885 case EbtBool: TO_ALL(getBConst); break; in promoteConstantUnion()
/external/angle/third_party/vulkan-deps/glslang/src/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()
554 case EbtBool: newConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold()
680 newConstArray[i].setIConst(unionArray[i].getBConst()); break; in fold()
682 newConstArray[i].setUConst(unionArray[i].getBConst()); break; in fold()
694 newConstArray[i].setDConst(unionArray[i].getBConst()); break; in fold()
733 newConstArray[i].setI8Const(unionArray[i].getBConst()); break; in fold()
735 newConstArray[i].setU8Const(unionArray[i].getBConst()); break; in fold()
737 newConstArray[i].setI16Const(unionArray[i].getBConst()); break; in fold()
739 newConstArray[i].setU16Const(unionArray[i].getBConst()); break; in fold()
[all …]
DSpirvIntrinsics.cpp218 bool value = constant->getConstArray()[0].getBConst(); in getSpirvDecorateQualifierString()
DIntermediate.cpp2504 if (cond->getAsConstantUnion()->getConstArray()[0].getBConst()) in addSelection()
3890 case EbtBool: TO_ALL(getBConst); break; in promoteConstantUnion()
/external/angle/src/tests/test_utils/
DShaderCompileTreeTest.cpp90 isZero = (node->getBConst(i) == false); in visitConstantUnion()
DConstantFoldingTest.h126 return node.getBConst() == value; in isEqual()
/external/angle/src/compiler/translator/tree_util/
DReplaceClipCullDistanceVariable.cpp139 idx = constIdx->getBConst() ? 1 : 0; in visitBinary()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DReplaceForShaderFramebufferFetch.cpp188 idx = constIdx->getBConst() ? 1 : 0; in visitBinary()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
DConstantUnion.h127 bool getBConst() const { return bConst; } in getBConst() function
/external/deqp-deps/glslang/glslang/Include/
DConstantUnion.h127 bool getBConst() const { return bConst; } in getBConst() function

12