Home
last modified time | relevance | path

Searched refs:dstSubresource (Results 1 – 25 of 28) sorted by relevance

12

/external/swiftshader/src/Vulkan/
DVkImage.cpp79 ASSERT(srcBytesPerTexel == dst->bytesPerTexel(pRegion.dstSubresource.aspectMask)); in copyTo()
90 if(!((pRegion.dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) || in copyTo()
91 (pRegion.dstSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) || in copyTo()
92 (pRegion.dstSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT)) || in copyTo()
93 (pRegion.dstSubresource.baseArrayLayer != 0) || in copyTo()
94 (pRegion.dstSubresource.layerCount != 1)) in copyTo()
100 char* dstMem = static_cast<char*>(dst->getTexelPointer(pRegion.dstOffset, pRegion.dstSubresource)); in copyTo()
104 …int dstRowPitchBytes = dst->rowPitchBytes(pRegion.dstSubresource.aspectMask, pRegion.dstSubresourc… in copyTo()
105 …t dstSlicePitchBytes = dst->slicePitchBytes(pRegion.dstSubresource.aspectMask, pRegion.dstSubresou… in copyTo()
108 VkExtent3D dstExtent = dst->getMipLevelExtent(pRegion.dstSubresource.mipLevel); in copyTo()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_meta_copy.c360 pRegions[r].dstSubresource.aspectMask); in meta_copy_image()
371 &pRegions[r].dstSubresource); in meta_copy_image()
388 .aspectMask = pRegions[r].dstSubresource.aspectMask, in meta_copy_image()
389 .baseMipLevel = pRegions[r].dstSubresource.mipLevel, in meta_copy_image()
391 .baseArrayLayer = pRegions[r].dstSubresource.baseArrayLayer, in meta_copy_image()
392 .layerCount = pRegions[r].dstSubresource.layerCount, in meta_copy_image()
439 unsigned num_slices_array = pRegions[r].dstSubresource.layerCount; in meta_copy_image()
496 image_copy.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in radv_blit_to_prime_linear()
497 image_copy.dstSubresource.layerCount = 1; in radv_blit_to_prime_linear()
Dradv_meta_resolve.c465 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_CmdResolveImage()
467 region->dstSubresource.layerCount); in radv_CmdResolveImage()
474 radv_meta_get_iview_layer(dest_image, &region->dstSubresource, in radv_CmdResolveImage()
524 .baseMipLevel = region->dstSubresource.mipLevel, in radv_CmdResolveImage()
541 region->dstSubresource.mipLevel), in radv_CmdResolveImage()
543 region->dstSubresource.mipLevel), in radv_CmdResolveImage()
Dradv_meta_resolve_cs.c414 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_compute_image()
415 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_compute_image()
422 radv_meta_get_iview_layer(dest_image, &region->dstSubresource, in radv_meta_resolve_compute_image()
460 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_compute_image()
Dradv_meta_resolve_fs.c485 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_fragment_image()
486 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_fragment_image()
493 radv_meta_get_iview_layer(dest_image, &region->dstSubresource, in radv_meta_resolve_fragment_image()
531 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_fragment_image()
Dradv_meta_blit.c527 const VkImageSubresourceLayers *dst_res = &pRegions[r].dstSubresource; in radv_CmdBlitImage()
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp1813 if (is_multiplane && (rgn0->srcSubresource.aspectMask != rgn1->dstSubresource.aspectMask)) { in RegionIntersects()
1817 if ((rgn0->srcSubresource.mipLevel == rgn1->dstSubresource.mipLevel) && in RegionIntersects()
1818 …rcSubresource.baseArrayLayer, rgn0->srcSubresource.layerCount, rgn1->dstSubresource.baseArrayLayer, in RegionIntersects()
1819 rgn1->dstSubresource.layerCount))) { in RegionIntersects()
2118 subresource_extent = GetImageSubresourceExtent(dst_img, &region->dstSubresource); in ValidateCopyImageTransferGranularityRequirements()
2144 depth_slices = region.dstSubresource.layerCount; // Slice count from 2D subresource in ValidateImageCopyData()
2288 … if ((0 != region.dstSubresource.baseArrayLayer) || (1 != region.dstSubresource.layerCount)) { in ValidateImageCopyData()
2293 … i, region.dstSubresource.baseArrayLayer, region.dstSubresource.layerCount); in ValidateImageCopyData()
2299 … if ((0 != region.dstSubresource.baseArrayLayer) || (1 != region.dstSubresource.layerCount)) { in ValidateImageCopyData()
2305 … i, region.dstSubresource.baseArrayLayer, region.dstSubresource.layerCount); in ValidateImageCopyData()
[all …]
Dvk_format_utils.cpp1327 …rmat planeFormat = FindMultiplaneCompatibleFormat(dstFormat, regions[i].dstSubresource.aspectMask); in FormatSizesAreEqual()
Dparameter_validation_utils.cpp2301 if ((pRegions->dstSubresource.aspectMask & legal_aspect_flags) == 0) { in manual_PreCallValidateCmdCopyImage()
2330 if ((pRegions->dstSubresource.aspectMask & legal_aspect_flags) == 0) { in manual_PreCallValidateCmdBlitImage()
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c254 dst_base_layer = pRegions[r].dstSubresource.baseArrayLayer; in anv_CmdCopyImage()
256 anv_get_layerCount(dst_image, &pRegions[r].dstSubresource); in anv_CmdCopyImage()
269 dst_mask = pRegions[r].dstSubresource.aspectMask; in anv_CmdCopyImage()
287 &dst_surf, pRegions[r].dstSubresource.mipLevel, in anv_CmdCopyImage()
304 &dst_surf, pRegions[r].dstSubresource.mipLevel, in anv_CmdCopyImage()
491 const VkImageSubresourceLayers *dst_res = &pRegions[r].dstSubresource; in anv_CmdBlitImage()
1402 pRegions[r].dstSubresource.aspectMask); in anv_CmdResolveImage()
1404 anv_get_layerCount(dst_image, &pRegions[r].dstSubresource)); in anv_CmdResolveImage()
1407 anv_get_layerCount(dst_image, &pRegions[r].dstSubresource); in anv_CmdResolveImage()
1410 dst_mask = pRegions[r].dstSubresource.aspectMask; in anv_CmdResolveImage()
[all …]
Danv_dump.c162 .dstSubresource = { in dump_image_do_blit()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp3841 blit_region.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F()
3842 blit_region.dstSubresource.baseArrayLayer = 0; in TEST_F()
3843 blit_region.dstSubresource.layerCount = 1; in TEST_F()
3844 blit_region.dstSubresource.mipLevel = 0; in TEST_F()
4008 blitRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F()
4009 blitRegion.dstSubresource.baseArrayLayer = 0; in TEST_F()
4010 blitRegion.dstSubresource.layerCount = 1; in TEST_F()
4011 blitRegion.dstSubresource.mipLevel = 0; in TEST_F()
4066 blitRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in TEST_F()
4128 blitRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F()
[all …]
Dvkrenderframework.cpp1143 copy_region.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in CopyImage()
1144 copy_region.dstSubresource.baseArrayLayer = 0; in CopyImage()
1145 copy_region.dstSubresource.mipLevel = 0; in CopyImage()
1146 copy_region.dstSubresource.layerCount = 1; in CopyImage()
1188 copy_region.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in CopyImageOut()
1189 copy_region.dstSubresource.baseArrayLayer = 0; in CopyImageOut()
1190 copy_region.dstSubresource.mipLevel = 0; in CopyImageOut()
1191 copy_region.dstSubresource.layerCount = 1; in CopyImageOut()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp490 resolveInfo.dstSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1}; in resolveImage()
1252 blitRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, mipLevel, 0, 1 }; in onRegenerateMipMapLevels()
1849 copyRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage()
1926 blitRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsBlit()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp493 resolveInfo.dstSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1}; in resolveImage()
1264 blitRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, mipLevel, 0, 1 }; in onRegenerateMipMapLevels()
1888 copyRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage()
1968 blitRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsBlit()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrCopyTests.cpp866 const deUint32 dstPlaneNdx (copy.dstSubresource.aspectMask != vk::VK_IMAGE_ASPECT_COLOR_BIT in imageCopyTest()
867 ? vk::getAspectPlaneNdx((vk::VkImageAspectFlagBits)copy.dstSubresource.aspectMask) in imageCopyTest()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp1105 …extent.depth = std::max(region.imageCopy.extent.depth, region.imageCopy.dstSubresource.layerCount); in copyRegionToTextureLevel()
2860 const deUint32 mipLevel = regions[regionNdx].dstSubresource.mipLevel; in iterate()
2954 const deUint32 dstMipLevel = m_params.regions[i].imageBlit.dstSubresource.mipLevel; in checkLinearFilteredResult()
2995 if (m_params.regions.at(regionNdx).imageBlit.dstSubresource.mipLevel == mipLevelNdx) in checkLinearFilteredResult()
3071 if (m_params.regions.at(regionNdx).imageBlit.dstSubresource.mipLevel == mipLevelNdx) in checkNearestFilteredResult()
3231 …[m_params.regions[i].imageBlit.dstSubresource.mipLevel]->getAccess(), region, m_params.regions[i].… in generateExpectedResult()
3829 dstOffset.z = region.imageResolve.dstSubresource.baseArrayLayer; in copyRegionToTextureLevel()
6968 testParams.params.regions[regionNdx].imageBlit.dstSubresource.layerCount = layerCount; in addBlittingImageAllFormatsBaseLevelMipmapTests()
7079 testParams.params.regions[regionNdx].imageBlit.dstSubresource.layerCount = layerCount; in addBlittingImageAllFormatsPreviousLevelMipmapTests()
7125 testParams.params.regions[regionNdx].imageBlit.dstSubresource.layerCount = layerCount; in addBlittingImageAllFormatsPreviousLevelMipmapTests()
/external/deqp/external/vulkancts/framework/vulkan/
DvkStructTypes.inl1051 VkImageSubresourceLayers dstSubresource; member
1060 VkImageSubresourceLayers dstSubresource; member
1111 VkImageSubresourceLayers dstSubresource; member
DvkVulkan_c.inl2506 VkImageSubresourceLayers dstSubresource; member
2514 VkImageSubresourceLayers dstSubresource; member
2558 VkImageSubresourceLayers dstSubresource; member
/external/mesa3d/include/vulkan/
Dvulkan.h2433 VkImageSubresourceLayers dstSubresource; member
2441 VkImageSubresourceLayers dstSubresource; member
2485 VkImageSubresourceLayers dstSubresource; member
/external/skia/include/third_party/vulkan/vulkan/
Dvulkan_core.h2603 VkImageSubresourceLayers dstSubresource; member
2611 VkImageSubresourceLayers dstSubresource; member
2655 VkImageSubresourceLayers dstSubresource; member
/external/skqp/include/third_party/vulkan/vulkan/
Dvulkan_core.h2603 VkImageSubresourceLayers dstSubresource; member
2611 VkImageSubresourceLayers dstSubresource; member
2655 VkImageSubresourceLayers dstSubresource; member
/external/vulkan-headers/include/vulkan/
Dvulkan_core.h2768 VkImageSubresourceLayers dstSubresource; member
2776 VkImageSubresourceLayers dstSubresource; member
2820 VkImageSubresourceLayers dstSubresource; member
/external/swiftshader/include/vulkan/
Dvulkan_core.h2721 VkImageSubresourceLayers dstSubresource; member
2729 VkImageSubresourceLayers dstSubresource; member
2773 VkImageSubresourceLayers dstSubresource; member
/external/deqp/external/vulkancts/scripts/src/
Dvulkan.h.in2503 VkImageSubresourceLayers dstSubresource; member
2511 VkImageSubresourceLayers dstSubresource; member
2555 VkImageSubresourceLayers dstSubresource; member

12