54ccc8ed0b
This pulls out the logicop_func variable from the options struct, so we can modify it in the next commit in a central place. It then refactors out the format variable from the options struct since we end up duplicating options->format[rt] a zillion times and passing in both an options struct and a logicop func override is confusing so this will just make everything neater and self-contained next commit. no functional change. Cc'd to make the next commit cherrypickable. Cc: mesa-stable Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34426>