From 518369e7f19fd44b6e48b79947bf14302b056b08 Mon Sep 17 00:00:00 2001 From: Rua Date: Sun, 8 Oct 2023 09:39:09 +0200 Subject: [PATCH] Add missing pointer handling to runtime reflection (#2353) --- vulkano/src/shader/reflect.rs | 1 + 1 file changed, 1 insertion(+) 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,