Skip to content

nir: Allow casts in nir_deref_instr_get[_const]_offset()

Allow casts in a deref chain so we can calculate an offset from a base pointer dereference or have pointer type casts in the middle of the chain (both are pretty common in CL).

Signed-off-by: Boris Brezillon

/cc @karolherbst @jenatali @jekstrand @kusma @daniels

Edited by Boris Brezillon

Merge request reports