Lines Matching refs:extent

71            const VkExtent2D *extent)
75 A6XX_GRAS_2D_DST_BR(.x = dst->x + extent->width - 1, .y = dst->y + extent->height - 1));
82 A6XX_GRAS_2D_SRC_BR_X(src->x + extent->width - 1),
84 A6XX_GRAS_2D_SRC_BR_Y(src->y + extent->height - 1));
840 const VkExtent2D *extent)
847 dst->x + extent->width, dst->y + extent->height,
848 src_x1 + extent->width, src_y1 + extent->height,
1268 const VkExtent2D *extent);
1336 const VkExtent3D *extent)
1338 ops->coords(cs, (const VkOffset2D*) dst, (const VkOffset2D*) src, (const VkExtent2D*) extent);
1670 VkExtent3D *extent,
1683 if (extent) {
1684 extent->width = DIV_ROUND_UP(extent->width, block_width);
1685 extent->height = DIV_ROUND_UP(extent->height, block_height);
1718 VkExtent3D extent = info->imageExtent;
1719 uint32_t src_width = info->bufferRowLength ?: extent.width;
1720 uint32_t src_height = info->bufferImageHeight ?: extent.height;
1722 copy_compressed(dst_image->vk.format, &offset, &extent, &src_width, &src_height);
1739 for (uint32_t y = 0; y < extent.height; y++) {
1742 x + extent.width, 1, dst_format);
1744 &(VkExtent2D) {extent.width, 1});
1749 ops->src_buffer(cmd, cs, src_format, src_va, pitch, extent.width, extent.height, dst_format);
1750 coords(ops, cs, &offset, &(VkOffset3D){}, &extent);
1799 VkExtent3D extent = info->imageExtent;
1800 uint32_t dst_width = info->bufferRowLength ?: extent.width;
1801 uint32_t dst_height = info->bufferImageHeight ?: extent.height;
1803 copy_compressed(src_image->vk.format, &offset, &extent, &dst_width, &dst_height);
1819 for (uint32_t y = 0; y < extent.height; y++) {
1823 &(VkExtent2D) {extent.width, 1});
1829 coords(ops, cs, &(VkOffset3D) {0, 0}, &offset, &extent);
1894 VkExtent3D extent = info->extent;
1895 uint32_t layers_to_copy = MAX2(info->extent.depth, info->srcSubresource.layerCount);
1900 * When copying between compressed and uncompressed formats the extent
1904 * uncompressed image will be source extent divided by the compressed
1907 * image will be the source extent multiplied by the compressed texel
1910 * This means we only have to adjust the extent if the source image is
1913 copy_compressed(src_image->vk.format, &src_offset, &extent, NULL, NULL);
1976 extent.width,
1977 extent.height,
1978 extent.depth,
1981 extent.depth > 1,
2008 coords(ops, cs, &staging_offset, &src_offset, &extent);
2037 coords(ops, cs, &dst_offset, &staging_offset, &extent);
2051 coords(ops, cs, &dst_offset, &src_offset, &extent);
2220 uint32_t layers = MAX2(info->extent.depth, info->dstSubresource.layerCount);
2225 coords(ops, cs, &info->dstOffset, &info->srcOffset, &info->extent);
2270 ops->coords(cs, &rect->offset, &rect->offset, &rect->extent);
2582 rects[i].rect.offset.x + rects[i].rect.extent.width,
2583 rects[i].rect.offset.y + rects[i].rect.extent.height,
2749 unsigned x2 = x1 + rects[i].rect.extent.width - 1;
2750 unsigned y2 = y1 + rects[i].rect.extent.height - 1;
2861 &cmd->state.render_area.extent);
3209 r3d_coords(cs, &render_area->offset, &render_area->offset, &render_area->extent);
3265 uint32_t x2 = x1 + render_area->extent.width;
3266 uint32_t y2 = y1 + render_area->extent.height;
3399 r2d_coords(cs, &render_area->offset, &render_area->offset, &render_area->extent);