Home
last modified time | relevance | path

Searched refs:boolType (Results 1 – 25 of 30) sorted by relevance

12

/external/angle/src/compiler/translator/tree_ops/d3d/
DUnfoldShortCircuitToIf.cpp78 const TType *boolType = StaticType::Get<EbtBool, EbpUndefined, EvqTemporary, 1, 1>(); in visitBinary() local
79 TVariable *resultVariable = CreateTempVariable(mSymbolTable, boolType); in visitBinary()
81 ASSERT(node->getLeft()->getType() == *boolType); in visitBinary()
85 ASSERT(node->getRight()->getType() == *boolType); in visitBinary()
105 const TType *boolType = StaticType::Get<EbtBool, EbpUndefined, EvqTemporary, 1, 1>(); in visitBinary() local
106 TVariable *resultVariable = CreateTempVariable(mSymbolTable, boolType); in visitBinary()
108 ASSERT(node->getLeft()->getType() == *boolType); in visitBinary()
112 ASSERT(node->getRight()->getType() == *boolType); in visitBinary()
DRewriteElseBlocks.cpp78 TType boolType(EbtBool, EbpUndefined, EvqTemporary); in rewriteIfElse() local
/external/angle/src/compiler/translator/
DTranslatorMetal.cpp304 TType *boolType = new TType(EbtBool); in insertSampleMaskWritingLogic() local
305 boolType->setQualifier(EvqConst); in insertSampleMaskWritingLogic()
307 new TVariable(symbolTable, ImmutableString(mtl::kCoverageMaskEnabledConstName), boolType, in insertSampleMaskWritingLogic()
354 TType *boolType = new TType(EbtBool); in insertRasterizerDiscardLogic() local
355 boolType->setQualifier(EvqConst); in insertRasterizerDiscardLogic()
358 boolType, SymbolType::AngleInternal); in insertRasterizerDiscardLogic()
DTranslatorMetalDirect.cpp498 TType *boolType = new TType(EbtBool); in insertSampleMaskWritingLogic() local
499 boolType->setQualifier(EvqConst); in insertSampleMaskWritingLogic()
502 boolType, SymbolType::AngleInternal); in insertSampleMaskWritingLogic()
547 TType *boolType = new TType(EbtBool); in insertRasterizationDiscardLogic() local
548 boolType->setQualifier(EvqConst); in insertRasterizationDiscardLogic()
551 boolType, SymbolType::AngleInternal); in insertRasterizationDiscardLogic()
DBuildSPIRV.cpp1111 SpirvType boolType; in getBoolConstant() local
1112 boolType.type = EbtBool; in getBoolConstant()
1114 const spirv::IdRef boolTypeId = getSpirvTypeData(boolType, nullptr).id; in getBoolConstant()
/external/angle/src/compiler/translator/tree_ops/gl/mac/
DRewriteDoWhile.cpp75 const TType *boolType = StaticType::Get<EbtBool, EbpUndefined, EvqTemporary, 1, 1>(); in visitBlock() local
76 TVariable *conditionVariable = CreateTempVariable(mSymbolTable, boolType); in visitBlock()
/external/oboe/samples/RhythmGame/third_party/glm/gtc/
Depsilon.hpp55 GLM_FUNC_DECL typename genType::boolType epsilonNotEqual(
/external/skqp/src/sksl/
DSkSLContext.h389 static std::unique_ptr<Type> fp_type(const Type* intType, const Type* boolType) { in fp_type() argument
397 Type::Field(mods, "usesLocalCoords", boolType), in fp_type()
398 Type::Field(mods, "compatibleWithCoverageAsAlpha", boolType), in fp_type()
399 Type::Field(mods, "preservesOpaqueInput", boolType), in fp_type()
400 Type::Field(mods, "hasConstantOutputForConstantInput", boolType) in fp_type()
/external/angle/src/compiler/translator/tree_ops/
DSimplifyLoopConditions.cpp195 const TType *boolType = StaticType::Get<EbtBool, EbpUndefined, EvqTemporary, 1, 1>(); in traverseLoop() local
196 mLoop.conditionVariable = CreateTempVariable(mSymbolTable, boolType); in traverseLoop()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp739 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsnanCase() local
742 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST))); in IsnanCase()
826 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsinfCase() local
829 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST))); in IsinfCase()
DvktShaderExecutor.cpp2008 std::string boolType; in scalarComparison() local
2030 boolType = "%v2bool"; in scalarComparison()
2035 boolType = "%v3bool"; in scalarComparison()
2040 boolType = "%v4bool"; in scalarComparison()
2049 …<< "%operation_result_" << operationNdx << " = " << operation << " " << boolType << " %in0_val %in… in scalarComparison()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp708 QualType boolType = getContext().BoolTy; in evalBinOpLL() local
709 NonLoc l = evalCastFromLoc(lhs, boolType).castAs<NonLoc>(); in evalBinOpLL()
710 NonLoc r = makeTruthVal(false, boolType).castAs<NonLoc>(); in evalBinOpLL()
/external/boringssl/src/util/fipstools/acvp/acvptool/acvp/
Dacvp.go477 boolType = reflect.TypeOf(false) var
498 {Name: "Incomplete", Type: boolType, Tag: `json:"incomplete"`},
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp953 QualType boolType = getContext().BoolTy; in evalBinOpLL() local
954 NonLoc l = evalCastFromLoc(lhs, boolType).castAs<NonLoc>(); in evalBinOpLL()
955 NonLoc r = makeTruthVal(false, boolType).castAs<NonLoc>(); in evalBinOpLL()
/external/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp500 static GLenum boolType[] = { GL_BOOL, GL_BOOL_VEC2, GL_BOOL_VEC3, GL_BOOL_VEC4 }; in setUniformfv() local
525 else if(targetUniform->type == boolType[index]) in setUniformfv()
743 static GLenum boolType[] = { GL_BOOL, GL_BOOL_VEC2, GL_BOOL_VEC3, GL_BOOL_VEC4 }; in setUniformiv() local
768 else if(targetUniform->type == boolType[index]) in setUniformiv()
861 static GLenum boolType[] = { GL_BOOL, GL_BOOL_VEC2, GL_BOOL_VEC3, GL_BOOL_VEC4 }; in setUniformuiv() local
886 else if(targetUniform->type == boolType[index]) in setUniformuiv()
/external/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp2239 SpvId boolType = this->getType(*fContext.fTypes.fBool); in writeMatrixComparison() local
2249 this->writeInstruction(vectorMergeOperator, boolType, merge, compare, out); in writeMatrixComparison()
2252 this->writeInstruction(mergeOperator, boolType, next, result, merge, out); in writeMatrixComparison()
2539 const Type& boolType = *fContext.fTypes.fBool; in writeArrayComparison() local
2549 componentType, itemR, boolType, out); in writeArrayComparison()
2565 const Type& boolType = *fContext.fTypes.fBool; in writeStructComparison() local
2578 boolType, out); in writeStructComparison()
2592 const Type& boolType = *fContext.fTypes.fBool; in mergeComparisons() local
2593 SpvId boolTypeId = this->getType(boolType); in mergeComparisons()
2594 SpvId logicalOp = this->nextId(&boolType); in mergeComparisons()
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp756 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsnanCase() local
759 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST))); in IsnanCase()
837 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsinfCase() local
840 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST))); in IsinfCase()
/external/deqp/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp831 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsnanCase() local
834 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST))); in IsnanCase()
914 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsinfCase() local
917 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST))); in IsinfCase()
/external/deqp/framework/randomshaders/
DrsgBinaryOps.cpp286 VariableType boolType(VariableType::TYPE_BOOL, 1); in createNextChild() local
287 const ValueRange boolRange(boolType); in createNextChild()
/external/deqp-deps/glslang/SPIRV/
DSpvBuilder.cpp2278 Id boolType = makeBoolType(); in createCompositeCompare() local
2308 resultId = createBinOp(op, boolType, value1, value2); in createCompositeCompare()
2311 resultId = createBinOp(op, makeVectorType(boolType, numConstituents), value1, value2); in createCompositeCompare()
2314 resultId = createUnaryOp(equal ? OpAll : OpAny, boolType, resultId); in createCompositeCompare()
2337 …resultId = setPrecision(createBinOp(equal ? OpLogicalAnd : OpLogicalOr, boolType, resultId, subRes… in createCompositeCompare()
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DSpvBuilder.cpp2278 Id boolType = makeBoolType(); in createCompositeCompare() local
2308 resultId = createBinOp(op, boolType, value1, value2); in createCompositeCompare()
2311 resultId = createBinOp(op, makeVectorType(boolType, numConstituents), value1, value2); in createCompositeCompare()
2314 resultId = createUnaryOp(equal ? OpAll : OpAny, boolType, resultId); in createCompositeCompare()
2337 …resultId = setPrecision(createBinOp(equal ? OpLogicalAnd : OpLogicalOr, boolType, resultId, subRes… in createCompositeCompare()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp891 Type boolType = builder.getI1Type(); in buildLogicalBinaryOp() local
893 boolType = VectorType::get(vecType.getShape(), boolType); in buildLogicalBinaryOp()
894 state.addTypes(boolType); in buildLogicalBinaryOp()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp4812 const TType boolType(EbtBool, EvqTemporary, in decomposeIntrinsic() local
4818 typedArg = intermediate.addConversion(EOpConstructBool, boolType, typedArg); in decomposeIntrinsic()
5293 … const TType boolType(EbtBool, EvqTemporary, arg0->getVectorSize(), arg0->getMatrixCols(), in decomposeIntrinsic() local
5297 isnan->setType(boolType); in decomposeIntrinsic()
5300 notnan->setType(boolType); in decomposeIntrinsic()
5303 isinf->setType(boolType); in decomposeIntrinsic()
5306 notinf->setType(boolType); in decomposeIntrinsic()
5309 andNode->setType(boolType); in decomposeIntrinsic()
5314 compoundStatement->setType(boolType); in decomposeIntrinsic()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.cpp4812 const TType boolType(EbtBool, EvqTemporary, in decomposeIntrinsic() local
4818 typedArg = intermediate.addConversion(EOpConstructBool, boolType, typedArg); in decomposeIntrinsic()
5293 … const TType boolType(EbtBool, EvqTemporary, arg0->getVectorSize(), arg0->getMatrixCols(), in decomposeIntrinsic() local
5297 isnan->setType(boolType); in decomposeIntrinsic()
5300 notnan->setType(boolType); in decomposeIntrinsic()
5303 isinf->setType(boolType); in decomposeIntrinsic()
5306 notinf->setType(boolType); in decomposeIntrinsic()
5309 andNode->setType(boolType); in decomposeIntrinsic()
5314 compoundStatement->setType(boolType); in decomposeIntrinsic()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp1684 auto boolType = LLVMType::getInt1Ty(builder.getContext()); in parseAtomicCmpXchgOp() local
1685 auto resultType = LLVMType::getStructTy(type, boolType); in parseAtomicCmpXchgOp()

12