Home
last modified time | relevance | path

Searched refs:IsHostShareable (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/tint/src/resolver/
Dis_host_shareable_test.cc28 EXPECT_FALSE(r()->IsHostShareable(create<sem::Void>())); in TEST_F()
32 EXPECT_FALSE(r()->IsHostShareable(create<sem::Bool>())); in TEST_F()
36 EXPECT_TRUE(r()->IsHostShareable(create<sem::I32>())); in TEST_F()
37 EXPECT_TRUE(r()->IsHostShareable(create<sem::U32>())); in TEST_F()
38 EXPECT_TRUE(r()->IsHostShareable(create<sem::F32>())); in TEST_F()
42 EXPECT_TRUE(r()->IsHostShareable(create<sem::Vector>(create<sem::I32>(), 2))); in TEST_F()
43 EXPECT_TRUE(r()->IsHostShareable(create<sem::Vector>(create<sem::I32>(), 3))); in TEST_F()
44 EXPECT_TRUE(r()->IsHostShareable(create<sem::Vector>(create<sem::I32>(), 4))); in TEST_F()
45 EXPECT_TRUE(r()->IsHostShareable(create<sem::Vector>(create<sem::U32>(), 2))); in TEST_F()
46 EXPECT_TRUE(r()->IsHostShareable(create<sem::Vector>(create<sem::U32>(), 3))); in TEST_F()
[all …]
Dresolver.cc2548 if (ast::IsHostShareable(sc) && !IsHostShareable(ty)) { in ApplyStorageClassUsageToType()
2630 bool Resolver::IsHostShareable(const sem::Type* type) const { in IsHostShareable() function in tint::resolver::Resolver
2635 return IsHostShareable(vec->type()); in IsHostShareable()
2638 return IsHostShareable(mat->type()); in IsHostShareable()
2641 return IsHostShareable(arr->ElemType()); in IsHostShareable()
2645 if (!IsHostShareable(member->Type())) { in IsHostShareable()
2652 return IsHostShareable(atomic->Type()); in IsHostShareable()
Dresolver.h101 bool IsHostShareable(const sem::Type* type) const;
Dresolver_validation.cc341 if (!ast::IsHostShareable(sc)) { in ValidateStorageClassLayout()
/third_party/skia/third_party/externals/tint/src/sem/
Dstruct.h125 bool IsHostShareable() const { in IsHostShareable() function
127 if (ast::IsHostShareable(sc)) { in IsHostShareable()
/third_party/skia/third_party/externals/tint/src/ast/
Dstorage_class.h41 inline bool IsHostShareable(StorageClass sc) { in IsHostShareable() function
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.cc2455 bool is_host_shareable = str->IsHostShareable(); in EmitStructType()