Skip to content

Commit

Permalink
Add missing pointer handling to runtime reflection (vulkano-rs#2353)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rua authored and hakolao committed Feb 20, 2024
1 parent d188755 commit b195470
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vulkano/src/shader/reflect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,7 @@ fn size_of_type(spirv: &Spirv, id: Id) -> Option<DeviceSize> {
assert!(width % 8 == 0);
Some(width as DeviceSize / 8)
}
Instruction::TypePointer { .. } => Some(8),
Instruction::TypeVector {
component_type,
component_count,
Expand Down

0 comments on commit b195470

Please sign in to comment.