mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-24 07:45:13 +00:00
Fix flipped assert condition in pipeline layout (#2392)
This commit is contained in:
parent
4e79d5dcc6
commit
14005458a1
@ -295,7 +295,7 @@ impl PipelineLayout {
|
||||
#[inline]
|
||||
pub fn is_compatible_with(&self, other: &PipelineLayout, num_sets: u32) -> bool {
|
||||
let num_sets = num_sets as usize;
|
||||
assert!(num_sets >= self.set_layouts.len());
|
||||
assert!(num_sets <= self.set_layouts.len());
|
||||
|
||||
if self == other {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user