Home
last modified time | relevance | path

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

1234

/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_copy.c391 u_foreach_bit(i, region->dstSubresource.aspectMask) { in copy_image()
396 .baseMipLevel = region->dstSubresource.mipLevel, in copy_image()
398 .baseArrayLayer = region->dstSubresource.baseArrayLayer, in copy_image()
399 .layerCount = region->dstSubresource.layerCount, in copy_image()
406 VkImageAspectFlags dst_aspects[3] = { region->dstSubresource.aspectMask }; in copy_image()
430 dst_image, dst_image_layout, &region->dstSubresource, dst_aspects[a]); in copy_image()
435 region->dstSubresource.mipLevel, in copy_image()
455 .baseMipLevel = region->dstSubresource.mipLevel, in copy_image()
457 .baseArrayLayer = region->dstSubresource.baseArrayLayer, in copy_image()
458 .layerCount = region->dstSubresource.layerCount, in copy_image()
[all …]
Dradv_meta_resolve_cs.c668 radv_layout_dcc_compressed(cmd_buffer->device, dest_image, region->dstSubresource.mipLevel, in radv_meta_resolve_compute_image()
676 .aspectMask = region->dstSubresource.aspectMask, in radv_meta_resolve_compute_image()
677 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_compute_image()
679 .baseArrayLayer = region->dstSubresource.baseArrayLayer, in radv_meta_resolve_compute_image()
680 .layerCount = region->dstSubresource.layerCount, in radv_meta_resolve_compute_image()
689 assert(region->dstSubresource.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()
696 radv_meta_get_iview_layer(dest_image, &region->dstSubresource, &region->dstOffset); in radv_meta_resolve_compute_image()
732 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_compute_image()
751 radv_layout_dcc_compressed(cmd_buffer->device, dest_image, region->dstSubresource.mipLevel, in radv_meta_resolve_compute_image()
[all …]
Dradv_meta_resolve.c378 assert(region->dstSubresource.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()
385 radv_meta_get_iview_layer(dst_image, &region->dstSubresource, &region->dstOffset); in radv_meta_resolve_hardware_image()
406 if (radv_layout_dcc_compressed(cmd_buffer->device, dst_image, region->dstSubresource.mipLevel, in radv_meta_resolve_hardware_image()
410 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_hardware_image()
413 .layerCount = region->dstSubresource.layerCount, in radv_meta_resolve_hardware_image()
455 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_hardware_image()
569 region->dstSubresource.mipLevel, dst_image_layout, false, in radv_CmdResolveImage2()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/
Dcopy_image_common.txt106 * [[VUID-{refpage}-dstSubresource-01697]]
107 The pname:dstSubresource.mipLevel member of each element of
115 * [[VUID-{refpage}-dstSubresource-01699]]
116 The [eq]#pname:dstSubresource.baseArrayLayer {plus}
117 pname:dstSubresource.layerCount# of each element of pname:pRegions must:
143 pname:srcSubresource.aspectMask and pname:dstSubresource.aspectMask
159 element of pname:pRegions, pname:dstSubresource.aspectMask must: be
164 each element of pname:pRegions, pname:dstSubresource.aspectMask must: be
171 for each element of pname:pRegions, pname:dstSubresource.aspectMask
185 pname:dstSubresource.baseArrayLayer must: each be `0`, and
[all …]
Dresolve_image_common.txt64 * [[VUID-{refpage}-dstSubresource-01710]]
65 The pname:dstSubresource.mipLevel member of each element of
73 * [[VUID-{refpage}-dstSubresource-01712]]
74 The [eq]#pname:dstSubresource.baseArrayLayer {plus}
75 pname:dstSubresource.layerCount# of each element of pname:pRegions must:
91 pname:dstSubresource.baseArrayLayer must: be `0` and
92 pname:dstSubresource.layerCount must: be `1`
120 specified pname:dstSubresource of pname:dstImage
125 specified pname:dstSubresource of pname:dstImage
134 specified pname:dstSubresource of pname:dstImage
Dresolve_image_common.adoc72 * [[VUID-{refpage}-dstSubresource-01710]]
73 The pname:dstSubresource.mipLevel member of each element of
81 * [[VUID-{refpage}-dstSubresource-01712]]
82 The [eq]#pname:dstSubresource.baseArrayLayer {plus}
83 pname:dstSubresource.layerCount# of each element of pname:pRegions must:
99 pname:dstSubresource.baseArrayLayer must: be `0` and
100 pname:dstSubresource.layerCount must: be `1`
128 specified pname:dstSubresource of pname:dstImage
133 specified pname:dstSubresource of pname:dstImage
142 specified pname:dstSubresource of pname:dstImage
Dcopy_image_common.adoc99 * [[VUID-{refpage}-dstSubresource-01697]]
100 The pname:dstSubresource.mipLevel member of each element of
108 * [[VUID-{refpage}-dstSubresource-01699]]
109 The [eq]#pname:dstSubresource.baseArrayLayer {plus}
110 pname:dstSubresource.layerCount# of each element of pname:pRegions must:
136 pname:srcSubresource.aspectMask and pname:dstSubresource.aspectMask
152 element of pname:pRegions, pname:dstSubresource.aspectMask must: be
157 each element of pname:pRegions, pname:dstSubresource.aspectMask must: be
164 for each element of pname:pRegions, pname:dstSubresource.aspectMask
178 pname:dstSubresource.baseArrayLayer must: each be `0`, and
[all …]
Dblit_image_common.adoc114 * [[VUID-{refpage}-dstSubresource-01706]]
115 The pname:dstSubresource.mipLevel member of each element of
123 * [[VUID-{refpage}-dstSubresource-01708]]
124 The [eq]#pname:dstSubresource.baseArrayLayer {plus}
125 pname:dstSubresource.layerCount# of each element of pname:pRegions must:
138 pname:dstSubresource.baseArrayLayer must: each be `0`, and
139 pname:srcSubresource.layerCount and pname:dstSubresource.layerCount
145 For each element of pname:pRegions, pname:dstSubresource.aspectMask
174 less than or equal to the width of the specified pname:dstSubresource of
179 less than or equal to the height of the specified pname:dstSubresource
[all …]
Dblit_image_common.txt114 * [[VUID-{refpage}-dstSubresource-01706]]
115 The pname:dstSubresource.mipLevel member of each element of
123 * [[VUID-{refpage}-dstSubresource-01708]]
124 The [eq]#pname:dstSubresource.baseArrayLayer {plus}
125 pname:dstSubresource.layerCount# of each element of pname:pRegions must:
138 pname:dstSubresource.baseArrayLayer must: each be `0`, and
139 pname:srcSubresource.layerCount and pname:dstSubresource.layerCount
145 For each element of pname:pRegions, pname:dstSubresource.aspectMask
174 less than or equal to the width of the specified pname:dstSubresource of
179 less than or equal to the height of the specified pname:dstSubresource
[all …]
Dimage_copy_common.txt10 pname:dstSubresource must: match
15 pname:dstSubresource must: match
21 the pname:extent (for 3D) or layers of the pname:dstSubresource (for
Dimage_blit_common.adoc9 pname:dstSubresource must: match
12 pname:dstSubresource must: match
Dimage_blit_common.txt9 pname:dstSubresource must: match
12 pname:dstSubresource must: match
Dimage_resolve_common.txt9 pname:dstSubresource must: only contain ename:VK_IMAGE_ASPECT_COLOR_BIT
12 pname:dstSubresource must: match
Dimage_resolve_common.adoc9 pname:dstSubresource must: only contain ename:VK_IMAGE_ASPECT_COLOR_BIT
12 pname:dstSubresource must: match
Dimage_copy_common.adoc10 pname:dstSubresource must: match
15 pname:dstSubresource must: match
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_blit.c89 region.dstSubresource.aspectMask = dst->aspect; in blit_resolve()
90 region.dstSubresource.mipLevel = info->dst.level; in blit_resolve()
96 region.dstSubresource.baseArrayLayer = info->dst.box.z; in blit_resolve()
97 region.dstSubresource.layerCount = info->dst.box.depth; in blit_resolve()
101 region.dstSubresource.baseArrayLayer = 0; in blit_resolve()
102 region.dstSubresource.layerCount = 1; in blit_resolve()
218 region.dstSubresource.aspectMask = dst->aspect; in blit_native()
219 region.dstSubresource.mipLevel = info->dst.level; in blit_native()
236 region.dstSubresource.baseArrayLayer = info->dst.box.z; in blit_native()
237 region.dstSubresource.layerCount = info->dst.box.depth; in blit_native()
[all …]
/third_party/mesa3d/src/vulkan/runtime/
Dvk_cmd_copy.c85 .dstSubresource = pRegions[r].dstSubresource, in vk_common_CmdCopyImage()
213 .dstSubresource = pRegions[r].dstSubresource, in vk_common_CmdBlitImage()
258 .dstSubresource = pRegions[r].dstSubresource, in vk_common_CmdResolveImage()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_blit.c162 .level = region->dstSubresource.mipLevel, in panvk_per_arch()
167 region->dstSubresource.baseArrayLayer, in panvk_per_arch()
173 region->dstSubresource.baseArrayLayer + region->dstSubresource.layerCount - 1, in panvk_per_arch()
184 if (region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) in panvk_per_arch()
186 else if (region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) in panvk_per_arch()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImage.cpp363 (region.dstSubresource.aspectMask == CombinedDepthStencilAspects)) in copyTo()
368 singleAspectRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in copyTo()
371 singleAspectRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in copyTo()
394 if(!((region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) || in copySingleAspectTo()
395 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) || in copySingleAspectTo()
396 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) || in copySingleAspectTo()
397 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_0_BIT) || in copySingleAspectTo()
398 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_1_BIT) || in copySingleAspectTo()
399 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_2_BIT))) in copySingleAspectTo()
401 UNSUPPORTED("dstSubresource.aspectMask %X", region.dstSubresource.aspectMask); in copySingleAspectTo()
[all …]
DVkStructConversion.hpp76 pRegions[i].dstSubresource,
112 pRegions[i].dstSubresource,
216 pRegions[i].dstSubresource,
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp114 region.dstSubresource.aspectMask = dstTexture->GetVkAspectMask(); in ComputeImageCopyRegion()
115 region.dstSubresource.mipLevel = dstCopy.mipLevel; in ComputeImageCopyRegion()
116 region.dstSubresource.baseArrayLayer = dstCopy.arrayLayer; in ComputeImageCopyRegion()
117 region.dstSubresource.layerCount = 1; in ComputeImageCopyRegion()
448 VkImageSubresourceLayers dstSubresource = region.dstSubresource; in RecordCommands() local
455 dstSubresource.mipLevel)) { in RecordCommands()
458 dstSubresource.mipLevel, 1, dstSubresource.baseArrayLayer, 1); in RecordCommands()
461 ->EnsureSubresourceContentInitialized(commands, dstSubresource.mipLevel, in RecordCommands()
462 1, dstSubresource.baseArrayLayer, in RecordCommands()
/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()
1865 …VkImageAspectFlagBits dstAspect = static_cast<VkImageAspectFlagBits>(region.dstSubresource.aspectM… in blit()
1907 …assert_cast<uint32_t>(dst->rowPitchBytes(dstAspect, region.dstSubresource.mipLevel)), // dPitchB in blit()
1909 …assert_cast<uint32_t>(dst->slicePitchBytes(dstAspect, region.dstSubresource.mipLevel)), // dSliceB in blit()
1939 region.dstSubresource.aspectMask, in blit()
1940 region.dstSubresource.mipLevel, in blit()
1941 region.dstSubresource.baseArrayLayer in blit()
1945 region.dstSubresource.aspectMask, in blit()
1946 region.dstSubresource.mipLevel, in blit()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp1918 const VkImageSubresourceLayers &dstSubresource, in Copy() argument
1931 region.dstSubresource = dstSubresource; in Copy()
1990 blit.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in generateMipmapsWithBlit()
1991 blit.dstSubresource.mipLevel = mipLevel; in generateMipmapsWithBlit()
1992 blit.dstSubresource.baseArrayLayer = 0; in generateMipmapsWithBlit()
1993 blit.dstSubresource.layerCount = mLayerCount; in generateMipmapsWithBlit()
2023 dest->changeLayout(region.dstSubresource.aspectMask, vk::ImageLayout::TransferDst, in resolve()
2394 copyToImage.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in stageSubresourceUpdateFromImage()
2395 copyToImage.dstSubresource.mipLevel = index.getLevelIndex(); in stageSubresourceUpdateFromImage()
2404 copyToImage.dstSubresource.baseArrayLayer = 0; in stageSubresourceUpdateFromImage()
[all …]
DFramebufferVk.cpp586 blit.dstSubresource.aspectMask = blitAspectMask; in blitWithCommand()
587 blit.dstSubresource.mipLevel = drawRenderTarget->getLevelIndex(); in blitWithCommand()
588 blit.dstSubresource.baseArrayLayer = drawRenderTarget->getLayerIndex(); in blitWithCommand()
589 blit.dstSubresource.layerCount = 1; in blitWithCommand()
919 resolveRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in resolveColorWithCommand()
920 resolveRegion.dstSubresource.layerCount = 1; in resolveColorWithCommand()
935 resolveRegion.dstSubresource.mipLevel = drawRenderTarget->getLevelIndex(); in resolveColorWithCommand()
936 resolveRegion.dstSubresource.baseArrayLayer = drawRenderTarget->getLayerIndex(); in resolveColorWithCommand()
1480 resolveRegion.dstSubresource.aspectMask = copyAspectFlags; in readPixelsImpl()
1481 resolveRegion.dstSubresource.mipLevel = 0; in readPixelsImpl()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c709 .dstSubresource = { in copy_image_to_buffer_blit()
786 if (region->dstSubresource.aspectMask != ds_aspects) in copy_image_tfu()
812 const uint32_t dst_mip_level = region->dstSubresource.mipLevel; in copy_image_tfu()
856 region->dstSubresource.layerCount : in copy_image_tfu()
863 region->dstSubresource.baseArrayLayer : region->dstOffset.z; in copy_image_tfu()
916 assert(region->dstSubresource.aspectMask == in copy_image_tlb()
920 (fb_format, region->dstSubresource.aspectMask, in copy_image_tlb()
932 region->dstSubresource.layerCount : region->extent.depth)); in copy_image_tlb()
935 num_layers = region->dstSubresource.layerCount; in copy_image_tlb()
1151 .dstSubresource = region->dstSubresource, in copy_image_blit()
[all …]

1234