vulkan: make async transfers generic over upload/download
This commit is contained in:
parent
59f06dc208
commit
61c5ebb062
8 changed files with 148 additions and 63 deletions
|
|
@ -209,6 +209,10 @@ pub enum VulkanError {
|
|||
StagingBufferBusy,
|
||||
#[error("The staging buffer does not support uploads")]
|
||||
StagingBufferNoUpload,
|
||||
#[error("The staging buffer does not support downloads")]
|
||||
StagingBufferNoDownload,
|
||||
#[error("Image contents are undefined")]
|
||||
UndefinedContents,
|
||||
}
|
||||
|
||||
impl From<VulkanError> for GfxError {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue