nir/lower_to_source_mods: Handle different bit sizes
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 6 Nov 2015 10:19:58 +0000 (11:19 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 11 Apr 2016 06:27:04 +0000 (08:27 +0200)
commit12f628adcbe2f87073fb06f98a98414b898cde5d
tree5cd984c95df4d92bfba29ea587ff5d23b94cb99b
parent3663a2397e47da9b766b0c4239a8b74ac77b5d04
nir/lower_to_source_mods: Handle different bit sizes

v2 (Sam):
- Use helper to get base type from nir_alu_type.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_lower_to_source_mods.c