From: Ian Romanick Date: Thu, 1 Sep 2016 21:11:32 +0000 (-0700) Subject: nir: Add GLSL_TYPE_INT64 and GLSL_TYPE_UINT64 to glsl_get_bit_size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48e122244b05415204ef28107286d099f17da56b;p=mesa.git nir: Add GLSL_TYPE_INT64 and GLSL_TYPE_UINT64 to glsl_get_bit_size Signed-off-by: Ian Romanick Reviewed-by: Connor Abbott --- diff --git a/src/compiler/nir_types.h b/src/compiler/nir_types.h index 9088a064cf7..cafb8c18294 100644 --- a/src/compiler/nir_types.h +++ b/src/compiler/nir_types.h @@ -92,6 +92,8 @@ glsl_get_bit_size(const struct glsl_type *type) return 32; case GLSL_TYPE_DOUBLE: + case GLSL_TYPE_INT64: + case GLSL_TYPE_UINT64: return 64; default: