Skip to content

Commit

Permalink
fix instruction_chain of InBoundsAccessChain (#2620)
Browse files Browse the repository at this point in the history
  • Loading branch information
White-Green authored Jan 28, 2025
1 parent ea30f65 commit a11c8a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vulkano/src/shader/reflect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ fn inspect_entry_point(

while let Instruction::AccessChain {
base, ref indexes, ..
}
| Instruction::InBoundsAccessChain {
base, ref indexes, ..
} = *self.spirv.id(id).instruction()
{
id = base;
Expand Down

0 comments on commit a11c8a7

Please sign in to comment.