nir/load_const_to_scalar: Get rid of a bit size switch statement
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 27 Mar 2019 23:31:01 +0000 (18:31 -0500)
committerKarol Herbst <kherbst@redhat.com>
Sun, 14 Apr 2019 20:25:56 +0000 (22:25 +0200)
commitc4b28d1730e9322821847a94bac2ee4ac60d8617
tree8527cadd19f2b77a7bb66d93b052945c7046e201
parent893dd34702ca576707960b87045adb494ef9434d
nir/load_const_to_scalar: Get rid of a bit size switch statement

Now that nir_const_value is a scalar, we don't need the switch on bit
size in order to pluck off components properly.

Reviewed-by: Karol Herbst <kherbst@redhat.com>
src/compiler/nir/nir_lower_load_const_to_scalar.c