diff options
author | Karol Herbst <[email protected]> | 2018-04-26 21:06:08 +0200 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2018-07-24 20:40:05 +0200 |
commit | 7f95564a22d11ee3f54915ee02f9fa1f78c6adcf (patch) | |
tree | 81c6b13651bd7f88acec7b1a7e470491a984da72 /src/intel | |
parent | 2083cfb6eba9a9e7441c44fa0c8402dbc216eb3a (diff) |
nir: rename f2f16_undef to f2f16
we need rounding modes on other conversions involving floats and it is easier
to rename f2f16_undef than renaming all the other ones.
v2: rebased on master
Reviewed-by: Jason Ekstrand <[email protected]>
Acked-by: Rob Clark <[email protected]>
Signed-off-by: Karol Herbst <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/compiler/brw_fs_nir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp index e983110027f..9b11b5fbd01 100644 --- a/src/intel/compiler/brw_fs_nir.cpp +++ b/src/intel/compiler/brw_fs_nir.cpp @@ -787,7 +787,7 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr) * BRW_OPCODE_F32TO16 when/if we work for HF support on gen7. */ - case nir_op_f2f16_undef: + case nir_op_f2f16: inst = bld.MOV(result, op[0]); inst->saturate = instr->dest.saturate; break; |