Skip to content

Commit

Permalink
Implement is_layout_initialized for ImmutableImage (#1833)
Browse files Browse the repository at this point in the history
  • Loading branch information
thanatos authored Mar 11, 2022
1 parent b03c204 commit 7442a6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vulkano/src/image/immutable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,11 @@ where
}
}

#[inline]
fn is_layout_initialized(&self) -> bool {
true
}

#[inline]
fn initial_layout_requirement(&self) -> ImageLayout {
self.layout
Expand Down

0 comments on commit 7442a6f

Please sign in to comment.