From: Rob Clark Date: Fri, 13 May 2016 19:26:15 +0000 (-0400) Subject: nir: fix comment typo about f2d/d2f X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b24f7b440f80cc2cba272b3b479ddd14a07602b;p=mesa.git nir: fix comment typo about f2d/d2f Signed-off-by: Rob Clark Reviewed-by: Kenneth Graunke --- diff --git a/src/compiler/nir/nir_opcodes.py b/src/compiler/nir/nir_opcodes.py index 54ea720b98d..8a3a80f13d8 100644 --- a/src/compiler/nir/nir_opcodes.py +++ b/src/compiler/nir/nir_opcodes.py @@ -177,8 +177,8 @@ unop_convert("b2i", tint32, tbool, "src0 ? 1 : 0") # Boolean-to-int conversion unop_convert("u2f", tfloat32, tuint32, "src0") # Unsigned-to-float conversion. unop_convert("u2d", tfloat64, tuint32, "src0") # Unsigned-to-double conversion. # double-to-float conversion -unop_convert("d2f", tfloat32, tfloat64, "src0") # Single to double precision -unop_convert("f2d", tfloat64, tfloat32, "src0") # Double to single precision +unop_convert("d2f", tfloat32, tfloat64, "src0") # Double to single precision +unop_convert("f2d", tfloat64, tfloat32, "src0") # Single to double precision # Unary floating-point rounding operations.