summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-02-15 18:26:46 +1000
committerDave Airlie <[email protected]>2017-02-16 14:13:14 +1000
commitadb9555794e88c98c6c493c588307edfdadf5af3 (patch)
treef3e11e1ecaf9e327caaf0741d4ce1306b8648ee7 /src
parent14167080e2aaee0289e39b22a09d459c4a383a99 (diff)
nir: handle 64-bit integer types in glsl->nir type conversion.
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/compiler/nir/nir.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 8bbc41d326e..d92e6eb1109 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -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;