mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
nir: Document the flatten/dont_flatten selection control options.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Reviewed-By: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17921>
This commit is contained in:
parent
ea6e69bb2b
commit
a2ec843727
1 changed files with 10 additions and 0 deletions
|
|
@ -2813,7 +2813,17 @@ nir_block_last_phi_instr(nir_block *block)
|
|||
|
||||
typedef enum {
|
||||
nir_selection_control_none = 0x0,
|
||||
|
||||
/**
|
||||
* Defined by SPIR-V spec 3.22 "Selection Control".
|
||||
* The application prefers to remove control flow.
|
||||
*/
|
||||
nir_selection_control_flatten = 0x1,
|
||||
|
||||
/**
|
||||
* Defined by SPIR-V spec 3.22 "Selection Control".
|
||||
* The application prefers to keep control flow.
|
||||
*/
|
||||
nir_selection_control_dont_flatten = 0x2,
|
||||
} nir_selection_control;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue