Lines Matching refs:aspectMask
270 auto aspect = static_cast<VkImageAspectFlagBits>(subresourceRange.aspectMask); in getSizeInBytes()
373 if(!((pSubresource->aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) || in getSubresourceLayout()
374 (pSubresource->aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) || in getSubresourceLayout()
375 (pSubresource->aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) || in getSubresourceLayout()
376 (pSubresource->aspectMask == VK_IMAGE_ASPECT_PLANE_0_BIT) || in getSubresourceLayout()
377 (pSubresource->aspectMask == VK_IMAGE_ASPECT_PLANE_1_BIT) || in getSubresourceLayout()
378 (pSubresource->aspectMask == VK_IMAGE_ASPECT_PLANE_2_BIT))) in getSubresourceLayout()
380 UNSUPPORTED("aspectMask %X", pSubresource->aspectMask); in getSubresourceLayout()
383 auto aspect = static_cast<VkImageAspectFlagBits>(pSubresource->aspectMask); in getSubresourceLayout()
395 if((region.srcSubresource.aspectMask == CombinedDepthStencilAspects) && in copyTo()
396 (region.dstSubresource.aspectMask == CombinedDepthStencilAspects)) in copyTo()
400 singleAspectRegion.srcSubresource.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in copyTo()
401 singleAspectRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in copyTo()
403 singleAspectRegion.srcSubresource.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in copyTo()
404 singleAspectRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in copyTo()
417 if(!((region.srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) || in copySingleAspectTo()
418 (region.srcSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) || in copySingleAspectTo()
419 (region.srcSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) || in copySingleAspectTo()
420 (region.srcSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_0_BIT) || in copySingleAspectTo()
421 (region.srcSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_1_BIT) || in copySingleAspectTo()
422 (region.srcSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_2_BIT))) in copySingleAspectTo()
424 UNSUPPORTED("srcSubresource.aspectMask %X", region.srcSubresource.aspectMask); in copySingleAspectTo()
427 if(!((region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) || in copySingleAspectTo()
428 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) || in copySingleAspectTo()
429 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) || in copySingleAspectTo()
430 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_0_BIT) || in copySingleAspectTo()
431 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_1_BIT) || in copySingleAspectTo()
432 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_2_BIT))) in copySingleAspectTo()
434 UNSUPPORTED("dstSubresource.aspectMask %X", region.dstSubresource.aspectMask); in copySingleAspectTo()
437 …ageAspectFlagBits srcAspect = static_cast<VkImageAspectFlagBits>(region.srcSubresource.aspectMask); in copySingleAspectTo()
438 …ageAspectFlagBits dstAspect = static_cast<VkImageAspectFlagBits>(region.dstSubresource.aspectMask); in copySingleAspectTo()
583 switch(region.imageSubresource.aspectMask) in copy()
593 UNSUPPORTED("aspectMask %x", int(region.imageSubresource.aspectMask)); in copy()
597 auto aspect = static_cast<VkImageAspectFlagBits>(region.imageSubresource.aspectMask); in copy()
673 VkImageAspectFlagBits aspect = static_cast<VkImageAspectFlagBits>(subresource.aspectMask); in getTexelPointer()
717 …mageAspectFlagBits aspect = static_cast<VkImageAspectFlagBits>(region.imageSubresource.aspectMask); in bufferExtentInBlocks()
755 VkImageAspectFlagBits aspect = static_cast<VkImageAspectFlagBits>(subresource.aspectMask); in texelOffsetBytesInStorage()
974 VkDeviceSize Image::getStorageSize(VkImageAspectFlags aspectMask) const in getStorageSize()
976 …if((aspectMask & ~(VK_IMAGE_ASPECT_COLOR_BIT | VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL… in getStorageSize()
979 UNSUPPORTED("aspectMask %x", int(aspectMask)); in getStorageSize()
984 if(aspectMask & VK_IMAGE_ASPECT_COLOR_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_COLOR_BIT); in getStorageSize()
985 if(aspectMask & VK_IMAGE_ASPECT_DEPTH_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_DEPTH_BIT); in getStorageSize()
986 …if(aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_STENCIL_B… in getStorageSize()
987 …if(aspectMask & VK_IMAGE_ASPECT_PLANE_0_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_PLANE_0_B… in getStorageSize()
988 …if(aspectMask & VK_IMAGE_ASPECT_PLANE_1_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_PLANE_1_B… in getStorageSize()
989 …if(aspectMask & VK_IMAGE_ASPECT_PLANE_2_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_PLANE_2_B… in getStorageSize()
1047 ASSERT(subresourceRange.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in clear()
1054 ASSERT((subresourceRange.aspectMask & ~(VK_IMAGE_ASPECT_DEPTH_BIT | in clear()
1057 if(subresourceRange.aspectMask & VK_IMAGE_ASPECT_DEPTH_BIT) in clear()
1060 depthSubresourceRange.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in clear()
1064 if(subresourceRange.aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT) in clear()
1067 stencilSubresourceRange.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in clear()
1074 ASSERT((subresourceRange.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) || in clear()
1075 (subresourceRange.aspectMask & (VK_IMAGE_ASPECT_DEPTH_BIT | in clear()
1078 if(subresourceRange.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) in clear()
1084 if(subresourceRange.aspectMask & VK_IMAGE_ASPECT_DEPTH_BIT) in clear()
1087 depthSubresourceRange.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in clear()
1091 if(subresourceRange.aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT) in clear()
1094 stencilSubresourceRange.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in clear()
1127 subresourceRange.aspectMask, in contentsChanged()
1158 subresourceRange.aspectMask, in prepareForSampling()
1317 …ent = getMipLevelExtent(static_cast<VkImageAspectFlagBits>(subresource.aspectMask), subresource.mi… in decodeETC2()
1354 …ent = getMipLevelExtent(static_cast<VkImageAspectFlagBits>(subresource.aspectMask), subresource.mi… in decodeBC()
1379 …ent = getMipLevelExtent(static_cast<VkImageAspectFlagBits>(subresource.aspectMask), subresource.mi… in decodeASTC()