spirv: Drop some unneeded bit size switch statements
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 27 Mar 2019 23:28:30 +0000 (18:28 -0500)
committerKarol Herbst <kherbst@redhat.com>
Sun, 14 Apr 2019 20:25:56 +0000 (22:25 +0200)
commit893dd34702ca576707960b87045adb494ef9434d
treefeacdd2bda1790bc309491be011315607b1573e5
parentb8197a01a96f5d15268ee5bab28637058f2f962a
spirv: Drop some unneeded bit size switch statements

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

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