Searched refs:staging_res (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/drivers/zink/ |
D | zink_resource.c | 390 struct zink_resource *staging_res, in zink_transfer_copy_bufimage() argument 409 copyRegion.bufferOffset = staging_res->offset; in zink_transfer_copy_bufimage() 429 zink_batch_reference_resource_rw(batch, staging_res, !buf2img); in zink_transfer_copy_bufimage() 457 …vkCmdCopyBufferToImage(batch->cmdbuf, staging_res->buffer, res->image, res->layout, 1, ©Region… in zink_transfer_copy_bufimage() 459 …vkCmdCopyImageToBuffer(batch->cmdbuf, res->image, res->layout, staging_res->buffer, 1, ©Region… in zink_transfer_copy_bufimage() 562 trans->staging_res = zink_resource_create(pctx->screen, &templ); in zink_transfer_map() 563 if (!trans->staging_res) in zink_transfer_map() 566 struct zink_resource *staging_res = zink_resource(trans->staging_res); in zink_transfer_map() local 571 staging_res, trans, in zink_transfer_map() 580 VkResult result = vkMapMemory(screen->dev, staging_res->mem, in zink_transfer_map() [all …]
|
D | zink_resource.h | 66 struct pipe_resource *staging_res; member
|