diff --git a/vulkano/src/shader/reflect.rs b/vulkano/src/shader/reflect.rs index 649de34859..98438fabda 100644 --- a/vulkano/src/shader/reflect.rs +++ b/vulkano/src/shader/reflect.rs @@ -1084,6 +1084,7 @@ fn size_of_type(spirv: &Spirv, id: Id) -> Option { assert!(width % 8 == 0); Some(width as DeviceSize / 8) } + Instruction::TypePointer { .. } => Some(8), Instruction::TypeVector { component_type, component_count,