mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
Print the uniform variable that's missing a binding point
This commit is contained in:
parent
5d07058537
commit
d0738e20e8
@ -40,7 +40,7 @@ pub fn write_descriptor_sets(doc: &parse::Spirv) -> String {
|
||||
},
|
||||
_ => None, // TODO: other types
|
||||
}
|
||||
}).next().expect("A uniform is missing a binding");
|
||||
}).next().expect(&format!("Uniform `{}` is missing a binding", name));
|
||||
|
||||
// find informations about the kind of binding for this descriptor
|
||||
let (desc_ty, bind_ty, bind_start, bind_end) = doc.instructions.iter().filter_map(|i| {
|
||||
|
Loading…
Reference in New Issue
Block a user