pan/mdg: Rename .one to .sat_signed

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4852>
This commit is contained in:
Alyssa Rosenzweig
2020-04-30 14:33:11 -04:00
committed by Marge Bot
parent f47c60b411
commit 1628c144a9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ print_reg(FILE *fp, unsigned reg, unsigned bits)
static char *outmod_names_float[4] = {
"",
".pos",
".one",
".sat_signed",
".sat"
};
+1 -1
View File
@@ -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;