Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
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()
DRewriteCubeMapSamplersAs2DArray.cpp68 const TType *boolType = StaticType::GetBasic<EbtBool>(); in IsNeighborNonHelper() local
79 new TIntermSymbol(CreateTempVariable(symbolTable, boolType)); in IsNeighborNonHelper()
98 const TType *boolType = StaticType::GetBasic<EbtBool>(); in GetLayerFromNonHelperInvocation() local
112 SymbolType::AngleInternal, boolType, true); in GetLayerFromNonHelperInvocation()
118 SymbolType::AngleInternal, boolType, true); in GetLayerFromNonHelperInvocation()
126 quadSwapHorizontalBool->addParameter(CreateTempVariable(symbolTable, boolType)); in GetLayerFromNonHelperInvocation()
127 quadSwapVerticalBool->addParameter(CreateTempVariable(symbolTable, boolType)); in GetLayerFromNonHelperInvocation()
142 symbolTable, body, quadSwapHorizontalBool, gl_HelperInvocation->deepCopy(), boolType); in GetLayerFromNonHelperInvocation()
144 symbolTable, body, quadSwapVerticalBool, gl_HelperInvocation->deepCopy(), boolType); in GetLayerFromNonHelperInvocation()
154 SymbolType::AngleInternal, boolType, true); in GetLayerFromNonHelperInvocation()
[all …]
DRewriteDoWhile.cpp74 const TType *boolType = StaticType::Get<EbtBool, EbpUndefined, EvqTemporary, 1, 1>(); in visitBlock() local
75 TVariable *conditionVariable = CreateTempVariable(mSymbolTable, boolType); in visitBlock()
DSimplifyLoopConditions.cpp152 const TType *boolType = StaticType::Get<EbtBool, EbpUndefined, EvqTemporary, 1, 1>(); in traverseLoop() local
153 TVariable *conditionVariable = CreateTempVariable(mSymbolTable, boolType); in traverseLoop()
DRewriteElseBlocks.cpp77 TType boolType(EbtBool, EbpUndefined, EvqTemporary); in rewriteIfElse() local
/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/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/flutter/skia/src/sksl/
DSkSLContext.h412 static std::unique_ptr<Type> fp_type(const Type* intType, const Type* boolType) { in fp_type() argument
420 Type::Field(mods, "usesLocalCoords", boolType), in fp_type()
421 Type::Field(mods, "compatibleWithCoverageAsAlpha", boolType), in fp_type()
422 Type::Field(mods, "preservesOpaqueInput", boolType), in fp_type()
423 Type::Field(mods, "hasConstantOutputForConstantInput", boolType) in fp_type()
DSkSLSPIRVCodeGenerator.cpp2006 SpvId boolType = this->getType(*fContext.fBool_Type); in writeMatrixComparison() local
2016 this->writeInstruction(vectorMergeOperator, boolType, merge, compare, out); in writeMatrixComparison()
2019 this->writeInstruction(mergeOperator, boolType, next, result, merge, out); in writeMatrixComparison()
/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.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.cpp2016 std::string boolType; in scalarComparison() local
2038 boolType = "%v2bool"; in scalarComparison()
2043 boolType = "%v3bool"; in scalarComparison()
2048 boolType = "%v4bool"; in scalarComparison()
2056 …<< "%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/glslang/SPIRV/
DSpvBuilder.cpp2254 Id boolType = makeBoolType(); in createCompositeCompare() local
2284 resultId = createBinOp(op, boolType, value1, value2); in createCompositeCompare()
2287 resultId = createBinOp(op, makeVectorType(boolType, numConstituents), value1, value2); in createCompositeCompare()
2290 resultId = createUnaryOp(equal ? OpAll : OpAny, boolType, resultId); in createCompositeCompare()
2313 …resultId = setPrecision(createBinOp(equal ? OpLogicalAnd : OpLogicalOr, boolType, resultId, subRes… in createCompositeCompare()
DGlslangToSpv.cpp4116 spv::Id boolType = builder.makeBoolType(); in accessChainLoad() local
4117 if (nominalTypeId != boolType) in accessChainLoad()
4118 … loadedId = builder.createBinOp(spv::OpINotEqual, boolType, loadedId, builder.makeUintConstant(0)); in accessChainLoad()
4144 spv::Id boolType = builder.makeBoolType(); in accessChainStore() local
4145 if (nominalTypeId != boolType) { in accessChainStore()
4150 } else if (builder.getTypeId(rvalue) != boolType) in accessChainStore()
4151 … rvalue = builder.createBinOp(spv::OpINotEqual, boolType, rvalue, builder.makeUintConstant(0)); in accessChainStore()
/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/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()