diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-12 08:41:13 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-07-12 16:23:52 -0700 |
commit | 9eea8423a0da2f64691e6f23507cbd9ff4eb9a08 (patch) | |
tree | df59e84e74a33e947161bf8914ff7acf3e509dfe /src/panfrost/midgard/midgard.h | |
parent | e173d6b1b13b24860d5948c386f629aaaf53f862 (diff) |
panfrost/midgard: Use generic outmod type
It could be midgard_outmod_float or midgard_outmod_int; don't assume
it's one or the other. Fixes -Wenum-conversion warnings.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/midgard.h')
-rw-r--r-- | src/panfrost/midgard/midgard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard.h b/src/panfrost/midgard/midgard.h index 5953214c599..311f3bc043a 100644 --- a/src/panfrost/midgard/midgard.h +++ b/src/panfrost/midgard/midgard.h @@ -248,7 +248,7 @@ __attribute__((__packed__)) unsigned src1 : 13; unsigned src2 : 13; midgard_dest_override dest_override : 2; - midgard_outmod_float outmod : 2; + unsigned outmod : 2; unsigned mask : 8; } midgard_vector_alu; |