nir: Add GLSL_TYPE_[U]INT64 to some switch statements
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 14 Apr 2017 21:41:43 +0000 (14:41 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 17 Apr 2017 03:14:42 +0000 (20:14 -0700)
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/compiler/nir/nir.c
src/compiler/nir/nir_split_var_copies.c

index 43fa60f0b6eb1731c008cb17b679c5196598d0dc..0abf9b6212e4fd4497a6e62f600b56f406fed357 100644 (file)
@@ -699,7 +699,9 @@ deref_foreach_leaf_build_recur(nir_deref_var *deref, nir_deref *tail,
    assert(tail->child == NULL);
    switch (glsl_get_base_type(tail->type)) {
    case GLSL_TYPE_UINT:
+   case GLSL_TYPE_UINT64:
    case GLSL_TYPE_INT:
+   case GLSL_TYPE_INT64:
    case GLSL_TYPE_FLOAT:
    case GLSL_TYPE_DOUBLE:
    case GLSL_TYPE_BOOL:
index 58c787342f9ea4fc3c4d540f6328d148aaecdec7..15a185ec8d8d068585c1331857458a84c7a7f6a1 100644 (file)
@@ -147,7 +147,9 @@ split_var_copy_instr(nir_intrinsic_instr *old_copy,
       break;
 
    case GLSL_TYPE_UINT:
+   case GLSL_TYPE_UINT64:
    case GLSL_TYPE_INT:
+   case GLSL_TYPE_INT64:
    case GLSL_TYPE_FLOAT:
    case GLSL_TYPE_DOUBLE:
    case GLSL_TYPE_BOOL: