1
0
Fork 0
forked from wry/wry

vulkan: enforce that dmabuf buffers are aligned to 4 bytes

This commit is contained in:
Julian Orth 2025-10-01 19:25:56 +02:00
parent 3e52e4266f
commit 09a56edd47
2 changed files with 7 additions and 0 deletions

View file

@ -223,6 +223,8 @@ pub enum VulkanError {
GetFl(#[source] OsError),
#[error("GBM implementation cannot be used with software renderer")]
SoftwareRendererNotUsable,
#[error("DMABUF buffer offsets must be aligned to 4 bytes")]
DmaBufBufferOffsetAlignment,
}
impl From<VulkanError> for GfxError {