nir: Add explicitly sized types
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 May 2015 16:21:23 +0000 (09:21 -0700)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 17 Mar 2016 10:16:33 +0000 (11:16 +0100)
commit78f19194295e3ea3cf219c15bf67dcab5dea4a34
treea8ba25d05d9aad8c8d2e194bbc6c6f8599e43df0
parent7d021cb15e6d67ecef8b020fd36c4a680bcc9c39
nir: Add explicitly sized types

v2: Fix size/type mask to properly handle 8-bit types.

v3: Add helpers to get the bitsize and base type of a
nir_alu_type enum.

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/compiler/nir/nir.h