Searched refs:aspectUsed (Results 1 – 2 of 2) sorted by relevance
384 Aspect aspectUsed; in ValidateLinearToDepthStencilCopyRestrictions() local385 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()
86 Aspect aspectUsed; in ValidateTextureDepthStencilToBufferCopyRestrictions() local87 DAWN_TRY_ASSIGN(aspectUsed, SingleAspectUsedByImageCopyTexture(src)); in ValidateTextureDepthStencilToBufferCopyRestrictions()88 if (aspectUsed == Aspect::Depth) { in ValidateTextureDepthStencilToBufferCopyRestrictions()