nir: handle 64-bit integer types in glsl->nir type conversion.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie
2017-02-15 18:26:46 +10:00
parent 14167080e2
commit adb9555794

View 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;