i965/fs: Add support for nir_op_[iu]642f
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 8 Feb 2017 12:18:59 +0000 (13:18 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 9 Feb 2017 09:18:34 +0000 (10:18 +0100)
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99660
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp

index a063659..f0ab285 100644 (file)
@@ -689,6 +689,8 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr)
    case nir_op_d2f:
    case nir_op_d2i:
    case nir_op_d2u:
+   case nir_op_i642f:
+   case nir_op_u642f:
       if (instr->op == nir_op_b2i64) {
          bld.MOV(result, negate(op[0]));
       } else {