Home
last modified time | relevance | path

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

12

/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/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/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()
/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()

12