diff options
author | Jason Ekstrand <[email protected]> | 2017-04-14 14:41:43 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-04-16 20:14:42 -0700 |
commit | 4cf079f7f231bbbf18cb6952ba0de90d9f378ebb (patch) | |
tree | 5c04ba5212bb1096ab11c987bec9d5129a7a4965 | |
parent | 2769dadb0fafdbafc98630fdf96924a3bb209ab7 (diff) |
nir: Add GLSL_TYPE_[U]INT64 to some switch statements
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
-rw-r--r-- | src/compiler/nir/nir.c | 2 | ||||
-rw-r--r-- | src/compiler/nir/nir_split_var_copies.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.c b/src/compiler/nir/nir.c index 43fa60f0b6e..0abf9b6212e 100644 --- a/src/compiler/nir/nir.c +++ b/src/compiler/nir/nir.c @@ -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: diff --git a/src/compiler/nir/nir_split_var_copies.c b/src/compiler/nir/nir_split_var_copies.c index 58c787342f9..15a185ec8d8 100644 --- a/src/compiler/nir/nir_split_var_copies.c +++ b/src/compiler/nir/nir_split_var_copies.c @@ -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: |