From 1628c144a98b5bac11571fbdbb12538ce60dcd2a Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 30 Apr 2020 14:33:11 -0400 Subject: [PATCH] pan/mdg: Rename .one to .sat_signed Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/midgard/disassemble.c | 2 +- src/panfrost/midgard/midgard.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2