mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
docs: use option-directive
These arguments misrenders, and gets rendered using a long hyphen instead of double dashes. Let's fix this by using the Sphinx option-directive, which is meant for exactly this purpose instead. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39286>
This commit is contained in:
parent
0b76d0a70b
commit
6293137d77
1 changed files with 23 additions and 6 deletions
|
|
@ -150,13 +150,30 @@ emit :ext:`GL_ARB_vertex_program`-style instructions:
|
|||
|
||||
Options include
|
||||
|
||||
- **--dump-ast** - dump source syntax tree
|
||||
- **--dump-hir** - dump high-level IR code
|
||||
- **--dump-lir** - dump low-level IR code
|
||||
- **--link** - link shaders
|
||||
- **--just-log** - display only shader / linker info if exist, without
|
||||
.. option:: --dump-ast
|
||||
|
||||
dump source syntax tree
|
||||
|
||||
.. option:: --dump-hir
|
||||
|
||||
dump high-level IR code
|
||||
|
||||
.. option:: --dump-lir
|
||||
|
||||
dump low-level IR code
|
||||
|
||||
.. option:: --link
|
||||
|
||||
link shaders
|
||||
|
||||
.. option:: --just-log
|
||||
|
||||
display only shader / linker info if exist, without
|
||||
any header or separator
|
||||
- **--version** - [Mandatory] define the GLSL version to use
|
||||
|
||||
.. option:: --version
|
||||
|
||||
[Mandatory] define the GLSL version to use
|
||||
|
||||
Compiler Implementation
|
||||
-----------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue