nir/lower_variable_initializers: Restrict the modes we lower
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 21 Jul 2020 23:46:24 +0000 (18:46 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jul 2020 17:38:58 +0000 (17:38 +0000)
commitc256cd900e71a44490ed8a248ebc0c7f1abc38c5
treed319342992ebbaf03d36c1ffe2fa2b79d3c4c632
parent4d7e064623ea4db1e5e18e18b0bb958462054ed3
nir/lower_variable_initializers: Restrict the modes we lower

This is not a functional change because these are the only modes we
handle.  All others get silently ignored.

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