Home
last modified time | relevance | path

Searched refs:setBConst (Results 1 – 9 of 9) 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.cpp1660 …case EbtBool: tempConstArray[i].setBConst((unionArray[i] == rightUnionArray[i]) ? false : true); b… in fold()
1695 tempConstArray[i].setBConst(unionArray[i] < rightUnionArray[i]); in fold()
1701 tempConstArray[i].setBConst(unionArray[i] > rightUnionArray[i]); in fold()
1707 tempConstArray[i].setBConst(unionArray[i] <= rightUnionArray[i]); in fold()
1713 tempConstArray[i].setBConst(unionArray[i] >= rightUnionArray[i]); in fold()
1720 …tempConstArray->setBConst(CompareStructure(node->getType(), node->getUnionArrayPointer(), unionArr… in fold()
1729 tempConstArray->setBConst(boolNodeFlag); in fold()
1741 …tempConstArray->setBConst(!CompareStructure(node->getType(), node->getUnionArrayPointer(), unionAr… in fold()
1750 tempConstArray->setBConst(boolNodeFlag); in fold()
1799 case EbtBool: tempConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold()
[all …]
Dglslang.y269 unionArray->setBConst($1.b);
Dglslang_tab.cpp2433 unionArray->setBConst((yyvsp[0].lex).b); in yyparse()
DParseHelper.cpp3469 unionArray->setBConst(false); in addBinaryMathBooleanResult()
DOutputASM.cpp249 constants[0].setBConst(b); in Constant()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DConstant.cpp352 …case EbtBool: newConstArray[i].setBConst((leftUnionArray[i] == rightUnionArray[i]) ? false : true)… in fold()
359 newConstArray[0].setBConst(leftUnionArray[0] < rightUnionArray[0]); in fold()
363 newConstArray[0].setBConst(leftUnionArray[0] > rightUnionArray[0]); in fold()
367 newConstArray[0].setBConst(! (leftUnionArray[0] > rightUnionArray[0])); in fold()
371 newConstArray[0].setBConst(! (leftUnionArray[0] < rightUnionArray[0])); in fold()
375 newConstArray[0].setBConst(rightNode->getConstArray() == leftUnionArray); in fold()
379 newConstArray[0].setBConst(rightNode->getConstArray() != leftUnionArray); in fold()
480 newConstArray[0].setBConst(result); in fold()
490 newConstArray[0].setBConst(result); in fold()
547 case EbtBool: newConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold()
[all …]
DIntermediate.cpp2452 unionArray[0].setBConst(b); in addConstantUnion()
3750 leftUnionArray[i].setBConst(rightUnionArray[i].getIConst() != 0); in promoteConstantUnion()
3753 leftUnionArray[i].setBConst(rightUnionArray[i].getUConst() != 0); in promoteConstantUnion()
3756 leftUnionArray[i].setBConst(rightUnionArray[i].getI64Const() != 0); in promoteConstantUnion()
3759 leftUnionArray[i].setBConst(rightUnionArray[i].getU64Const() != 0); in promoteConstantUnion()
3767 leftUnionArray[i].setBConst(rightUnionArray[i].getDConst() != 0.0); in promoteConstantUnion()
/external/deqp-deps/glslang/glslang/Include/
DConstantUnion.h106 void setBConst(bool b) in setBConst() function
825 case EbtBool: returnValue.setBConst(bConst && constant.bConst); break;
837 case EbtBool: returnValue.setBConst(bConst || constant.bConst); break;