/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()
|
/external/angle/src/compiler/translator/ |
D | ConstantUnion.cpp | 78 TConstantUnion::TConstantUnion(bool b) : bConst(b), type(EbtBool) {} in TConstantUnion() 108 ASSERT(type == EbtBool); in getBConst() 122 case EbtBool: in isZero() 148 case EbtBool: in cast() 167 case EbtBool: in cast() 186 case EbtBool: in cast() 205 case EbtBool: in cast() 214 case EbtBool: in cast() 233 case EbtBool: in cast() 308 case EbtBool: in operator ==() [all …]
|
D | util.cpp | 275 case EbtBool: in GLVariableType() 624 return TType(EbtBool); in GetShaderVariableBasicType() 626 return TType(EbtBool, 2); in GetShaderVariableBasicType() 628 return TType(EbtBool, 3); in GetShaderVariableBasicType() 630 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() 665 if (getBasicType() == EbtBool) in setPrecisionFromChildren() 717 ASSERT(getBasicType() != EbtBool); in setBuiltInFunctionPrecision() 1344 setType(TType(EbtBool, EbpUndefined, resultQualifier)); in promote() 1357 setType(TType(EbtBool, EbpUndefined, resultQualifier, operandPrimarySize)); in promote() 1708 setType(TType(EbtBool, EbpUndefined, resultQualifier)); in promote() 1717 ASSERT(mLeft->getBasicType() == EbtBool && mRight->getBasicType() == EbtBool); in promote() 1718 setType(TType(EbtBool, EbpUndefined, resultQualifier)); in promote() 1807 setType(TType(EbtBool, EbpUndefined, resultQualifier)); in promote() 2453 ASSERT(leftType.getBasicType() == EbtBool); in FoldBinary() [all …]
|
D | StaticType.h | 231 basicType == EbtBool, in GetForVecMatHelper() 257 basicType == EbtBool,
|
D | BuildSPIRV.cpp | 298 isOrHasBoolInInterfaceBlock = type.isInterfaceBlockContainingType(EbtBool) || in inferDefaults() 299 type.isStructureContainingType(EbtBool) || in inferDefaults() 300 type.getBasicType() == EbtBool; in inferDefaults() 344 if (fieldType.getBasicType() != EbtBool) in onBlockFieldSelection() 359 isOrHasBoolInInterfaceBlock = fieldType.isStructureContainingType(EbtBool); in onBlockFieldSelection() 458 ASSERT(type.type == EbtBool); in getSpirvTypeData() 697 case EbtBool: in declareType() 1112 boolType.type = EbtBool; in getBoolConstant() 1343 if (type == EbtBool) in declareSpecConst()
|
D | TranslatorMetal.cpp | 304 TType *boolType = new TType(EbtBool); in insertSampleMaskWritingLogic() 354 TType *boolType = new TType(EbtBool); in insertRasterizerDiscardLogic()
|
D | ConstantUnion.h | 48 type = EbtBool; in setBConst()
|
D | Types.cpp | 35 case EbtBool: in getBasicString() 265 case EbtBool: in canBeConstructed() 353 case EbtBool: in getBuiltInTypeNameString()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | Intermediate.cpp | 367 …if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().… in addUnaryMath() 387 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 …]
|
D | SpirvIntrinsics.cpp | 217 else if (constant->getBasicType() == EbtBool) { in getSpirvDecorateQualifierString() 282 constant->getBasicType() != EbtBool && in makeSpirvTypeParameters()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | Intermediate.cpp | 367 …if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().… in addUnaryMath() 387 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/src/compiler/translator/TranslatorMetalDirect/ |
D | TranslatorMetalUtils.cpp | 35 case EbtBool: in getBasicMetalString() 261 case EbtBool: in getBuiltInMetalTypeNameString()
|
D | ToposortStructs.cpp | 136 new TType(TBasicType::EbtBool), true); in CreateStructEqualityFunction() 156 new TType(TBasicType::EbtBool), true); in CreateStructEqualityFunction()
|
/external/deqp-deps/glslang/glslang/HLSL/ |
D | hlslGrammar.cpp | 841 basicType = EbtBool; in acceptTemplateVecMatBasicType() 1653 new(&type) TType(EbtBool); in acceptType() 1656 new(&type) TType(EbtBool); in acceptType() 1660 new(&type) TType(EbtBool, EvqTemporary, 2); in acceptType() 1663 new(&type) TType(EbtBool, EvqTemporary, 3); in acceptType() 1666 new(&type) TType(EbtBool, EvqTemporary, 4); in acceptType() 1870 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 1); in acceptType() 1873 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 2); in acceptType() 1876 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 3); in acceptType() 1879 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 4); in acceptType() [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/ |
D | hlslGrammar.cpp | 843 basicType = EbtBool; in acceptTemplateVecMatBasicType() 1655 new(&type) TType(EbtBool); in acceptType() 1658 new(&type) TType(EbtBool); in acceptType() 1662 new(&type) TType(EbtBool, EvqTemporary, 2); in acceptType() 1665 new(&type) TType(EbtBool, EvqTemporary, 3); in acceptType() 1668 new(&type) TType(EbtBool, EvqTemporary, 4); in acceptType() 1872 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 1); in acceptType() 1875 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 2); in acceptType() 1878 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 3); in acceptType() 1881 new(&type) TType(EbtBool, EvqTemporary, 0, 1, 4); in acceptType() [all …]
|
/external/angle/src/compiler/translator/tree_ops/d3d/ |
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 | RewriteElseBlocks.cpp | 78 TType boolType(EbtBool, EbpUndefined, EvqTemporary); in rewriteIfElse()
|
/external/angle/src/compiler/translator/tree_ops/gl/ |
D | RecordConstantPrecision.cpp | 101 if (parentAsAggregate->isConstructor() && parentAsAggregate->getBasicType() == EbtBool) in operandAffectsParentOperationPrecision()
|
/external/angle/src/compiler/translator/tree_ops/gl/mac/ |
D | RewriteDoWhile.cpp | 75 const TType *boolType = StaticType::Get<EbtBool, EbpUndefined, EvqTemporary, 1, 1>(); in visitBlock()
|
/external/angle/src/tests/test_utils/ |
D | ShaderCompileTreeTest.cpp | 89 case EbtBool: in visitConstantUnion()
|
/external/angle/src/compiler/translator/tree_util/ |
D | IntermNode_util.cpp | 70 case EbtBool: in CreateZeroNode() 148 TType type(EbtBool, EbpUndefined, EvqConst, 1); in CreateBoolNode()
|