Searched refs:srcSubresource (Results 1 - 25 of 28) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
H A Dvk_cmd_copy.c83 .srcSubresource = pRegions[r].srcSubresource,
208 .srcSubresource = pRegions[r].srcSubresource,
256 .srcSubresource = pRegions[r].srcSubresource,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_blit.c65 region.srcSubresource.aspectMask = src->aspect;
66 region.srcSubresource.mipLevel = info->src.level;
72 region.srcSubresource.baseArrayLayer = info->src.box.z;
73 region.srcSubresource.layerCount = info->src.box.depth;
77 region.srcSubresource.baseArrayLayer = 0;
78 region.srcSubresource.layerCount = 1;
172 region.srcSubresource.aspectMask = src->aspect;
173 region.srcSubresource.mipLevel = info->src.level;
185 region.srcSubresource.baseArrayLayer = info->src.box.z;
186 region.srcSubresource
[all...]
H A Dzink_batch.c452 region.srcSubresource.aspectMask = res->aspect;
453 region.srcSubresource.mipLevel = 0;
460 region.srcSubresource.baseArrayLayer = src_box->z;
461 region.srcSubresource.layerCount = src_box->depth;
467 region.srcSubresource.baseArrayLayer = 0;
468 region.srcSubresource.layerCount = 1;
474 region.srcSubresource.baseArrayLayer = 0;
475 region.srcSubresource.layerCount = 1;
H A Dzink_context.c3452 * has a multi-planar image format then the aspectMask member of srcSubresource
3464 region.srcSubresource.aspectMask = src->aspect;
3465 region.srcSubresource.mipLevel = src_level;
3472 region.srcSubresource.baseArrayLayer = src_box->z;
3473 region.srcSubresource.layerCount = src_box->depth;
3479 region.srcSubresource.baseArrayLayer = 0;
3480 region.srcSubresource.layerCount = 1;
3486 region.srcSubresource.baseArrayLayer = 0;
3487 region.srcSubresource.layerCount = 1;
/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_vX_meta_blit.c156 .level = region->srcSubresource.mipLevel,
161 region->srcSubresource.baseArrayLayer,
167 region->srcSubresource.baseArrayLayer + region->srcSubresource.layerCount - 1,
190 if (region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT)
192 else if (region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT)
H A Dpanvk_vX_meta_copy.c690 .first_level = region->srcSubresource.mipLevel,
691 .last_level = region->srcSubresource.mipLevel,
692 .first_layer = region->srcSubresource.baseArrayLayer,
693 .last_layer = region->srcSubresource.baseArrayLayer + region->srcSubresource.layerCount - 1,
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_meta_resolve.c472 * - The aspectMask member of srcSubresource and dstSubresource must
475 * - The layerCount member of srcSubresource and dstSubresource must
478 assert(region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT);
480 assert(region->srcSubresource.layerCount ==
484 radv_meta_get_iview_layer(src_image, &region->srcSubresource,
510 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount;
528 .baseMipLevel = region->srcSubresource.mipLevel,
719 region.srcSubresource.baseArrayLayer = 0;
720 region.srcSubresource.mipLevel = 0;
721 region.srcSubresource
[all...]
H A Dradv_meta_resolve_cs.c419 assert(region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT);
421 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount);
424 radv_meta_get_iview_layer(src_image, &region->srcSubresource,
438 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount;
450 .baseMipLevel = region->srcSubresource.mipLevel,
H A Dradv_meta_resolve_fs.c484 assert(region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT);
486 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount);
489 radv_meta_get_iview_layer(src_image, &region->srcSubresource,
503 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount;
515 .baseMipLevel = region->srcSubresource.mipLevel,
H A Dradv_meta_copy.c444 unsigned aspect_count = pRegions[r].srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? src_image->plane_count : 1;
445 if (pRegions[r].srcSubresource.aspectMask != VK_IMAGE_ASPECT_COLOR_BIT)
446 src_aspects[0] = pRegions[r].srcSubresource.aspectMask;
455 &pRegions[r].srcSubresource,
H A Dradv_meta_blit.c575 const VkImageSubresourceLayers *src_res = &pRegions[r].srcSubresource;
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_meta_resolve.c460 * - The aspectMask member of srcSubresource and dstSubresource must
463 * - The layerCount member of srcSubresource and dstSubresource must
466 assert(region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT);
468 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount);
471 radv_meta_get_iview_layer(src_image, &region->srcSubresource, &region->srcOffset);
509 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount; ++layer) {
527 .baseMipLevel = region->srcSubresource.mipLevel,
881 region.srcSubresource.aspectMask = src_iview->aspect_mask;
882 region.srcSubresource.mipLevel = 0;
883 region.srcSubresource
[all...]
H A Dradv_meta_copy.c440 region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? src_image->plane_count : 1;
441 if (region->srcSubresource.aspectMask != VK_IMAGE_ASPECT_COLOR_BIT)
442 src_aspects[0] = region->srcSubresource.aspectMask;
449 src_image, src_image_layout, &region->srcSubresource, src_aspects[a]);
462 region->srcSubresource.mipLevel,
H A Dradv_meta_resolve_cs.c696 assert(region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT);
698 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount);
701 radv_meta_get_iview_layer(src_image, &region->srcSubresource, &region->srcOffset);
712 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount; ++layer) {
724 .baseMipLevel = region->srcSubresource.mipLevel,
813 .srcSubresource =
868 region.srcSubresource.aspectMask = aspects;
869 region.srcSubresource.mipLevel = 0;
870 region.srcSubresource.baseArrayLayer = src_iview->base_layer;
871 region.srcSubresource
[all...]
H A Dradv_meta_resolve_fs.c961 assert(region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT);
963 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount);
966 radv_meta_get_iview_layer(src_image, &region->srcSubresource, &region->srcOffset);
977 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount; ++layer) {
989 .baseMipLevel = region->srcSubresource.mipLevel,
1142 region.srcSubresource.aspectMask = aspects;
1143 region.srcSubresource.mipLevel = 0;
1144 region.srcSubresource.baseArrayLayer = 0;
1145 region.srcSubresource.layerCount = 1;
H A Dradv_meta_blit.c472 const VkImageSubresourceLayers *src_res = &region->srcSubresource;
/xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
H A Dv3dvx_meta_common.c586 layer_offset < region->srcSubresource.layerCount) ||
590 region->srcSubresource.baseArrayLayer + layer_offset :
594 region->srcSubresource.aspectMask,
596 region->srcSubresource.mipLevel,
747 layer_offset < region->srcSubresource.layerCount) ||
751 region->srcSubresource.baseArrayLayer + layer_offset :
755 region->srcSubresource.aspectMask,
757 region->srcSubresource.mipLevel,
H A Dv3dv_meta_copy.c681 .srcSubresource = {
846 const uint32_t src_mip_level = region->srcSubresource.mipLevel;
849 region->srcSubresource.baseArrayLayer : region->srcOffset.z;
882 * of srcSubresource and dstSubresource must match."
885 region->srcSubresource.aspectMask);
894 * srcSubresource (for non-3D) must match the number of slices of the
898 region->srcSubresource.layerCount : region->extent.depth) ==
1117 .srcSubresource = region->srcSubresource,
2439 .srcSubresource
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
H A Danv_blorp.c287 const uint32_t src_level = pRegions[r].srcSubresource.mipLevel;
292 src_base_layer = pRegions[r].srcSubresource.baseArrayLayer;
294 anv_get_layerCount(src_image, &pRegions[r].srcSubresource));
297 VkImageAspectFlags src_mask = pRegions[r].srcSubresource.aspectMask,
537 const VkImageSubresourceLayers *src_res = &pRegions[r].srcSubresource;
1271 assert(pRegions[r].srcSubresource.aspectMask ==
1273 assert(anv_get_layerCount(src_image, &pRegions[r].srcSubresource) ==
1281 pRegions[r].srcSubresource.aspectMask) {
1291 pRegions[r].srcSubresource.mipLevel,
1292 pRegions[r].srcSubresource
[all...]
H A Danv_dump.c152 .srcSubresource = {
/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_blorp.c342 const uint32_t src_level = region->srcSubresource.mipLevel;
347 src_base_layer = region->srcSubresource.baseArrayLayer;
350 &region->srcSubresource));
353 VkImageAspectFlags src_mask = region->srcSubresource.aspectMask,
681 const VkImageSubresourceLayers *src_res = &region->srcSubresource;
1474 assert(region->srcSubresource.aspectMask == region->dstSubresource.aspectMask);
1475 assert(vk_image_subresource_layer_count(&src_image->vk, &region->srcSubresource) ==
1482 region->srcSubresource.aspectMask) {
1496 region->srcSubresource.mipLevel,
1497 region->srcSubresource
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
H A Dtu_clear_blit.c1408 &info->srcSubresource, 0, false, true);
1411 tu_image_view_blit(&src, src_image, &info->srcSubresource, info->srcOffsets[0].z);
1457 region.srcSubresource.aspectMask = BIT(b);
1691 uint32_t layers_to_copy = MAX2(info->extent.depth, info->srcSubresource.layerCount);
1713 VkFormat src_format = copy_format(src_image->vk_format, info->srcSubresource.aspectMask, false);
1755 tu_image_view_copy(&src, src_image, src_format, &info->srcSubresource, src_offset.z, false);
1761 .layer_count = info->srcSubresource.layerCount,
1769 .layerCount = info->srcSubresource.layerCount,
1832 tu_image_view_copy(&src, src_image, format, &info->srcSubresource, src_offset.z, false);
1866 info.srcSubresource
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/lavapipe/
H A Dlvp_execute.c2306 src_box.depth = copycmd->pRegions[i].srcSubresource.layerCount;
2307 src_box.z = copycmd->pRegions[i].srcSubresource.baseArrayLayer;
2319 copycmd->pRegions[i].srcSubresource.mipLevel,
2399 assert_subresource_layers(info.src.resource, &blitcmd->pRegions[i].srcSubresource, blitcmd->pRegions[i].srcOffsets);
2414 info.src.box.z = blitcmd->pRegions[i].srcSubresource.baseArrayLayer;
2416 info.src.box.depth = blitcmd->pRegions[i].srcSubresource.layerCount;
2420 info.src.level = blitcmd->pRegions[i].srcSubresource.mipLevel;
3016 info.src.box.depth = resolvecmd->pRegions[i].srcSubresource.layerCount;
3018 info.src.level = resolvecmd->pRegions[i].srcSubresource.mipLevel;
3019 info.src.box.z = resolvecmd->pRegions[i].srcOffset.z + resolvecmd->pRegions[i].srcSubresource
[all...]
/xsrc/external/mit/MesaLib/dist/src/virtio/venus-protocol/
H A Dvn_protocol_driver_command_buffer.h436 size += vn_sizeof_VkImageSubresourceLayers(&val->srcSubresource);
447 vn_encode_VkImageSubresourceLayers(enc, &val->srcSubresource);
460 size += vn_sizeof_VkImageSubresourceLayers(&val->srcSubresource);
474 vn_encode_VkImageSubresourceLayers(enc, &val->srcSubresource);
684 size += vn_sizeof_VkImageSubresourceLayers(&val->srcSubresource);
695 vn_encode_VkImageSubresourceLayers(enc, &val->srcSubresource);
/xsrc/external/mit/MesaLib/dist/include/vulkan/
H A Dvulkan_core.h3447 VkImageSubresourceLayers srcSubresource; member in struct:VkImageBlit
3454 VkImageSubresourceLayers srcSubresource; member in struct:VkImageCopy
3462 VkImageSubresourceLayers srcSubresource; member in struct:VkImageResolve
8305 VkImageSubresourceLayers srcSubresource; member in struct:VkImageCopy2KHR
8357 VkImageSubresourceLayers srcSubresource; member in struct:VkImageBlit2KHR
8378 VkImageSubresourceLayers srcSubresource; member in struct:VkImageResolve2KHR

Completed in 107 milliseconds

12