From 48e122244b05415204ef28107286d099f17da56b Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 1 Sep 2016 14:11:32 -0700 Subject: [PATCH] nir: Add GLSL_TYPE_INT64 and GLSL_TYPE_UINT64 to glsl_get_bit_size Signed-off-by: Ian Romanick Reviewed-by: Connor Abbott --- src/compiler/nir_types.h | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.30.2