From: Alyssa Rosenzweig Date: Fri, 12 Jul 2019 15:41:13 +0000 (-0700) Subject: panfrost/midgard: Use generic outmod type X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9eea8423a0da2f64691e6f23507cbd9ff4eb9a08;p=mesa.git 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 --- 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;