mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-21 22:34:43 +00:00
Slightly better error message in descriptor set gen
This commit is contained in:
parent
6b06fdd693
commit
38f083fa4c
@ -76,7 +76,7 @@ pub fn write_descriptor_sets(doc: &parse::Spirv) -> String {
|
||||
},
|
||||
_ => None, // TODO: other types
|
||||
}
|
||||
}).next().expect(&format!("Couldn't find relevant type for uniform `{}` (maybe unimplemented)", name));
|
||||
}).next().expect(&format!("Couldn't find relevant type for uniform `{}` (type {}, maybe unimplemented)", name, pointed_ty));
|
||||
|
||||
descriptors.push(Descriptor {
|
||||
name: name,
|
||||
|
Loading…
Reference in New Issue
Block a user