nir/lower_two_sided_color: Use nir_variable_create
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 21 Jul 2020 16:18:29 +0000 (11:18 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jul 2020 17:38:58 +0000 (17:38 +0000)
commitd0d5ef6139880c683642958394de7b9d72f09544
tree733685baa54cbfab9fecec5359a180f0b81a2347
parentbb3994cfe7db48f5b8b42d6c480653a2d4a051a1
nir/lower_two_sided_color: Use nir_variable_create

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5966>
src/compiler/nir/nir_lower_two_sided_color.c