panfrost: Set the RT index when emitting a Bifrost blend descriptor

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8417>
This commit is contained in:
Boris Brezillon 2021-01-08 19:14:03 +01:00 committed by Marge Bot
parent 2085381432
commit 372a3a1410

View file

@ -324,6 +324,7 @@ panfrost_emit_bifrost_blend(struct panfrost_batch *batch,
panfrost_format_to_bifrost_blend(dev, format_desc, true);
cfg.bifrost.internal.fixed_function.conversion.register_format =
fs->blend_types[i];
cfg.bifrost.internal.fixed_function.rt = i;
}
}
}