Lines Matching defs:offset
667 uint64_t offset = 0;
674 offset = bo->offset - real->offset;
696 return (uint8_t*)cpu + offset;
726 buffer_commit_single(struct zink_screen *screen, struct zink_resource *res, struct zink_bo *bo, uint32_t bo_offset, uint32_t offset, uint32_t size, bool commit, VkSemaphore wait)
745 mem_bind.resourceOffset = offset;
746 mem_bind.size = MIN2(res->base.b.width0 - offset, size);
748 mem_bind.memoryOffset = bo_offset * ZINK_SPARSE_BUFFER_PAGE_SIZE + (commit ? (bo->mem ? 0 : bo->offset) : 0);
761 buffer_bo_commit(struct zink_screen *screen, struct zink_resource *res, uint32_t offset, uint32_t size, bool commit, VkSemaphore *sem)
765 assert(offset % ZINK_SPARSE_BUFFER_PAGE_SIZE == 0);
766 assert(offset <= bo->base.size);
767 assert(size <= bo->base.size - offset);
768 assert(size % ZINK_SPARSE_BUFFER_PAGE_SIZE == 0 || offset + size == bo->base.size);
772 uint32_t va_page = offset / ZINK_SPARSE_BUFFER_PAGE_SIZE;
900 texture_commit_miptail(struct zink_screen *screen, struct zink_resource *res, struct zink_bo *bo, uint32_t bo_offset, uint32_t offset, bool commit, VkSemaphore wait)
917 mem_bind.resourceOffset = offset;
918 mem_bind.size = MIN2(ZINK_SPARSE_BUFFER_PAGE_SIZE, res->sparse.imageMipTailSize - offset);
920 mem_bind.memoryOffset = bo_offset + (commit ? (bo->mem ? 0 : bo->offset) : 0);
983 ibind[i].offset.x = w * gwidth;
984 ibind[i].offset.y = h * gheight;
987 ibind[i].offset.z = 0;
989 ibind[i].offset.z = d * gdepth;
1026 uint32_t offset = res->sparse.imageMipTailOffset + d * res->sparse.imageMipTailStride;
1027 cur_sem = texture_commit_miptail(screen, res, backing[i]->bo, backing_start[i], offset, commit, cur_sem);
1033 (backing[i]->bo->mem ? 0 : backing[i]->bo->offset);
1074 uint32_t offset = res->sparse.imageMipTailOffset + d * res->sparse.imageMipTailStride;
1075 cur_sem = texture_commit_miptail(screen, res, NULL, 0, offset, commit, cur_sem);
1230 bo->offset = slab->buffer->offset + i * entry_size;