The code which constructs deref paths already gives you the path
starting at the nearest deref_cast or deref_var. All we need to do is
handle the case where the start of the path isn't a deref_var.
Cc: Karol Herbst
Cc: Dave Airlie
---
src/compiler/nir/nir_deref.c | 42 +
The code which constructs deref paths already gives you the path
starting at the nearest deref_cast or deref_var. All we need to do is
handle the case where the start of the path isn't a deref_var.
Cc: Caio Marcelo de Oliveira Filho
---
src/compiler/nir/nir_deref.c | 40 +++