pan/mdg: Rename .one to .sat_signed
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 30 Apr 2020 18:33:11 +0000 (14:33 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 1 May 2020 18:26:36 +0000 (18:26 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4852>

src/panfrost/midgard/disassemble.c
src/panfrost/midgard/midgard.h

index ddcd41706af348ebbf75d29626271d0fd577bc89..2a8e6c7ce94e52321ce5b09677dc18737c1440c2 100644 (file)
@@ -162,7 +162,7 @@ print_reg(FILE *fp, unsigned reg, unsigned bits)
 static char *outmod_names_float[4] = {
         "",
         ".pos",
-        ".one",
+        ".sat_signed",
         ".sat"
 };
 
index b270fd2a8233f9a273e5931fc3b04b1a77569690..aae81671449fc88da572b1f0b0cda6475d50cb41 100644 (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;