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 <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig 2019-07-12 08:41:13 -07:00
parent e173d6b1b1
commit 9eea8423a0
1 changed files with 1 additions and 1 deletions

View File

@ -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;