commit | dd155aef4404994ffc36a63f14fb2ba3f48c0ae5 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@collabora.com> | Mon Jun 29 15:36:49 2020 +0200 |
committer | Boris Brezillon <boris.brezillon@collabora.com> | Thu Jul 30 17:11:43 2020 +0200 |
tree | e7188e0ba1fd492cb4924d8c362ec407350d49cb | |
parent | 6a1382399cbcdab1a3f1fcbec49ad9964961e904 [diff] |
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 <boris.brezillon@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5682>