vulkan: enforce that dmabuf buffers are aligned to 4 bytes
This commit is contained in:
parent
3e52e4266f
commit
09a56edd47
2 changed files with 7 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue