google / google/gapid

[Frame loop] Copy vkbuffer using shaders

Open
#3,452 2 comments 0 reactions 1 assignee Claimed by @RenfengLiu View on GitHub
Dominant language
Go
Stars
2.2k
Forks
329
PR merge metrics
No merged PRs in 30d

Description

Currently, the back/restore for vkbuffer is done by `vkCmdCopyBuffer`, which assumes that the source buffer has the `VK_BUFFER_USAGE_TRANSFER_SRC_BIT` bit set during creation. The validation layer will complain this if the source buffer is not created with that bit set. So need to implement the buffer copy via the share, which should be similar (and simpler) to image primer.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.