Home
last modified time | relevance | path

Searched refs:setBConst (Results 1 – 18 of 18) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DConstantUnion.h70 case EbtInt: setBConst(constant.getIConst() != 0); break; in cast()
71 case EbtUInt: setBConst(constant.getUConst() != 0); break; in cast()
72 case EbtBool: setBConst(constant.getBConst()); break; in cast()
73 case EbtFloat: setBConst(constant.getFConst() != 0.0f); break; in cast()
82 case EbtBool: setBConst(constant.getBConst()); break; in cast()
97 void setBConst(bool b) {bConst = b; type = EbtBool; } in setBConst() function
370 case EbtBool: returnValue.setBConst(bConst && constant.bConst); break;
382 case EbtBool: returnValue.setBConst(bConst || constant.bConst); break;
DIntermediate.cpp1658 …case EbtBool: tempConstArray[i].setBConst((unionArray[i] == rightUnionArray[i]) ? false : true); b… in fold()
1693 tempConstArray[i].setBConst(unionArray[i] < rightUnionArray[i]); in fold()
1699 tempConstArray[i].setBConst(unionArray[i] > rightUnionArray[i]); in fold()
1705 tempConstArray[i].setBConst(unionArray[i] <= rightUnionArray[i]); in fold()
1711 tempConstArray[i].setBConst(unionArray[i] >= rightUnionArray[i]); in fold()
1718 …tempConstArray->setBConst(CompareStructure(node->getType(), node->getUnionArrayPointer(), unionArr… in fold()
1727 tempConstArray->setBConst(boolNodeFlag); in fold()
1739 …tempConstArray->setBConst(!CompareStructure(node->getType(), node->getUnionArrayPointer(), unionAr… in fold()
1748 tempConstArray->setBConst(boolNodeFlag); in fold()
1797 case EbtBool: tempConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold()
[all …]
Dglslang.y269 unionArray->setBConst($1.b);
DParseHelper.cpp3469 unionArray->setBConst(false); in addBinaryMathBooleanResult()
Dglslang_tab.cpp2433 unionArray->setBConst((yyvsp[0].lex).b); in yyparse()
DOutputASM.cpp249 constants[0].setBConst(b); in Constant()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DConstant.cpp354 …case EbtBool: newConstArray[i].setBConst((leftUnionArray[i] == rightUnionArray[i]) ? false : true)… in fold()
361 newConstArray[0].setBConst(leftUnionArray[0] < rightUnionArray[0]); in fold()
365 newConstArray[0].setBConst(leftUnionArray[0] > rightUnionArray[0]); in fold()
369 newConstArray[0].setBConst(! (leftUnionArray[0] > rightUnionArray[0])); in fold()
373 newConstArray[0].setBConst(! (leftUnionArray[0] < rightUnionArray[0])); in fold()
377 newConstArray[0].setBConst(rightNode->getConstArray() == leftUnionArray); in fold()
381 newConstArray[0].setBConst(rightNode->getConstArray() != leftUnionArray); in fold()
482 newConstArray[0].setBConst(result); in fold()
492 newConstArray[0].setBConst(result); in fold()
549 case EbtBool: newConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold()
[all …]
DIntermediate.cpp2613 unionArray[0].setBConst(b); in addConstantUnion()
3851 #define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0) in promoteConstantUnion()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DConstant.cpp354 …case EbtBool: newConstArray[i].setBConst((leftUnionArray[i] == rightUnionArray[i]) ? false : true)… in fold()
361 newConstArray[0].setBConst(leftUnionArray[0] < rightUnionArray[0]); in fold()
365 newConstArray[0].setBConst(leftUnionArray[0] > rightUnionArray[0]); in fold()
369 newConstArray[0].setBConst(! (leftUnionArray[0] > rightUnionArray[0])); in fold()
373 newConstArray[0].setBConst(! (leftUnionArray[0] < rightUnionArray[0])); in fold()
377 newConstArray[0].setBConst(rightNode->getConstArray() == leftUnionArray); in fold()
381 newConstArray[0].setBConst(rightNode->getConstArray() != leftUnionArray); in fold()
482 newConstArray[0].setBConst(result); in fold()
492 newConstArray[0].setBConst(result); in fold()
554 case EbtBool: newConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold()
[all …]
DIntermediate.cpp2613 unionArray[0].setBConst(b); in addConstantUnion()
3856 #define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0) in promoteConstantUnion()
/external/angle/src/compiler/translator/
DIntermNode.cpp71 result->setBConst(false); in UndefinedConstantFoldingError()
2457 resultArray[i].setBConst(leftArray[i] != rightArray[i]); in FoldBinary()
2493 resultArray->setBConst(*leftArray < *rightArray); in FoldBinary()
2499 resultArray->setBConst(*leftArray > *rightArray); in FoldBinary()
2505 resultArray->setBConst(!(*leftArray > *rightArray)); in FoldBinary()
2511 resultArray->setBConst(!(*leftArray < *rightArray)); in FoldBinary()
2529 resultArray->setBConst(equal); in FoldBinary()
2533 resultArray->setBConst(!equal); in FoldBinary()
2562 resultArray->setBConst(false); in foldUnaryNonComponentWise()
2567 resultArray->setBConst(true); in foldUnaryNonComponentWise()
[all …]
DConstantUnion.cpp209 setBConst(constant.getIConst() != 0); in cast()
212 setBConst(constant.getUConst() != 0); in cast()
215 setBConst(constant.getBConst()); in cast()
218 setBConst(constant.getFConst() != 0.0f); in cast()
234 setBConst(constant.getBConst()); in cast()
768 returnValue.setBConst(bConst && constant.bConst); in operator &&()
784 returnValue.setBConst(bConst || constant.bConst); in operator ||()
DConstantUnion.h45 void setBConst(bool b) in setBConst() function
Dglslang.y288 unionArray->setBConst($1.b);
Dglslang_tab_autogen.cpp2420 unionArray->setBConst((yyvsp[0].lex).b); in yyparse()
/external/angle/src/compiler/translator/tree_util/
DIntermNode_util.cpp71 u[i].setBConst(false); in CreateZeroNode()
146 u[0].setBConst(value); in CreateBoolNode()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
DConstantUnion.h106 void setBConst(bool b) in setBConst() function
861 case EbtBool: returnValue.setBConst(bConst && constant.bConst); break;
873 case EbtBool: returnValue.setBConst(bConst || constant.bConst); break;
/external/deqp-deps/glslang/glslang/Include/
DConstantUnion.h106 void setBConst(bool b) in setBConst() function
861 case EbtBool: returnValue.setBConst(bConst && constant.bConst); break;
873 case EbtBool: returnValue.setBConst(bConst || constant.bConst); break;