i965/fs: implement i2d and u2d
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 12 Jan 2016 13:08:57 +0000 (14:08 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 10 May 2016 09:25:08 +0000 (11:25 +0200)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp

index 1d5909a..c4e1068 100644 (file)
@@ -724,6 +724,8 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr)
          return;
 
    case nir_op_f2d:
+   case nir_op_i2d:
+   case nir_op_u2d:
    case nir_op_d2f:
    case nir_op_d2i:
    case nir_op_d2u: