mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2025-02-17 01:23:00 +00:00
Be more relaxed in check_image_access
This commit is contained in:
parent
2006e2cbc9
commit
b84ee5fcd0
@ -803,7 +803,7 @@ unsafe impl<I> CommandBuffer for SubmitSyncLayer<I> where I: CommandBuffer {
|
||||
continue;
|
||||
}
|
||||
|
||||
if value.final_layout != layout {
|
||||
if layout != Layout::Undefined && value.final_layout != layout {
|
||||
return Err(AccessCheckError::Denied(AccessError::UnexpectedImageLayout {
|
||||
allowed: value.final_layout,
|
||||
requested: layout,
|
||||
|
Loading…
Reference in New Issue
Block a user