rusticl/util: extract offset_of macro
authorKarol Herbst <kherbst@redhat.com>
Fri, 10 Feb 2023 16:00:24 +0000 (17:00 +0100)
committerMarge Bot <emma+marge@anholt.net>
Sat, 11 Feb 2023 04:13:57 +0000 (04:13 +0000)
commitf6c5cd33b00034453935605f2f2d70a5766dc4ae
treee2fd3d2c27ccbd8c5910ad33ad86d59cbe7c304b
parentaf9212dd82b8885e0d94921e8500b90561faa5e0
rusticl/util: extract offset_of macro

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21242>
src/gallium/frontends/rusticl/mesa/compiler/nir.rs
src/gallium/frontends/rusticl/util/ptr.rs