From: Alyssa Rosenzweig Date: Mon, 13 Apr 2020 19:55:45 +0000 (-0400) Subject: pan/bi: Set BI_ROUNDMODE for BI_CONVERT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0cf8b977c94e2bab0ccc91bb8bad91e2bb71358;p=mesa.git pan/bi: Set BI_ROUNDMODE for BI_CONVERT It's rarely used in GL but converts do have roundmodes. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/bifrost/bi_tables.c b/src/panfrost/bifrost/bi_tables.c index 7e9c90327f1..349521b4b4d 100644 --- a/src/panfrost/bifrost/bi_tables.c +++ b/src/panfrost/bifrost/bi_tables.c @@ -34,7 +34,7 @@ unsigned bi_class_props[BI_NUM_CLASSES] = { [BI_BLEND] = BI_SCHED_HI_LATENCY | BI_SCHED_ADD | BI_VECTOR | BI_DATA_REG_SRC, [BI_BITWISE] = BI_GENERIC | BI_SCHED_ALL, [BI_COMBINE] = 0, - [BI_CONVERT] = BI_SCHED_ALL | BI_SWIZZLABLE, + [BI_CONVERT] = BI_SCHED_ALL | BI_SWIZZLABLE | BI_ROUNDMODE, [BI_CSEL] = BI_SCHED_FMA, [BI_DISCARD] = BI_SCHED_HI_LATENCY | BI_SCHED_ADD, [BI_FMA] = BI_ROUNDMODE | BI_SCHED_FMA | BI_MODS,