nir: use nir_var_all to get rid of casting
authorKarol Herbst <kherbst@redhat.com>
Mon, 31 Aug 2020 16:16:31 +0000 (18:16 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 17:45:08 +0000 (17:45 +0000)
commit24dfd798d6205fd545dd988eb6c9dd2eae5b7929
tree108eb44fb2937479b7c5e47aede3b4ea578af5c6
parent15da98365388983eb9ef1a65c2e7da6ef2ab89e0
nir: use nir_var_all to get rid of casting

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6520>
src/compiler/glsl/glsl_to_nir.cpp