[Mesa-dev] [PATCH 2/3] nir: handle 64-bit integer types in glsl->nir type conversion.
Samuel Iglesias Gonsálvez
siglesias at igalia.com
Wed Feb 15 13:39:42 UTC 2017
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
On Wed, 2017-02-15 at 18:43 +1000, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
> src/compiler/nir/nir.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
> index 8bbc41d..d92e6eb 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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170215/28844b42/attachment.sig>
More information about the mesa-dev
mailing list