mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
Add missing pointer handling to runtime reflection (#2353)
This commit is contained in:
parent
6f0065b222
commit
518369e7f1
@ -1084,6 +1084,7 @@ fn size_of_type(spirv: &Spirv, id: Id) -> Option<DeviceSize> {
|
|||||||
assert!(width % 8 == 0);
|
assert!(width % 8 == 0);
|
||||||
Some(width as DeviceSize / 8)
|
Some(width as DeviceSize / 8)
|
||||||
}
|
}
|
||||||
|
Instruction::TypePointer { .. } => Some(8),
|
||||||
Instruction::TypeVector {
|
Instruction::TypeVector {
|
||||||
component_type,
|
component_type,
|
||||||
component_count,
|
component_count,
|
||||||
|
Loading…
Reference in New Issue
Block a user