nir/algebraic: Move some generated-code algebraic opt args into a struct.
authorEmma Anholt <emma@anholt.net>
Mon, 29 Nov 2021 21:57:19 +0000 (13:57 -0800)
committerMarge Bot <emma+marge@anholt.net>
Tue, 7 Dec 2021 07:08:59 +0000 (07:08 +0000)
commita263474d3b4aaa52bbf171eb7729fc6e06e4e92e
treeb23de56e4d0ca07d2a506de5961363df943a7708
parent4b5692fa7185b1380c51247583e08feba0b2c6eb
nir/algebraic: Move some generated-code algebraic opt args into a struct.

I'm going to be adding some more tables to reduce relocations in the
generated code, so move the current tables to a struct for arg-passing
sanity.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13987>
src/compiler/nir/nir_algebraic.py
src/compiler/nir/nir_search.c
src/compiler/nir/nir_search.h