Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/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
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorMetal.cpp242 TType *boolType = new TType(EbtBool); in insertSampleMaskWritingLogic() local
243 boolType->setQualifier(EvqConst); in insertSampleMaskWritingLogic()
245 new TVariable(symbolTable, ImmutableString(mtl::kCoverageMaskEnabledConstName), boolType, in insertSampleMaskWritingLogic()
292 TType *boolType = new TType(EbtBool); in insertRasterizerDiscardLogic() local
293 boolType->setQualifier(EvqConst); in insertRasterizerDiscardLogic()
296 boolType, SymbolType::AngleInternal); in insertRasterizerDiscardLogic()
DTranslatorMetalDirect.cpp492 TType *boolType = new TType(EbtBool); in insertSampleMaskWritingLogic() local
493 boolType->setQualifier(EvqConst); in insertSampleMaskWritingLogic()
496 boolType, SymbolType::AngleInternal); in insertSampleMaskWritingLogic()
541 TType *boolType = new TType(EbtBool); in insertRasterizationDiscardLogic() local
542 boolType->setQualifier(EvqConst); in insertRasterizationDiscardLogic()
545 boolType, SymbolType::AngleInternal); in insertRasterizationDiscardLogic()
DBuildSPIRV.cpp1293 SpirvType boolType; in getBoolConstant() local
1294 boolType.type = EbtBool; in getBoolConstant()
1296 const spirv::IdRef boolTypeId = getSpirvTypeData(boolType, nullptr).id; in getBoolConstant()
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/types/union_types/
Dunion_types_4.ts28 type boolType = { bool: boolean }; alias
31 let y: numType | strType | boolType | objType | undefined;
38 let b: boolType = { bool: false };
Dunion_types_7.ts28 type boolType = { bool: boolean }; alias
31 type OB = objType | boolType;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
DRewriteDoWhile.cpp75 const TType *boolType = StaticType::Get<EbtBool, EbpUndefined, EvqTemporary, 1, 1>(); in visitBlock() local
76 TVariable *conditionVariable = CreateTempVariable(mSymbolTable, boolType); in visitBlock()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Depsilon.hpp55 GLM_FUNC_DECL typename genType::boolType epsilonNotEqual(
/third_party/skia/third_party/externals/angle2/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp747 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsnanCase() local
750 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST))); in IsnanCase()
834 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsinfCase() local
837 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST))); in IsinfCase()
DvktShaderExecutor.cpp2019 std::string boolType; in scalarComparison() local
2041 boolType = "%v2bool"; in scalarComparison()
2046 boolType = "%v3bool"; in scalarComparison()
2051 boolType = "%v4bool"; in scalarComparison()
2059 …<< "%operation_result_" << operationNdx << " = " << operation << " " << boolType << " %in0_val %in… in scalarComparison()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp747 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsnanCase() local
750 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST))); in IsnanCase()
834 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsinfCase() local
837 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST))); in IsinfCase()
DvktShaderExecutor.cpp2019 std::string boolType; in scalarComparison() local
2041 boolType = "%v2bool"; in scalarComparison()
2046 boolType = "%v3bool"; in scalarComparison()
2051 boolType = "%v4bool"; in scalarComparison()
2059 …<< "%operation_result_" << operationNdx << " = " << operation << " " << boolType << " %in0_val %in… in scalarComparison()
/third_party/skia/third_party/externals/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()
/third_party/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp2261 SpvId boolType = this->getType(*fContext.fTypes.fBool); in writeMatrixComparison() local
2271 this->writeInstruction(vectorMergeOperator, boolType, merge, compare, out); in writeMatrixComparison()
2274 this->writeInstruction(mergeOperator, boolType, next, result, merge, out); in writeMatrixComparison()
2586 const Type& boolType = *fContext.fTypes.fBool; in writeArrayComparison() local
2596 componentType, itemR, boolType, out); in writeArrayComparison()
2612 const Type& boolType = *fContext.fTypes.fBool; in writeStructComparison() local
2625 boolType, out); in writeStructComparison()
2639 const Type& boolType = *fContext.fTypes.fBool; in mergeComparisons() local
2640 SpvId boolTypeId = this->getType(boolType); in mergeComparisons()
2641 SpvId logicalOp = this->nextId(&boolType); in mergeComparisons()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgBinaryOps.cpp286 VariableType boolType(VariableType::TYPE_BOOL, 1); in createNextChild() local
287 const ValueRange boolRange(boolType); in createNextChild()
/third_party/glslang/SPIRV/
DSpvBuilder.cpp3162 Id boolType = makeBoolType(); in createCompositeCompare() local
3192 resultId = createBinOp(op, boolType, value1, value2); in createCompositeCompare()
3195 resultId = createBinOp(op, makeVectorType(boolType, numConstituents), value1, value2); in createCompositeCompare()
3198 resultId = createUnaryOp(equal ? OpAll : OpAny, boolType, resultId); in createCompositeCompare()
3221 …resultId = setPrecision(createBinOp(equal ? OpLogicalAnd : OpLogicalOr, boolType, resultId, subRes… in createCompositeCompare()
DGlslangToSpv.cpp2387 spv::Id boolType = builder.makeBoolType(); in convertLoadedBoolInUniformToUint() local
2388 if (nominalTypeId != boolType) in convertLoadedBoolInUniformToUint()
2389 … return builder.createBinOp(spv::OpINotEqual, boolType, loadedId, builder.makeUintConstant(0)); in convertLoadedBoolInUniformToUint()
5107 spv::Id boolType = builder.makeBoolType(); in accessChainStore() local
5108 if (nominalTypeId != boolType) { in accessChainStore()
5113 } else if (builder.getTypeId(rvalue) != boolType) in accessChainStore()
5114 … rvalue = builder.createBinOp(spv::OpINotEqual, boolType, rvalue, builder.makeUintConstant(0)); in accessChainStore()
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp4905 const TType boolType(EbtBool, EvqTemporary, in decomposeIntrinsic() local
4911 typedArg = intermediate.addConversion(EOpConstructBool, boolType, typedArg); in decomposeIntrinsic()
5386 … const TType boolType(EbtBool, EvqTemporary, arg0->getVectorSize(), arg0->getMatrixCols(), in decomposeIntrinsic() local
5390 isnan->setType(boolType); in decomposeIntrinsic()
5393 notnan->setType(boolType); in decomposeIntrinsic()
5396 isinf->setType(boolType); in decomposeIntrinsic()
5399 notinf->setType(boolType); in decomposeIntrinsic()
5402 andNode->setType(boolType); in decomposeIntrinsic()
5407 compoundStatement->setType(boolType); in decomposeIntrinsic()