• Home
  • Raw
  • Download

Lines Matching refs:region

128                      const VkBufferImageCopy2KHR *region)  in copy_buffer_to_image()  argument
162 const VkOffset3D img_offset_el = meta_region_offset_el(image, &region->imageOffset); in copy_buffer_to_image()
164 .width = region->bufferRowLength ? region->bufferRowLength : region->imageExtent.width, in copy_buffer_to_image()
165 .height = region->bufferImageHeight ? region->bufferImageHeight : region->imageExtent.height, in copy_buffer_to_image()
170 const VkExtent3D img_extent_el = meta_region_extent_el(image, image->type, &region->imageExtent); in copy_buffer_to_image()
178 image, layout, &region->imageSubresource, region->imageSubresource.aspectMask); in copy_buffer_to_image()
184 radv_layout_dcc_compressed(cmd_buffer->device, image, region->imageSubresource.mipLevel, in copy_buffer_to_image()
189 .aspectMask = region->imageSubresource.aspectMask, in copy_buffer_to_image()
190 .baseMipLevel = region->imageSubresource.mipLevel, in copy_buffer_to_image()
192 .baseArrayLayer = region->imageSubresource.baseArrayLayer, in copy_buffer_to_image()
193 .layerCount = region->imageSubresource.layerCount, in copy_buffer_to_image()
204 .offset = region->bufferOffset, in copy_buffer_to_image()
212 unsigned num_slices_array = region->imageSubresource.layerCount; in copy_buffer_to_image()
264 const VkBufferImageCopy2KHR *region) in copy_image_to_buffer() argument
289 const VkOffset3D img_offset_el = meta_region_offset_el(image, &region->imageOffset); in copy_image_to_buffer()
291 .width = region->bufferRowLength ? region->bufferRowLength : region->imageExtent.width, in copy_image_to_buffer()
292 .height = region->bufferImageHeight ? region->bufferImageHeight : region->imageExtent.height, in copy_image_to_buffer()
297 const VkExtent3D img_extent_el = meta_region_extent_el(image, image->type, &region->imageExtent); in copy_image_to_buffer()
305 image, layout, &region->imageSubresource, region->imageSubresource.aspectMask); in copy_image_to_buffer()
311 radv_layout_dcc_compressed(cmd_buffer->device, image, region->imageSubresource.mipLevel, in copy_image_to_buffer()
316 .aspectMask = region->imageSubresource.aspectMask, in copy_image_to_buffer()
317 .baseMipLevel = region->imageSubresource.mipLevel, in copy_image_to_buffer()
319 .baseArrayLayer = region->imageSubresource.baseArrayLayer, in copy_image_to_buffer()
320 .layerCount = region->imageSubresource.layerCount, in copy_image_to_buffer()
331 .offset = region->bufferOffset, in copy_image_to_buffer()
339 unsigned num_slices_array = region->imageSubresource.layerCount; in copy_image_to_buffer()
382 VkImageLayout dst_image_layout, const VkImageCopy2KHR *region) in copy_image() argument
417 (region->dstOffset.x || region->dstOffset.y || region->dstOffset.z || in copy_image()
418 region->extent.width != dst_image->info.width || in copy_image()
419 region->extent.height != dst_image->info.height || in copy_image()
420 region->extent.depth != dst_image->info.depth)) { in copy_image()
421 u_foreach_bit(i, region->dstSubresource.aspectMask) { in copy_image()
426 .baseMipLevel = region->dstSubresource.mipLevel, in copy_image()
428 .baseArrayLayer = region->dstSubresource.baseArrayLayer, in copy_image()
429 .layerCount = region->dstSubresource.layerCount, in copy_image()
440 region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? src_image->plane_count : 1; in copy_image()
441 if (region->srcSubresource.aspectMask != VK_IMAGE_ASPECT_COLOR_BIT) in copy_image()
442 src_aspects[0] = region->srcSubresource.aspectMask; in copy_image()
443 if (region->dstSubresource.aspectMask != VK_IMAGE_ASPECT_COLOR_BIT) in copy_image()
444 dst_aspects[0] = region->dstSubresource.aspectMask; in copy_image()
449 src_image, src_image_layout, &region->srcSubresource, src_aspects[a]); in copy_image()
452 dst_image, dst_image_layout, &region->dstSubresource, dst_aspects[a]); in copy_image()
457 region->dstSubresource.mipLevel, in copy_image()
462 region->srcSubresource.mipLevel, in copy_image()
476 .baseMipLevel = region->dstSubresource.mipLevel, in copy_image()
478 .baseArrayLayer = region->dstSubresource.baseArrayLayer, in copy_image()
479 .layerCount = region->dstSubresource.layerCount, in copy_image()
494 const VkOffset3D dst_offset_el = meta_region_offset_el(dst_image, &region->dstOffset); in copy_image()
495 const VkOffset3D src_offset_el = meta_region_offset_el(src_image, &region->srcOffset); in copy_image()
507 meta_region_extent_el(src_image, dst_image->type, &region->extent); in copy_image()
523 unsigned num_slices_array = region->dstSubresource.layerCount; in copy_image()
561 .aspectMask = region->dstSubresource.aspectMask, in copy_image()
562 .baseMipLevel = region->dstSubresource.mipLevel, in copy_image()
564 .baseArrayLayer = region->dstSubresource.baseArrayLayer, in copy_image()
565 .layerCount = region->dstSubresource.layerCount, in copy_image()