nir: handle 64-bit integer types in glsl->nir type conversion.
authorDave Airlie <airlied@redhat.com>
Wed, 15 Feb 2017 08:26:46 +0000 (18:26 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 16 Feb 2017 04:13:14 +0000 (14:13 +1000)
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/nir/nir.h

index 8bbc41d326e5e4734de5bae17ec3592e65b680f2..d92e6eb110986bb8413a49d59eb90f9be69176b9 100644 (file)
@@ -688,6 +688,12 @@ nir_get_nir_type_for_glsl_type(const struct glsl_type *type)
    case GLSL_TYPE_INT:
       return nir_type_int32;
       break;
+   case GLSL_TYPE_UINT64:
+      return nir_type_uint64;
+      break;
+   case GLSL_TYPE_INT64:
+      return nir_type_int64;
+      break;
    case GLSL_TYPE_FLOAT:
       return nir_type_float32;
       break;