[Mesa-dev] [PATCH 3/7] i965/fs: legalize [u]int64 to 32-bit data conversions in lower_d2x

Lionel Landwerlin lionel.g.landwerlin at intel.com
Wed Feb 8 15:18:57 UTC 2017


Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

On 08/02/17 14:58, Samuel Iglesias Gonsálvez wrote:
> Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99660
> ---
>   src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp b/src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp
> index 9a8aabf8487..a2db1154615 100644
> --- a/src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp
> @@ -41,7 +41,9 @@ fs_visitor::lower_d2x()
>             inst->dst.type != BRW_REGISTER_TYPE_UD)
>            continue;
>   
> -      if (inst->src[0].type != BRW_REGISTER_TYPE_DF)
> +      if (inst->src[0].type != BRW_REGISTER_TYPE_DF &&
> +          inst->src[0].type != BRW_REGISTER_TYPE_UQ &&
> +          inst->src[0].type != BRW_REGISTER_TYPE_Q)
>            continue;
>   
>         assert(inst->dst.file == VGRF);




More information about the mesa-dev mailing list