mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
Backport buffer and texture overrun error messages
This commit is contained in:
parent
1605044c05
commit
2ebc5bd565
@ -37,7 +37,7 @@ pub enum TransferError {
|
||||
MissingCopySrcUsageFlag,
|
||||
#[error("destination buffer/texture is missing the `COPY_DST` usage flag")]
|
||||
MissingCopyDstUsageFlag,
|
||||
#[error("copy would end up overruning the bounds of the destination buffer/texture")]
|
||||
#[error("copy would end up overruning the bounds of one of the buffers or textures")]
|
||||
BufferOverrun,
|
||||
#[error("buffer offset {0} is not aligned to block size or `COPY_BUFFER_ALIGNMENT`")]
|
||||
UnalignedBufferOffset(BufferAddress),
|
||||
|
Loading…
Reference in New Issue
Block a user