Home
last modified time | relevance | path

Searched refs:ConvertType (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_impl_convert_type_test.cc49 auto* type = p->ConvertType(10); in TEST_F()
56 auto* type = p->ConvertType(10); in TEST_F()
68 auto* type = p->ConvertType(900); in TEST_F()
85 auto* type = p->ConvertType(1); in TEST_F()
95 auto* type = p->ConvertType(70); in TEST_F()
111 auto* type = p->ConvertType(1); in TEST_F()
121 auto* type = p->ConvertType(100); in TEST_F()
131 auto* type = p->ConvertType(2); in TEST_F()
141 auto* type = p->ConvertType(3); in TEST_F()
151 auto* type = p->ConvertType(4); in TEST_F()
[all …]
Dparser_impl.h194 const Type* ConvertType(uint32_t type_id, PtrAs ptr_as = PtrAs::Ptr);
690 const Type* ConvertType(const spvtools::opt::analysis::Integer* int_ty);
692 const Type* ConvertType(const spvtools::opt::analysis::Float* float_ty);
694 const Type* ConvertType(const spvtools::opt::analysis::Vector* vec_ty);
696 const Type* ConvertType(const spvtools::opt::analysis::Matrix* mat_ty);
700 const Type* ConvertType(
706 const Type* ConvertType(uint32_t type_id,
719 const Type* ConvertType(uint32_t type_id,
728 const Type* ConvertType(uint32_t type_id,
Dparser_impl.cc331 const Type* ParserImpl::ConvertType(uint32_t type_id, PtrAs ptr_as) { in ConvertType() function in tint::reader::spirv::ParserImpl
353 return ConvertType(spirv_type->AsInteger()); in ConvertType()
355 return ConvertType(spirv_type->AsFloat()); in ConvertType()
357 return ConvertType(spirv_type->AsVector()); in ConvertType()
359 return ConvertType(spirv_type->AsMatrix()); in ConvertType()
361 return ConvertType(type_id, spirv_type->AsRuntimeArray()); in ConvertType()
363 return ConvertType(type_id, spirv_type->AsArray()); in ConvertType()
365 return ConvertType(type_id, spirv_type->AsStruct()); in ConvertType()
367 return ConvertType(type_id, ptr_as, spirv_type->AsPointer()); in ConvertType()
930 const Type* ParserImpl::ConvertType( in ConvertType() function in tint::reader::spirv::ParserImpl
[all …]
Dparser_impl_test_helper.h167 const Type* ConvertType(uint32_t id) { return impl_.ConvertType(id); } in ConvertType() function
Dfunction.cc1393 auto* ret_ty = parser_impl_.ConvertType(function_.type_id()); in ParseFunctionDeclaration()
1406 auto* type = parser_impl_.ConvertType(param->type_id()); in ParseFunctionDeclaration()
1442 const auto* result = parser_impl_.ConvertType(store_ty_id); in GetVariableStoreType()
2581 parser_impl_.ConvertType(def_use_mgr_->GetDef(id)->type_id()), in MakeExpression()
2604 parser_impl_.ConvertType(inst->type_id(), PtrAs::Ref), in MakeExpression()
2613 parser_impl_.ConvertType(inst->type_id())); in MakeExpression()
2625 parser_impl_.ConvertType(inst->type_id())); in MakeExpression()
3163 auto* ast_type = parser_impl_.ConvertType(function_.type_id()); in EmitNormalTerminator()
3411 RemapStorageClass(parser_impl_.ConvertType(def_inst->type_id()), id); in EmitStatementsInBasicBlock()
3427 parser_impl_.ConvertType(def_inst->type_id())->Build(builder_)); in EmitStatementsInBasicBlock()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.h24 enum class ConvertType enum
51 ModifyStructConfig(ConvertType convertType, bool allowPacking, bool allowPadding) in ModifyStructConfig()
86 ConvertType convertType;
98 TIntermFunctionDefinition *&getConverter(ConvertType convertType) in getConverter()
100 if (convertType == ConvertType::OriginalToModified) in getConverter()
DModifyStruct.cpp135 const ConvertType type;
177 const bool isOriginalToModified = config.convertType == ConvertType::OriginalToModified; in publish()
824 Access ConvertBoolToUint(ConvertType convertType, OriginalAccess &o, ModifiedAccess &m) in ConvertBoolToUint()
831 case ConvertType::OriginalToModified: in ConvertBoolToUint()
833 case ConvertType::ModifiedToOriginal: in ConvertBoolToUint()
DPipeline.cpp331 isPipelineOut() ? ConvertType::OriginalToModified : ConvertType::ModifiedToOriginal, in externalStructModifyConfig()
/third_party/flatbuffers/lua/flatbuffers/
DnumTypes.lua55 function type_mt:ConvertType(n, otherType) function