Lines Matching defs:offset
636 unsigned consts, unsigned *offset, enum global_shader idx)
659 assert(*offset + so->info.sizedwords <= ARRAY_SIZE(global->shaders));
662 memcpy(&global->shaders[*offset], so->bin,
665 gb_offset(shaders[*offset]);
666 *offset += align(so->info.sizedwords, 32);
672 unsigned offset = 0;
673 compile_shader(dev, build_blit_vs_shader(), 3, &offset, GLOBAL_SH_VS_BLIT);
674 compile_shader(dev, build_clear_vs_shader(), 2, &offset, GLOBAL_SH_VS_CLEAR);
675 compile_shader(dev, build_blit_fs_shader(false), 0, &offset, GLOBAL_SH_FS_BLIT);
676 compile_shader(dev, build_blit_fs_shader(true), 0, &offset, GLOBAL_SH_FS_BLIT_ZSCALE);
677 compile_shader(dev, build_ms_copy_fs_shader(), 0, &offset, GLOBAL_SH_FS_COPY_MS);
680 compile_shader(dev, build_clear_fs_shader(num_rts), num_rts, &offset,
913 /* patch addresses for layer offset */
1669 VkOffset3D *offset,
1680 offset->x /= block_width;
1681 offset->y /= block_height;
1717 VkOffset3D offset = info->imageOffset;
1722 copy_compressed(dst_image->vk.format, &offset, &extent, &src_width, &src_height);
1732 tu_image_view_copy(&dst, dst_image, dst_format, &info->imageSubresource, offset.z);
1743 ops->coords(cs, &(VkOffset2D){offset.x, offset.y + y}, &(VkOffset2D){x},
1750 coords(ops, cs, &offset, &(VkOffset3D){}, &extent);
1798 VkOffset3D offset = info->imageOffset;
1803 copy_compressed(src_image->vk.format, &offset, &extent, &dst_width, &dst_height);
1812 tu_image_view_copy(&src, src_image, src_format, &info->imageSubresource, offset.z);
1822 ops->coords(cs, &(VkOffset2D) {x}, &(VkOffset2D){offset.x, offset.y + y},
1829 coords(ops, cs, &(VkOffset3D) {0, 0}, &offset, &extent);
2270 ops->coords(cs, &rect->offset, &rect->offset, &rect->extent);
2580 rects[i].rect.offset.x, rects[i].rect.offset.y,
2582 rects[i].rect.offset.x + rects[i].rect.extent.width,
2583 rects[i].rect.offset.y + rects[i].rect.extent.height,
2747 unsigned x1 = rects[i].rect.offset.x;
2748 unsigned y1 = rects[i].rect.offset.y;
2860 ops->coords(cs, &cmd->state.render_area.offset, NULL,
3209 r3d_coords(cs, &render_area->offset, &render_area->offset, &render_area->extent);
3263 uint32_t x1 = render_area->offset.x;
3264 uint32_t y1 = render_area->offset.y;
3399 r2d_coords(cs, &render_area->offset, &render_area->offset, &render_area->extent);