[Mesa-dev] [PATCH 2/7] i965/fs: Add support for nir_op_[iu]642d

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


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

On 08/02/17 14:58, Samuel Iglesias Gonsálvez wrote:
> From: Jason Ekstrand <jason.ekstrand at intel.com>
>
> ---
>   src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
> index e0c2fa01ce3..a0636596318 100644
> --- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
> @@ -644,6 +644,8 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr)
>      switch (instr->op) {
>      case nir_op_i2f:
>      case nir_op_u2f:
> +   case nir_op_i642d:
> +   case nir_op_u642d:
>         if (optimize_extract_to_float(instr, result))
>            return;
>         inst = bld.MOV(result, op[0]);




More information about the mesa-dev mailing list