Home
last modified time | relevance | path

Searched refs:aspectUsed (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommandValidation.cpp384 Aspect aspectUsed; in ValidateLinearToDepthStencilCopyRestrictions() local
385 DAWN_TRY_ASSIGN(aspectUsed, SingleAspectUsedByImageCopyTexture(dst)); in ValidateLinearToDepthStencilCopyRestrictions()
386 DAWN_INVALID_IF(aspectUsed == Aspect::Depth, "Cannot copy into the depth aspect of %s.", in ValidateLinearToDepthStencilCopyRestrictions()
DCommandEncoder.cpp86 Aspect aspectUsed; in ValidateTextureDepthStencilToBufferCopyRestrictions() local
87 DAWN_TRY_ASSIGN(aspectUsed, SingleAspectUsedByImageCopyTexture(src)); in ValidateTextureDepthStencilToBufferCopyRestrictions()
88 if (aspectUsed == Aspect::Depth) { in ValidateTextureDepthStencilToBufferCopyRestrictions()