nir: Make ALU descriptions machine-readable
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 9 May 2023 21:10:24 +0000 (17:10 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 12 May 2023 12:11:38 +0000 (12:11 +0000)
commitbd466195b9314997936fe6ea98e4d9eb3aa49eae
tree0643c97314b6a0d82432d6a21f6852c081c2975e
parent6b4f00a3acf1f0f2c414f4d33b2a47ae97bd60d4
nir: Make ALU descriptions machine-readable

We already document a lot of ALU opcodes, let's make this machine-readable so we
can put the descriptions in our generated HTML documentation.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22929>
src/compiler/nir/nir_opcodes.py