nir/constant_folding: Get rid of a bit size switch statement
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 27 Mar 2019 23:27:39 +0000 (18:27 -0500)
committerKarol Herbst <kherbst@redhat.com>
Sun, 14 Apr 2019 20:25:56 +0000 (22:25 +0200)
commitb8197a01a96f5d15268ee5bab28637058f2f962a
tree8608443acd67d25be64223e97313bfe5085862de
parent14531d676b11999123c04fb7569ab80c9f150180
nir/constant_folding: 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 swizzle them properly.

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