summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-09-01 14:11:32 -0700
committerIan Romanick <[email protected]>2017-01-20 15:41:23 -0800
commit48e122244b05415204ef28107286d099f17da56b (patch)
tree3c3c2a7608e84cc967093540b736967bbfa7c5de
parent81952814a37ecdbf112454eb7cb0cec090887a8a (diff)
nir: Add GLSL_TYPE_INT64 and GLSL_TYPE_UINT64 to glsl_get_bit_size
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Connor Abbott <[email protected]>
-rw-r--r--src/compiler/nir_types.h2
1 files changed, 2 insertions, 0 deletions
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: