docs: Include ALU opcode descriptions
If we have a description for an ALU opcode in NIR, include it with our generated HTML documentation so people don't need to go to nir_opcodes.py anyway because the documentation is missing the documentation ;-) Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Acked-by: Jesse Natalie <jenatali@microsoft.com> Tested-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22929>
This commit is contained in:
committed by
Marge Bot
parent
bd466195b9
commit
86a053f7b9
@@ -58,6 +58,8 @@ def to_yn(b):
|
||||
- ${to_yn('associative' in op.algebraic_properties)}
|
||||
- ${to_yn('2src_commutative' in op.algebraic_properties)}
|
||||
|
||||
${("**Description:** " + op.description) if op.description != "" else ""}
|
||||
|
||||
**Constant-folding:**
|
||||
|
||||
.. code-block:: c
|
||||
|
||||
Reference in New Issue
Block a user