From: Alyssa Rosenzweig Date: Thu, 30 Apr 2020 18:33:11 +0000 (-0400) Subject: pan/mdg: Rename .one to .sat_signed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1628c144a98b5bac11571fbdbb12538ce60dcd2a;p=mesa.git pan/mdg: Rename .one to .sat_signed Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/midgard/disassemble.c b/src/panfrost/midgard/disassemble.c index ddcd41706af..2a8e6c7ce94 100644 --- a/src/panfrost/midgard/disassemble.c +++ b/src/panfrost/midgard/disassemble.c @@ -162,7 +162,7 @@ print_reg(FILE *fp, unsigned reg, unsigned bits) static char *outmod_names_float[4] = { "", ".pos", - ".one", + ".sat_signed", ".sat" }; diff --git a/src/panfrost/midgard/midgard.h b/src/panfrost/midgard/midgard.h index b270fd2a823..aae81671449 100644 --- a/src/panfrost/midgard/midgard.h +++ b/src/panfrost/midgard/midgard.h @@ -208,7 +208,7 @@ typedef enum { typedef enum { midgard_outmod_none = 0, midgard_outmod_pos = 1, /* max(x, 0.0) */ - midgard_outmod_one = 2, /* clamp(x, -1.0, 1.0) */ + midgard_outmod_sat_signed = 2, /* clamp(x, -1.0, 1.0) */ midgard_outmod_sat = 3 /* clamp(x, 0.0, 1.0) */ } midgard_outmod_float;