/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() 67 case EbtBool: in cast() 72 case EbtBool: setBConst(constant.getBConst()); break; in cast() 82 case EbtBool: setBConst(constant.getBConst()); break; in cast() 97 void setBConst(bool b) {bConst = b; type = EbtBool; } in setBConst() 113 case EbtBool: return (bConst == true) ? reinterpret_cast<const float&>(FFFFFFFFh) : 0; in getAsFloat() 150 case EbtBool: 370 case EbtBool: returnValue.setBConst(bConst && constant.bConst); break; [all …]
|
D | Intermediate.cpp | 167 case EbtBool: in TypeToConstructorOperator() 348 if (left->getBasicType() != EbtBool || left->isMatrix() || left->isArray() || left->isVector()) { in addBinaryMath() 363 if (left->getBasicType() == EbtStruct || left->getBasicType() == EbtBool) { in addBinaryMath() 369 …if (left->getBasicType() == EbtStruct || left->getBasicType() == EbtBool || left->getBasicType() =… in addBinaryMath() 488 …if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().… in addUnaryMath() 889 if (operand->getBasicType() != EbtBool) in promote() 901 if (operand->getBasicType() == EbtBool) in promote() 987 setType(TType(EbtBool, EbpUndefined)); in promote() 997 if (left->getBasicType() != EbtBool || right->getBasicType() != EbtBool) in promote() 999 setType(TType(EbtBool, EbpUndefined)); in promote() [all …]
|
D | BaseTypes.h | 52 EbtBool, enumerator 114 case EbtBool: return "bool"; in getBasicString()
|
D | ParseHelper.cpp | 619 if (type->getBasicType() != EbtBool || type->isArray() || type->isMatrix() || type->isVector()) { in boolErrorCheck() 633 if (pType.type != EbtBool || pType.array || (pType.primarySize > 1) || (pType.secondarySize > 1)) { in boolErrorCheck() 1342 if(qualifier == EvqAttribute && (typeSpecifier.type == EbtBool || typeSpecifier.type == EbtInt)) in addFullySpecifiedType() 1349 (typeSpecifier.type == EbtBool || typeSpecifier.type == EbtInt)) in addFullySpecifiedType() 1376 if(type.type == EbtBool) in checkInputOutputTypeIsValidES3() 1431 if(type.isStructureContainingType(EbtBool)) in checkInputOutputTypeIsValidES3() 3074 if(child->getBasicType() != EbtBool || in createUnaryMath() 3096 child->getBasicType() == EbtBool || in createUnaryMath() 3416 if(left->getBasicType() != EbtBool || in addBinaryMathInternal() 3427 if(left->getBasicType() == EbtStruct || left->getBasicType() == EbtBool) in addBinaryMathInternal() [all …]
|
/external/angle/src/compiler/translator/ |
D | ConstantUnion.cpp | 104 ASSERT(type == EbtBool); in getBConst() 118 case EbtBool: in isZero() 144 case EbtBool: in cast() 163 case EbtBool: in cast() 182 case EbtBool: in cast() 201 case EbtBool: in cast() 210 case EbtBool: in cast() 229 case EbtBool: in cast() 304 case EbtBool: in operator ==() 763 case EbtBool: in operator &&() [all …]
|
D | util.cpp | 335 else if (type.getBasicType() == EbtBool) in GLVariableType() 606 return TType(EbtBool); in GetShaderVariableBasicType() 608 return TType(EbtBool, 2); in GetShaderVariableBasicType() 610 return TType(EbtBool, 3); in GetShaderVariableBasicType() 612 return TType(EbtBool, 4); in GetShaderVariableBasicType()
|
D | ShaderStorageBlockFunctionHLSL.cpp | 37 case EbtBool: in OutputSSBOLoadFunctionBody() 123 if (ssboFunction.type.getBasicType() == EbtBool) in OutputSSBOStoreFunctionBody() 135 if (ssboFunction.type.getBasicType() == EbtBool) in OutputSSBOStoreFunctionBody()
|
D | IntermNode.cpp | 70 case EbtBool: in UndefinedConstantFoldingError() 193 ASSERT(mType.getBasicType() != EbtBool || precision == EbpUndefined); in setTypePreservePrecision() 614 if (getBasicType() == EbtBool) in setPrecisionFromChildren() 667 ASSERT(getBasicType() != EbtBool); in setBuiltInFunctionPrecision() 1268 setType(TType(EbtBool, EbpUndefined, resultQualifier)); in promote() 1281 setType(TType(EbtBool, EbpUndefined, resultQualifier, operandPrimarySize)); in promote() 1625 setType(TType(EbtBool, EbpUndefined, resultQualifier)); in promote() 1634 ASSERT(mLeft->getBasicType() == EbtBool && mRight->getBasicType() == EbtBool); in promote() 1635 setType(TType(EbtBool, EbpUndefined, resultQualifier)); in promote() 1724 setType(TType(EbtBool, EbpUndefined, resultQualifier)); in promote() [all …]
|
D | StaticType.h | 225 basicType == EbtBool, in GetForVecMatHelper() 251 basicType == EbtBool,
|
D | Types.cpp | 35 case EbtBool: in getBasicString() 225 case EbtBool: in canBeConstructed() 313 case EbtBool: in getBuiltInTypeNameString()
|
D | ConstantUnion.h | 44 type = EbtBool; in setBConst()
|
D | SymbolTable_ESSL_autogen.cpp | 1379 StaticType::Get<EbtBool, EbpUndefined, EvqFrontFacing, 1, 1>()); 1391 StaticType::Get<EbtBool, EbpUndefined, EvqHelperInvocation, 1, 1>()); 1545 StaticType::Get<EbtBool, EbpUndefined, EvqGlobal, 1, 1>()); 1783 StaticType::Get<EbtBool, EbpUndefined, EvqGlobal, 2, 1>()); 1803 StaticType::Get<EbtBool, EbpUndefined, EvqGlobal, 3, 1>()); 1823 StaticType::Get<EbtBool, EbpUndefined, EvqGlobal, 4, 1>()); 4356 StaticType::Get<EbtBool, EbpUndefined, EvqGlobal, 1, 1>(), 4364 StaticType::Get<EbtBool, EbpUndefined, EvqGlobal, 2, 1>(), 4372 StaticType::Get<EbtBool, EbpUndefined, EvqGlobal, 3, 1>(), 4380 StaticType::Get<EbtBool, EbpUndefined, EvqGlobal, 4, 1>(), [all …]
|
/external/angle/third_party/glslang/src/glslang/MachineIndependent/ |
D | Intermediate.cpp | 366 …if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().… in addUnaryMath() 386 case EOpConstructBool: newType = EbtBool; break; in addUnaryMath() 572 case EbtBool: newOp = EOpConvBoolToDouble; break; in buildConvertOp() 591 case EbtBool: newOp = EOpConvBoolToFloat; break; in buildConvertOp() 615 case EbtBool: newOp = EOpConvBoolToFloat16; break; in buildConvertOp() 625 case EbtBool: in buildConvertOp() 654 case EbtBool: newOp = EOpConvBoolToInt8; break; in buildConvertOp() 671 case EbtBool: newOp = EOpConvBoolToUint8; break; in buildConvertOp() 689 case EbtBool: newOp = EOpConvBoolToInt16; break; in buildConvertOp() 706 case EbtBool: newOp = EOpConvBoolToUint16; break; in buildConvertOp() [all …]
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | Intermediate.cpp | 366 …if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().… in addUnaryMath() 386 case EOpConstructBool: newType = EbtBool; break; in addUnaryMath() 572 case EbtBool: newOp = EOpConvBoolToDouble; break; in buildConvertOp() 591 case EbtBool: newOp = EOpConvBoolToFloat; break; in buildConvertOp() 615 case EbtBool: newOp = EOpConvBoolToFloat16; break; in buildConvertOp() 625 case EbtBool: in buildConvertOp() 654 case EbtBool: newOp = EOpConvBoolToInt8; break; in buildConvertOp() 671 case EbtBool: newOp = EOpConvBoolToUint8; break; in buildConvertOp() 689 case EbtBool: newOp = EOpConvBoolToInt16; break; in buildConvertOp() 706 case EbtBool: newOp = EOpConvBoolToUint16; break; in buildConvertOp() [all …]
|
/external/angle/third_party/glslang/src/hlsl/ |
D | hlslGrammar.cpp | 828 basicType = EbtBool; in acceptTemplateVecMatBasicType() 1640 new(&type) TType(EbtBool); in acceptType() 1643 new(&type) TType(EbtBool); in acceptType() 1647 new(&type) TType(EbtBool, EvqTemporary, 2); in acceptType() 1650 new(&type) TType(EbtBool, EvqTemporary, 3); in acceptType() 1653 new(&type) TType(EbtBool, EvqTemporary, 4); in acceptType() 1857 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 1); in acceptType() 1860 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 2); in acceptType() 1863 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 3); in acceptType() 1866 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 4); in acceptType() [all …]
|
/external/deqp-deps/glslang/hlsl/ |
D | hlslGrammar.cpp | 828 basicType = EbtBool; in acceptTemplateVecMatBasicType() 1640 new(&type) TType(EbtBool); in acceptType() 1643 new(&type) TType(EbtBool); in acceptType() 1647 new(&type) TType(EbtBool, EvqTemporary, 2); in acceptType() 1650 new(&type) TType(EbtBool, EvqTemporary, 3); in acceptType() 1653 new(&type) TType(EbtBool, EvqTemporary, 4); in acceptType() 1857 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 1); in acceptType() 1860 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 2); in acceptType() 1863 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 3); in acceptType() 1866 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 4); in acceptType() [all …]
|
/external/angle/src/compiler/translator/tree_ops/ |
D | UnfoldShortCircuitToIf.cpp | 78 const TType *boolType = StaticType::Get<EbtBool, EbpUndefined, EvqTemporary, 1, 1>(); in visitBinary() 105 const TType *boolType = StaticType::Get<EbtBool, EbpUndefined, EvqTemporary, 1, 1>(); in visitBinary()
|
D | RecordConstantPrecision.cpp | 101 if (parentAsAggregate->isConstructor() && parentAsAggregate->getBasicType() == EbtBool) in operandAffectsParentOperationPrecision()
|
D | RewriteDoWhile.cpp | 75 const TType *boolType = StaticType::Get<EbtBool, EbpUndefined, EvqTemporary, 1, 1>(); in visitBlock()
|
D | RewriteElseBlocks.cpp | 78 TType boolType(EbtBool, EbpUndefined, EvqTemporary); in rewriteIfElse()
|
/external/angle/src/compiler/translator/tree_util/ |
D | IntermNode_util.cpp | 70 case EbtBool: in CreateZeroNode() 139 TType type(EbtBool, EbpUndefined, EvqConst, 1); in CreateBoolNode()
|
/external/angle/src/tests/test_utils/ |
D | ShaderCompileTreeTest.cpp | 89 case EbtBool: in visitConstantUnion()
|
D | ConstantFoldingTest.h | 122 if (node.getType() != EbtBool) in isEqual()
|
/external/deqp-deps/glslang/glslang/Include/ |
D | ConstantUnion.h | 109 type = EbtBool; in setBConst() 226 case EbtBool: 861 case EbtBool: returnValue.setBConst(bConst && constant.bConst); break; 873 case EbtBool: returnValue.setBConst(bConst || constant.bConst); break;
|
/external/angle/third_party/glslang/src/glslang/Include/ |
D | ConstantUnion.h | 109 type = EbtBool; in setBConst() 226 case EbtBool: 861 case EbtBool: returnValue.setBConst(bConst && constant.bConst); break; 873 case EbtBool: returnValue.setBConst(bConst || constant.bConst); break;
|