/external/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()
|
D | OutputASM.cpp | 1755 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/ |
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 | 1522 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 …]
|
D | IntermNode.h | 349 bool getBConst(size_t index) const in getBConst() function 351 return mUnionArrayPointer ? mUnionArrayPointer[index].getBConst() : false; in getBConst()
|
D | OutputTree.cpp | 596 if (node->getConstantValue()[i].getBConst()) in visitConstantUnion()
|
D | OutputGLSLBase.cpp | 476 out << pConstUnion->getBConst(); in writeConstantUnion()
|
/external/deqp-deps/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 …]
|
D | Intermediate.cpp | 2504 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/ |
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() 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 …]
|
D | SpirvIntrinsics.cpp | 218 bool value = constant->getConstArray()[0].getBConst(); in getSpirvDecorateQualifierString()
|
D | Intermediate.cpp | 2504 if (cond->getAsConstantUnion()->getConstArray()[0].getBConst()) in addSelection() 3890 case EbtBool: TO_ALL(getBConst); break; in promoteConstantUnion()
|
/external/angle/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()
|
/external/angle/src/compiler/translator/tree_util/ |
D | ReplaceClipCullDistanceVariable.cpp | 139 idx = constIdx->getBConst() ? 1 : 0; in visitBinary()
|
/external/angle/src/compiler/translator/tree_ops/vulkan/ |
D | ReplaceForShaderFramebufferFetch.cpp | 188 idx = constIdx->getBConst() ? 1 : 0; in visitBinary()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/ |
D | ConstantUnion.h | 127 bool getBConst() const { return bConst; } in getBConst() function
|
/external/deqp-deps/glslang/glslang/Include/ |
D | ConstantUnion.h | 127 bool getBConst() const { return bConst; } in getBConst() function
|