Skip to content

Commit

Permalink
fix instruction_chain of InBoundsAccessChain
Browse files Browse the repository at this point in the history
  • Loading branch information
White-Green committed Dec 27, 2024
1 parent ea30f65 commit c929496
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 c929496

Please sign in to comment.