Lines Matching refs:ibind
875 texture_commit_single(struct zink_screen *screen, struct zink_resource *res, VkSparseImageMemoryBind *ibind, unsigned num_binds, bool commit, VkSemaphore wait)
889 sparse_ibind.pBinds = ibind;
965 VkSparseImageMemoryBind ibind[NUM_BATCHED_BINDS];
980 ibind[i].subresource = subresource;
981 ibind[i].flags = 0;
983 ibind[i].offset.x = w * gwidth;
984 ibind[i].offset.y = h * gheight;
986 ibind[i].subresource.arrayLayer = d * gdepth;
987 ibind[i].offset.z = 0;
989 ibind[i].offset.z = d * gdepth;
992 ibind[i].extent.width = (w == nwidth - 1) ? lastBlockExtent.width : gwidth;
993 ibind[i].extent.height = (h == nheight - 1) ? lastBlockExtent.height : gheight;
994 ibind[i].extent.depth = (d == ndepth - 1 && res->base.b.target != PIPE_TEXTURE_CUBE) ? lastBlockExtent.depth : gdepth;
1031 ibind[i].memory = backing[i]->bo->mem ? backing[i]->bo->mem : backing[i]->bo->u.slab.real->mem;
1032 ibind[i].memoryOffset = backing_start[i] * ZINK_SPARSE_BUFFER_PAGE_SIZE +
1048 ibind[i].memory = VK_NULL_HANDLE;
1049 ibind[i].memoryOffset = 0;
1084 if (i == ARRAY_SIZE(ibind)) {
1085 cur_sem = texture_commit_single(screen, res, ibind, ARRAY_SIZE(ibind), commit, cur_sem);
1104 cur_sem = texture_commit_single(screen, res, ibind, i, commit, cur_sem);