Searched refs:dstSubresource (Results 1 - 25 of 27) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_meta_copy.c421 u_foreach_bit(i, region->dstSubresource.aspectMask) {
426 .baseMipLevel = region->dstSubresource.mipLevel,
428 .baseArrayLayer = region->dstSubresource.baseArrayLayer,
429 .layerCount = region->dstSubresource.layerCount,
443 if (region->dstSubresource.aspectMask != VK_IMAGE_ASPECT_COLOR_BIT)
444 dst_aspects[0] = region->dstSubresource.aspectMask;
452 dst_image, dst_image_layout, &region->dstSubresource, dst_aspects[a]);
457 region->dstSubresource.mipLevel,
476 .baseMipLevel = region->dstSubresource.mipLevel,
478 .baseArrayLayer = region->dstSubresource
[all...]
H A Dradv_meta_resolve.c460 * - The aspectMask member of srcSubresource and dstSubresource must
463 * - The layerCount member of srcSubresource and dstSubresource must
467 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT);
468 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount);
474 radv_meta_get_iview_layer(dst_image, &region->dstSubresource, &region->dstOffset);
496 if (radv_layout_dcc_compressed(cmd_buffer->device, dst_image, region->dstSubresource.mipLevel,
500 .baseMipLevel = region->dstSubresource.mipLevel,
503 .layerCount = region->dstSubresource.layerCount,
545 .baseMipLevel = region->dstSubresource.mipLevel,
564 .width = radv_minify(dst_image->info.width, region->dstSubresource
[all...]
H A Dradv_meta_resolve_cs.c676 radv_layout_dcc_compressed(cmd_buffer->device, dest_image, region->dstSubresource.mipLevel,
684 .aspectMask = region->dstSubresource.aspectMask,
685 .baseMipLevel = region->dstSubresource.mipLevel,
687 .baseArrayLayer = region->dstSubresource.baseArrayLayer,
688 .layerCount = region->dstSubresource.layerCount,
697 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT);
698 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount);
704 radv_meta_get_iview_layer(dest_image, &region->dstSubresource, &region->dstOffset);
742 .baseMipLevel = region->dstSubresource.mipLevel,
761 radv_layout_dcc_compressed(cmd_buffer->device, dest_image, region->dstSubresource
[all...]
H A Dradv_meta_resolve_fs.c962 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT);
963 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount);
969 radv_meta_get_iview_layer(dest_image, &region->dstSubresource, &region->dstOffset);
1007 .baseMipLevel = region->dstSubresource.mipLevel,
H A Dradv_meta_blit.c473 const VkImageSubresourceLayers *dst_res = &region->dstSubresource;
/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
H A Dvk_cmd_copy.c85 .dstSubresource = pRegions[r].dstSubresource,
213 .dstSubresource = pRegions[r].dstSubresource,
258 .dstSubresource = pRegions[r].dstSubresource,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_blit.c81 region.dstSubresource.aspectMask = dst->aspect;
82 region.dstSubresource.mipLevel = info->dst.level;
88 region.dstSubresource.baseArrayLayer = info->dst.box.z;
89 region.dstSubresource.layerCount = info->dst.box.depth;
93 region.dstSubresource.baseArrayLayer = 0;
94 region.dstSubresource.layerCount = 1;
205 region.dstSubresource.aspectMask = dst->aspect;
206 region.dstSubresource.mipLevel = info->dst.level;
220 region.dstSubresource.baseArrayLayer = info->dst.box.z;
221 region.dstSubresource
[all...]
H A Dzink_batch.c483 region.dstSubresource.aspectMask = res->aspect;
484 region.dstSubresource.mipLevel = 0;
491 region.dstSubresource.baseArrayLayer = dstz;
492 region.dstSubresource.layerCount = src_box->depth;
497 region.dstSubresource.baseArrayLayer = 0;
498 region.dstSubresource.layerCount = 1;
503 region.dstSubresource.baseArrayLayer = 0;
504 region.dstSubresource.layerCount = 1;
H A Dzink_context.c3453 * and dstSubresource must match
3495 region.dstSubresource.aspectMask = dst->aspect;
3496 region.dstSubresource.mipLevel = dst_level;
3503 region.dstSubresource.baseArrayLayer = dstz;
3504 region.dstSubresource.layerCount = src_box->depth;
3509 region.dstSubresource.baseArrayLayer = 0;
3510 region.dstSubresource.layerCount = 1;
3515 region.dstSubresource.baseArrayLayer = 0;
3516 region.dstSubresource.layerCount = 1;
/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_vX_meta_blit.c173 .level = region->dstSubresource.mipLevel,
178 region->dstSubresource.baseArrayLayer,
184 region->dstSubresource.baseArrayLayer + region->dstSubresource.layerCount - 1,
195 if (region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT)
197 else if (region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT)
H A Dpanvk_vX_meta_copy.c669 region->dstSubresource.aspectMask),
702 .first_level = region->dstSubresource.mipLevel,
703 .last_level = region->dstSubresource.mipLevel,
729 unsigned width = u_minify(dst->pimage.layout.width, region->dstSubresource.mipLevel);
730 unsigned height = u_minify(dst->pimage.layout.height, region->dstSubresource.mipLevel);
760 unsigned first_dst_layer = MAX2(region->dstSubresource.baseArrayLayer, region->dstOffset.z);
761 unsigned nlayers = MAX2(region->dstSubresource.layerCount, region->extent.depth);
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_meta_copy.c447 if (pRegions[r].dstSubresource.aspectMask != VK_IMAGE_ASPECT_COLOR_BIT)
448 dst_aspects[0] = pRegions[r].dstSubresource.aspectMask;
461 &pRegions[r].dstSubresource,
480 .baseMipLevel = pRegions[r].dstSubresource.mipLevel,
482 .baseArrayLayer = pRegions[r].dstSubresource.baseArrayLayer,
483 .layerCount = pRegions[r].dstSubresource.layerCount,
530 unsigned num_slices_array = pRegions[r].dstSubresource.layerCount;
H A Dradv_meta_resolve.c472 * - The aspectMask member of srcSubresource and dstSubresource must
475 * - The layerCount member of srcSubresource and dstSubresource must
479 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT);
481 region->dstSubresource.layerCount);
488 radv_meta_get_iview_layer(dest_image, &region->dstSubresource,
544 .baseMipLevel = region->dstSubresource.mipLevel,
561 region->dstSubresource.mipLevel),
563 region->dstSubresource.mipLevel),
H A Dradv_meta_resolve_cs.c420 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT);
421 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount);
428 radv_meta_get_iview_layer(dest_image, &region->dstSubresource,
466 .baseMipLevel = region->dstSubresource.mipLevel,
H A Dradv_meta_resolve_fs.c485 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT);
486 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount);
493 radv_meta_get_iview_layer(dest_image, &region->dstSubresource,
531 .baseMipLevel = region->dstSubresource.mipLevel,
H A Dradv_meta_blit.c576 const VkImageSubresourceLayers *dst_res = &pRegions[r].dstSubresource;
/xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
H A Dv3dv_meta_copy.c701 .dstSubresource = {
774 if (region->dstSubresource.aspectMask != ds_aspects)
800 const uint32_t dst_mip_level = region->dstSubresource.mipLevel;
844 region->dstSubresource.layerCount :
851 region->dstSubresource.baseArrayLayer : region->dstOffset.z;
882 * of srcSubresource and dstSubresource must match."
884 assert(region->dstSubresource.aspectMask ==
888 (fb_format, region->dstSubresource.aspectMask,
895 * extent (for 3D) or layers of the dstSubresource (for non-3D)."
900 region->dstSubresource
[all...]
H A Dv3dvx_meta_common.c604 layer_offset < region->dstSubresource.layerCount) ||
608 region->dstSubresource.baseArrayLayer + layer_offset :
612 region->dstSubresource.aspectMask,
614 region->dstSubresource.mipLevel,
765 layer_offset < region->dstSubresource.layerCount) ||
769 region->dstSubresource.baseArrayLayer + layer_offset :
773 region->dstSubresource.aspectMask,
775 region->dstSubresource.mipLevel,
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
H A Danv_blorp.c276 const uint32_t dst_level = pRegions[r].dstSubresource.mipLevel;
282 dst_base_layer = pRegions[r].dstSubresource.baseArrayLayer;
284 anv_get_layerCount(dst_image, &pRegions[r].dstSubresource);
298 dst_mask = pRegions[r].dstSubresource.aspectMask;
538 const VkImageSubresourceLayers *dst_res = &pRegions[r].dstSubresource;
1272 pRegions[r].dstSubresource.aspectMask);
1274 anv_get_layerCount(dst_image, &pRegions[r].dstSubresource));
1277 anv_get_layerCount(dst_image, &pRegions[r].dstSubresource);
1294 pRegions[r].dstSubresource.mipLevel,
1295 pRegions[r].dstSubresource
[all...]
H A Danv_dump.c162 .dstSubresource = {
/xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
H A Dtu_clear_blit.c1340 if (info->dstSubresource.layerCount > 1) {
1342 layers = info->dstSubresource.layerCount;
1368 if (info->dstSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT)
1370 else if (info->dstSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT)
1378 ops->setup(cmd, cs, format, info->dstSubresource.aspectMask,
1403 tu_image_view_blit(&dst, dst_image, &info->dstSubresource,
1456 u_foreach_bit(b, pRegions[i].dstSubresource.aspectMask) {
1458 region.dstSubresource.aspectMask = BIT(b);
1712 VkFormat dst_format = copy_format(dst_image->vk_format, info->dstSubresource.aspectMask, false);
1754 tu_image_view_copy(&dst, dst_image, dst_format, &info->dstSubresource, dst_offse
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_blorp.c331 const uint32_t dst_level = region->dstSubresource.mipLevel;
337 dst_base_layer = region->dstSubresource.baseArrayLayer;
339 &region->dstSubresource);
354 dst_mask = region->dstSubresource.aspectMask;
682 const VkImageSubresourceLayers *dst_res = &region->dstSubresource;
1474 assert(region->srcSubresource.aspectMask == region->dstSubresource.aspectMask);
1476 vk_image_subresource_layer_count(&dst_image->vk, &region->dstSubresource));
1479 vk_image_subresource_layer_count(&dst_image->vk, &region->dstSubresource);
1499 region->dstSubresource.mipLevel,
1500 region->dstSubresource
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/lavapipe/
H A Dlvp_execute.c2312 copycmd->pRegions[i].dstSubresource.baseArrayLayer;
2314 copycmd->pRegions[i].dstSubresource.mipLevel,
2400 assert_subresource_layers(info.dst.resource, &blitcmd->pRegions[i].dstSubresource, blitcmd->pRegions[i].dstOffsets);
2415 info.dst.box.z = blitcmd->pRegions[i].dstSubresource.baseArrayLayer;
2417 info.dst.box.depth = blitcmd->pRegions[i].dstSubresource.layerCount;
2421 info.dst.level = blitcmd->pRegions[i].dstSubresource.mipLevel;
3015 info.dst.box.depth = resolvecmd->pRegions[i].dstSubresource.layerCount;
3021 info.dst.level = resolvecmd->pRegions[i].dstSubresource.mipLevel;
3022 info.dst.box.z = resolvecmd->pRegions[i].dstOffset.z + resolvecmd->pRegions[i].dstSubresource.baseArrayLayer;
/xsrc/external/mit/MesaLib/dist/src/virtio/venus-protocol/
H A Dvn_protocol_driver_command_buffer.h438 size += vn_sizeof_VkImageSubresourceLayers(&val->dstSubresource);
449 vn_encode_VkImageSubresourceLayers(enc, &val->dstSubresource);
464 size += vn_sizeof_VkImageSubresourceLayers(&val->dstSubresource);
478 vn_encode_VkImageSubresourceLayers(enc, &val->dstSubresource);
686 size += vn_sizeof_VkImageSubresourceLayers(&val->dstSubresource);
697 vn_encode_VkImageSubresourceLayers(enc, &val->dstSubresource);
/xsrc/external/mit/MesaLib/dist/include/vulkan/
H A Dvulkan_core.h3449 VkImageSubresourceLayers dstSubresource; member in struct:VkImageBlit
3456 VkImageSubresourceLayers dstSubresource; member in struct:VkImageCopy
3464 VkImageSubresourceLayers dstSubresource; member in struct:VkImageResolve
8307 VkImageSubresourceLayers dstSubresource; member in struct:VkImageCopy2KHR
8359 VkImageSubresourceLayers dstSubresource; member in struct:VkImageBlit2KHR
8380 VkImageSubresourceLayers dstSubresource; member in struct:VkImageResolve2KHR

Completed in 156 milliseconds

12