Lines Matching defs:layout
1972 /* Change the image layout to something more optimal for writes.
1979 img_bar[i].oldLayout = frame->layout[i];
1988 frame->layout[i] = img_bar[i].newLayout;
2106 f->layout[i] = create_info.initialLayout;
2557 VkSubresourceLayout layout;
2558 vk->GetImageSubresourceLayout(hwctx->act_dev, f->img[i], &sub, &layout);
2559 dst->linesize[i] = layout.rowPitch;
2757 /* Set the subresource layout based on the layer properties */
2789 f->layout[i] = create_info.initialLayout;
3362 VkSubresourceLayout layout;
3382 vk->GetImageSubresourceLayout(hwctx->act_dev, f->img[i], &sub, &layout);
3383 drm_desc->layers[i].planes[0].offset = layout.offset;
3384 drm_desc->layers[i].planes[0].pitch = layout.rowPitch;
3731 /* Change the image layout to something more optimal for transfers */
3740 /* If the layout matches and we have read access skip the barrier */
3741 if ((frame->layout[i] == new_layout) && (frame->access[i] & new_access))
3747 img_bar[bar_num].oldLayout = frame->layout[i];
3756 frame->layout[i] = img_bar[bar_num].newLayout;
3785 vk->CmdCopyImageToBuffer(cmd_buf, frame->img[i], frame->layout[i],
3789 frame->layout[i], 1, &buf_reg);