lima/gpir: implement nir_op_fmov
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 4 May 2019 14:51:00 +0000 (07:51 -0700)
committerQiang Yu <yuq825@gmail.com>
Tue, 7 May 2019 01:07:27 +0000 (01:07 +0000)
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/ir/gp/nir.c

index f95957e8892ff3166047f81ca2e7365c3393c8b5..b12d93ff9e49a2467a95d870231d609516956cb5 100644 (file)
@@ -119,6 +119,7 @@ static int nir_to_gpir_opcodes[nir_num_opcodes] = {
    [nir_op_fand] = gpir_op_min,
    [nir_op_for] = gpir_op_max,
    [nir_op_fabs] = gpir_op_abs,
+   [nir_op_fmov] = gpir_op_mov,
 };
 
 static bool gpir_emit_alu(gpir_block *block, nir_instr *ni)