Home
last modified time | relevance | path

Searched refs:srcSubresource (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/
Dcopy_image_common.txt102 * [[VUID-{refpage}-srcSubresource-01696]]
103 The pname:srcSubresource.mipLevel member of each element of
110 * [[VUID-{refpage}-srcSubresource-01698]]
111 The [eq]#pname:srcSubresource.baseArrayLayer {plus}
112 pname:srcSubresource.layerCount# of each element of pname:pRegions must:
143 pname:srcSubresource.aspectMask and pname:dstSubresource.aspectMask
148 element of pname:pRegions, pname:srcSubresource.aspectMask must: be
153 each element of pname:pRegions, pname:srcSubresource.aspectMask must: be
177 for each element of pname:pRegions, pname:srcSubresource.aspectMask
184 pname:srcSubresource.baseArrayLayer and
[all …]
Dresolve_image_common.txt60 * [[VUID-{refpage}-srcSubresource-01709]]
61 The pname:srcSubresource.mipLevel member of each element of
68 * [[VUID-{refpage}-srcSubresource-01711]]
69 The [eq]#pname:srcSubresource.baseArrayLayer {plus}
70 pname:srcSubresource.layerCount# of each element of pname:pRegions must:
86 pname:srcSubresource.baseArrayLayer must: be `0` and
87 pname:srcSubresource.layerCount must: be `1`
97 specified pname:srcSubresource of pname:srcImage
102 specified pname:srcSubresource of pname:srcImage
111 specified pname:srcSubresource of pname:srcImage
Dresolve_image_common.adoc68 * [[VUID-{refpage}-srcSubresource-01709]]
69 The pname:srcSubresource.mipLevel member of each element of
76 * [[VUID-{refpage}-srcSubresource-01711]]
77 The [eq]#pname:srcSubresource.baseArrayLayer {plus}
78 pname:srcSubresource.layerCount# of each element of pname:pRegions must:
94 pname:srcSubresource.baseArrayLayer must: be `0` and
95 pname:srcSubresource.layerCount must: be `1`
105 specified pname:srcSubresource of pname:srcImage
110 specified pname:srcSubresource of pname:srcImage
119 specified pname:srcSubresource of pname:srcImage
Dcopy_image_common.adoc95 * [[VUID-{refpage}-srcSubresource-01696]]
96 The pname:srcSubresource.mipLevel member of each element of
103 * [[VUID-{refpage}-srcSubresource-01698]]
104 The [eq]#pname:srcSubresource.baseArrayLayer {plus}
105 pname:srcSubresource.layerCount# of each element of pname:pRegions must:
136 pname:srcSubresource.aspectMask and pname:dstSubresource.aspectMask
141 element of pname:pRegions, pname:srcSubresource.aspectMask must: be
146 each element of pname:pRegions, pname:srcSubresource.aspectMask must: be
170 for each element of pname:pRegions, pname:srcSubresource.aspectMask
177 pname:srcSubresource.baseArrayLayer and
[all …]
Dblit_image_common.adoc110 * [[VUID-{refpage}-srcSubresource-01705]]
111 The pname:srcSubresource.mipLevel member of each element of
118 * [[VUID-{refpage}-srcSubresource-01707]]
119 The [eq]#pname:srcSubresource.baseArrayLayer {plus}
120 pname:srcSubresource.layerCount# of each element of pname:pRegions must:
137 pname:srcSubresource.baseArrayLayer and
139 pname:srcSubresource.layerCount and pname:dstSubresource.layerCount
142 For each element of pname:pRegions, pname:srcSubresource.aspectMask
150 less than or equal to the width of the specified pname:srcSubresource of
155 less than or equal to the height of the specified pname:srcSubresource
[all …]
Dblit_image_common.txt110 * [[VUID-{refpage}-srcSubresource-01705]]
111 The pname:srcSubresource.mipLevel member of each element of
118 * [[VUID-{refpage}-srcSubresource-01707]]
119 The [eq]#pname:srcSubresource.baseArrayLayer {plus}
120 pname:srcSubresource.layerCount# of each element of pname:pRegions must:
137 pname:srcSubresource.baseArrayLayer and
139 pname:srcSubresource.layerCount and pname:dstSubresource.layerCount
142 For each element of pname:pRegions, pname:srcSubresource.aspectMask
150 less than or equal to the width of the specified pname:srcSubresource of
155 less than or equal to the height of the specified pname:srcSubresource
[all …]
Dimage_copy_common.txt9 The pname:aspectMask member of pname:srcSubresource and
14 The pname:layerCount member of pname:srcSubresource and
20 pname:srcSubresource (for non-3D) must: match the number of slices of
Dimage_blit_common.adoc8 The pname:aspectMask member of pname:srcSubresource and
11 The pname:layerCount member of pname:srcSubresource and
Dimage_blit_common.txt8 The pname:aspectMask member of pname:srcSubresource and
11 The pname:layerCount member of pname:srcSubresource and
Dimage_resolve_common.txt8 The pname:aspectMask member of pname:srcSubresource and
11 The pname:layerCount member of pname:srcSubresource and
Dimage_resolve_common.adoc8 The pname:aspectMask member of pname:srcSubresource and
11 The pname:layerCount member of pname:srcSubresource and
Dimage_copy_common.adoc9 The pname:aspectMask member of pname:srcSubresource and
14 The pname:layerCount member of pname:srcSubresource and
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_blit.c73 region.srcSubresource.aspectMask = src->aspect; in blit_resolve()
74 region.srcSubresource.mipLevel = info->src.level; in blit_resolve()
80 region.srcSubresource.baseArrayLayer = info->src.box.z; in blit_resolve()
81 region.srcSubresource.layerCount = info->src.box.depth; in blit_resolve()
85 region.srcSubresource.baseArrayLayer = 0; in blit_resolve()
86 region.srcSubresource.layerCount = 1; in blit_resolve()
182 region.srcSubresource.aspectMask = src->aspect; in blit_native()
183 region.srcSubresource.mipLevel = info->src.level; in blit_native()
198 region.srcSubresource.baseArrayLayer = info->src.box.z; in blit_native()
199 region.srcSubresource.layerCount = info->src.box.depth; in blit_native()
[all …]
/third_party/mesa3d/src/vulkan/runtime/
Dvk_cmd_copy.c83 .srcSubresource = pRegions[r].srcSubresource, in vk_common_CmdCopyImage()
208 .srcSubresource = pRegions[r].srcSubresource, in vk_common_CmdBlitImage()
256 .srcSubresource = pRegions[r].srcSubresource, in vk_common_CmdResolveImage()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_resolve.c377 assert(region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_hardware_image()
379 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_hardware_image()
382 radv_meta_get_iview_layer(src_image, &region->srcSubresource, &region->srcOffset); in radv_meta_resolve_hardware_image()
419 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount; ++layer) { in radv_meta_resolve_hardware_image()
437 .baseMipLevel = region->srcSubresource.mipLevel, in radv_meta_resolve_hardware_image()
787 region.srcSubresource.aspectMask = src_iview->vk.aspects; in radv_decompress_resolve_subpass_src()
788 region.srcSubresource.mipLevel = 0; in radv_decompress_resolve_subpass_src()
789 region.srcSubresource.baseArrayLayer = src_iview->vk.base_array_layer; in radv_decompress_resolve_subpass_src()
790 region.srcSubresource.layerCount = layer_count; in radv_decompress_resolve_subpass_src()
818 radv_meta_get_iview_layer(src_image, &region->srcSubresource, &region->srcOffset); in radv_decompress_resolve_src()
[all …]
Dradv_meta_resolve_cs.c688 assert(region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_compute_image()
690 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_compute_image()
693 radv_meta_get_iview_layer(src_image, &region->srcSubresource, &region->srcOffset); in radv_meta_resolve_compute_image()
702 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount; ++layer) { in radv_meta_resolve_compute_image()
714 .baseMipLevel = region->srcSubresource.mipLevel, in radv_meta_resolve_compute_image()
803 .srcSubresource = in radv_cmd_buffer_resolve_subpass_cs()
858 region.srcSubresource.aspectMask = aspects; in radv_depth_stencil_resolve_subpass_cs()
859 region.srcSubresource.mipLevel = 0; in radv_depth_stencil_resolve_subpass_cs()
860 region.srcSubresource.baseArrayLayer = src_iview->vk.base_array_layer; in radv_depth_stencil_resolve_subpass_cs()
861 region.srcSubresource.layerCount = layer_count; in radv_depth_stencil_resolve_subpass_cs()
Dradv_meta_resolve_fs.c803 assert(region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_fragment_image()
805 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_fragment_image()
808 radv_meta_get_iview_layer(src_image, &region->srcSubresource, &region->srcOffset); in radv_meta_resolve_fragment_image()
817 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount; ++layer) { in radv_meta_resolve_fragment_image()
829 .baseMipLevel = region->srcSubresource.mipLevel, in radv_meta_resolve_fragment_image()
966 region.srcSubresource.aspectMask = aspects; in radv_depth_stencil_resolve_subpass_fs()
967 region.srcSubresource.mipLevel = 0; in radv_depth_stencil_resolve_subpass_fs()
968 region.srcSubresource.baseArrayLayer = 0; in radv_depth_stencil_resolve_subpass_fs()
969 region.srcSubresource.layerCount = 1; in radv_depth_stencil_resolve_subpass_fs()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_blit.c145 .level = region->srcSubresource.mipLevel, in panvk_per_arch()
150 region->srcSubresource.baseArrayLayer, in panvk_per_arch()
156 region->srcSubresource.baseArrayLayer + region->srcSubresource.layerCount - 1, in panvk_per_arch()
179 if (region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) in panvk_per_arch()
181 else if (region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) in panvk_per_arch()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp580 blit.srcSubresource.aspectMask = blitAspectMask; in blitWithCommand()
581 blit.srcSubresource.mipLevel = readRenderTarget->getLevelIndex(); in blitWithCommand()
582 blit.srcSubresource.baseArrayLayer = readRenderTarget->getLayerIndex(); in blitWithCommand()
583 blit.srcSubresource.layerCount = 1; in blitWithCommand()
912 resolveRegion.srcSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in resolveColorWithCommand()
913 resolveRegion.srcSubresource.mipLevel = 0; in resolveColorWithCommand()
914 resolveRegion.srcSubresource.baseArrayLayer = params.srcLayer; in resolveColorWithCommand()
915 resolveRegion.srcSubresource.layerCount = 1; in resolveColorWithCommand()
1443 VkImageSubresourceLayers srcSubresource = {}; in readPixelsImpl() local
1444 srcSubresource.aspectMask = copyAspectFlags; in readPixelsImpl()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImage.cpp362 if((region.srcSubresource.aspectMask == CombinedDepthStencilAspects) && in copyTo()
367 singleAspectRegion.srcSubresource.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in copyTo()
370 singleAspectRegion.srcSubresource.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in copyTo()
384 if(!((region.srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) || in copySingleAspectTo()
385 (region.srcSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) || in copySingleAspectTo()
386 (region.srcSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) || in copySingleAspectTo()
387 (region.srcSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_0_BIT) || in copySingleAspectTo()
388 (region.srcSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_1_BIT) || in copySingleAspectTo()
389 (region.srcSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_2_BIT))) in copySingleAspectTo()
391 UNSUPPORTED("srcSubresource.aspectMask %X", region.srcSubresource.aspectMask); in copySingleAspectTo()
[all …]
DVkStructConversion.hpp74 pRegions[i].srcSubresource,
110 pRegions[i].srcSubresource,
214 pRegions[i].srcSubresource,
/third_party/skia/third_party/externals/swiftshader/src/Device/
DBlitter.cpp1843 ASSERT(region.srcSubresource.layerCount == region.dstSubresource.layerCount); in blit()
1844 ASSERT(region.srcSubresource.aspectMask == region.dstSubresource.aspectMask); in blit()
1864 …VkImageAspectFlagBits srcAspect = static_cast<VkImageAspectFlagBits>(region.srcSubresource.aspectM… in blit()
1866 VkExtent3D srcExtent = src->getMipLevelExtent(srcAspect, region.srcSubresource.mipLevel); in blit()
1906 …assert_cast<uint32_t>(src->rowPitchBytes(srcAspect, region.srcSubresource.mipLevel)), // sPitchB in blit()
1908 …assert_cast<uint32_t>(src->slicePitchBytes(srcAspect, region.srcSubresource.mipLevel)), // sSliceB in blit()
1933 region.srcSubresource.aspectMask, in blit()
1934 region.srcSubresource.mipLevel, in blit()
1935 region.srcSubresource.baseArrayLayer in blit()
2053 ASSERT(region.srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in resolve()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp105 region.srcSubresource.aspectMask = srcTexture->GetVkAspectMask(); in ComputeImageCopyRegion()
106 region.srcSubresource.mipLevel = srcCopy.mipLevel; in ComputeImageCopyRegion()
107 region.srcSubresource.baseArrayLayer = srcCopy.arrayLayer; in ComputeImageCopyRegion()
108 region.srcSubresource.layerCount = 1; in ComputeImageCopyRegion()
449 VkImageSubresourceLayers srcSubresource = region.srcSubresource; in RecordCommands() local
452 ->EnsureSubresourceContentInitialized(commands, srcSubresource.mipLevel, 1, in RecordCommands()
453 srcSubresource.baseArrayLayer, 1); in RecordCommands()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DSwapChainVk.cpp483 region.srcSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in PresentImpl()
484 region.srcSubresource.mipLevel = 0; in PresentImpl()
485 region.srcSubresource.baseArrayLayer = 0; in PresentImpl()
486 region.srcSubresource.layerCount = 1; in PresentImpl()
491 region.dstSubresource = region.srcSubresource; in PresentImpl()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c689 .srcSubresource = { in copy_image_to_buffer_blit()
858 const uint32_t src_mip_level = region->srcSubresource.mipLevel; in copy_image_tfu()
861 region->srcSubresource.baseArrayLayer : region->srcOffset.z; in copy_image_tfu()
917 region->srcSubresource.aspectMask); in copy_image_tlb()
930 region->srcSubresource.layerCount : region->extent.depth) == in copy_image_tlb()
1149 .srcSubresource = region->srcSubresource, in copy_image_blit()
2473 .srcSubresource = { in copy_buffer_to_image_blit()
2869 region->srcSubresource.layerCount); in blit_tfu()
2891 min_src_layer = region->srcSubresource.baseArrayLayer; in blit_tfu()
2892 max_src_layer = min_src_layer + region->srcSubresource.layerCount; in blit_tfu()
[all …]

1234