nir: Add GLSL_TYPE_INT64 and GLSL_TYPE_UINT64 to glsl_get_bit_size
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 1 Sep 2016 21:11:32 +0000 (14:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 20 Jan 2017 23:41:23 +0000 (15:41 -0800)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/nir_types.h

index 9088a064cf75bc008edf3bc95d08416409e78e66..cafb8c1829447d9aea63abdad4c5d76fea7615d1 100644 (file)
@@ -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: