Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DMathTests.cpp282 TEST(Math, IsSubset) { in TEST() argument
284 ASSERT_TRUE(IsSubset(0b100, 0b101)); in TEST()
285 ASSERT_FALSE(IsSubset(0b010, 0b101)); in TEST()
286 ASSERT_TRUE(IsSubset(0b001, 0b101)); in TEST()
289 ASSERT_TRUE(IsSubset(0b000, 0b101)); in TEST()
292 ASSERT_TRUE(IsSubset(0b101, 0b101)); in TEST()
295 ASSERT_FALSE(IsSubset(0b111, 0b101)); in TEST()
298 ASSERT_FALSE(IsSubset(0b100, 0b000)); in TEST()
299 ASSERT_FALSE(IsSubset(0b010, 0b000)); in TEST()
300 ASSERT_FALSE(IsSubset(0b001, 0b000)); in TEST()
[all …]
DSubresourceStorageTests.cpp133 EXPECT_TRUE(IsSubset(range.aspects, mAspects)); in CheckSameAs()
/third_party/boost/libs/hana/include/boost/hana/
Dis_subset.hpp32 using IsSubset = BOOST_HANA_DISPATCH_IF( in operator ()() typedef
51 return IsSubset::apply(static_cast<Xs&&>(xs), static_cast<Ys&&>(ys)); in operator ()()
/third_party/boost/boost/hana/
Dis_subset.hpp32 using IsSubset = BOOST_HANA_DISPATCH_IF( in operator ()() typedef
51 return IsSubset::apply(static_cast<Xs&&>(xs), static_cast<Ys&&>(ys)); in operator ()()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Ddecoration_manager.cpp30 bool IsSubset(const DecorationSet& a, const DecorationSet& b) { in IsSubset() function
316 IsSubset(decorate_set_for1, decorate_set_for2) && in HaveSubsetOfDecorations()
317 IsSubset(decorate_id_set_for1, decorate_id_set_for2) && in HaveSubsetOfDecorations()
318 IsSubset(member_decorate_set_for1, member_decorate_set_for2) && in HaveSubsetOfDecorations()
320 IsSubset(decorate_string_set_for1, decorate_string_set_for2); in HaveSubsetOfDecorations()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddecoration_manager.cpp30 bool IsSubset(const DecorationSet& a, const DecorationSet& b) { in IsSubset() function
316 IsSubset(decorate_set_for1, decorate_set_for2) && in HaveSubsetOfDecorations()
317 IsSubset(decorate_id_set_for1, decorate_id_set_for2) && in HaveSubsetOfDecorations()
318 IsSubset(member_decorate_set_for1, member_decorate_set_for2) && in HaveSubsetOfDecorations()
320 IsSubset(decorate_string_set_for1, decorate_string_set_for2); in HaveSubsetOfDecorations()
/third_party/spirv-tools/source/opt/
Ddecoration_manager.cpp30 bool IsSubset(const DecorationSet& a, const DecorationSet& b) { in IsSubset() function
316 IsSubset(decorate_set_for1, decorate_set_for2) && in HaveSubsetOfDecorations()
317 IsSubset(decorate_id_set_for1, decorate_id_set_for2) && in HaveSubsetOfDecorations()
318 IsSubset(member_decorate_set_for1, member_decorate_set_for2) && in HaveSubsetOfDecorations()
320 IsSubset(decorate_string_set_for1, decorate_string_set_for2); in HaveSubsetOfDecorations()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DAdapterVk.cpp261 if (!IsSubset(VkSampleCountFlags(VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_4_BIT), in InitializeSupportedLimitsImpl()
266 if (!IsSubset(VkSampleCountFlags(VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_4_BIT), in InitializeSupportedLimitsImpl()
DBufferVk.cpp263 bool lastIncludesTarget = IsSubset(usage, mLastUsage); in TransitionUsageAndGetResourceBarrier()
264 bool lastReadOnly = IsSubset(mLastUsage, kReadOnlyBufferUsages); in TransitionUsageAndGetResourceBarrier()
DSwapChainVk.cpp378 if (!IsSubset(targetUsages, supportedUsages)) { in ChooseConfig()
/third_party/skia/third_party/externals/dawn/src/common/
DMath.h97 constexpr bool IsSubset(T1 subset, T2 set) { in IsSubset() function
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_semaphore/
DSemaphoreServiceZirconHandle.cpp55 return IsSubset(requiredFlags, semaphoreProperties.externalSemaphoreFeatures); in CheckSupport()
DSemaphoreServiceFD.cpp62 return IsSubset(requiredFlags, semaphoreProperties.externalSemaphoreFeatures); in CheckSupport()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBuffer.cpp108 usage & wgpu::BufferUsage::MapWrite && !IsSubset(usage, kMapWriteAllowedUsages), in ValidateBufferDescriptor()
116 usage & wgpu::BufferUsage::MapRead && !IsSubset(usage, kMapReadAllowedUsages), in ValidateBufferDescriptor()
DCommandValidation.cpp36 bool readOnly = IsSubset(usage, kReadOnlyBufferUsages); in ValidateSyncScopeResourceUsage()
51 bool readOnly = IsSubset(usage, kReadOnlyTextureUsages); in ValidateSyncScopeResourceUsage()
DCommandBufferStateTracker.cpp222 if (IsSubset(requiredVertexBuffers, mVertexBufferSlotsUsed)) { in RecomputeLazyAspects()
DTexture.cpp238 format->isCompressed && !IsSubset(usage, kValidCompressedUsages), in ValidateTextureUsage()
256 format->IsMultiPlanar() && !IsSubset(usage, kValidMultiPlanarUsages), in ValidateTextureUsage()
DSwapChain.cpp331 ASSERT(IsSubset(mUsage, view->GetTexture()->GetUsage())); in APIGetCurrentTextureView()
DBindGroupLayout.cpp146 !IsSubset(entry.visibility, allowedStages), in ValidateBindGroupLayoutEntry()
DRenderPipeline.cpp231 DAWN_INVALID_IF(!IsSubset(vertexMetadata.usedVertexInputs, attributesSetMask), in ValidateVertexState()
DCommandEncoder.cpp458 DAWN_ASSERT(IsSubset(aspects, Aspect::Depth | Aspect::Stencil)); in IsReadOnlyDepthStencilAttachment()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DD3D12Backend.cpp82 if (!IsSubset(descriptor->usage, mUsage)) { in ProduceTexture()
DBufferD3D12.cpp247 if (IsSubset(newUsage, mLastUsage)) { in TransitionUsageAndGetResourceBarrier()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DTextureMTL.mm52 if (IsSubset(Aspect::Depth | Aspect::Stencil, format.aspects)) {
100 if (IsSubset(Aspect::Depth | Aspect::Stencil, texture->GetFormat().aspects) &&
DUtilsMetal.mm176 if (IsSubset(Aspect::Depth | Aspect::Stencil, format.aspects)) {

12