mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-15 00:50:18 +01:00
nir: add shader_info::io_lowered
This will drive decisions in many NIR passes and st/mesa. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6442>
This commit is contained in:
parent
844167d100
commit
4d36dceeab
1 changed files with 5 additions and 0 deletions
|
|
@ -193,6 +193,11 @@ typedef struct shader_info {
|
|||
/* Whether flrp has been lowered. */
|
||||
bool flrp_lowered:1;
|
||||
|
||||
/* Whether nir_lower_io has been called to lower derefs.
|
||||
* nir_variables for inputs and outputs might not be present in the IR.
|
||||
*/
|
||||
bool io_lowered:1;
|
||||
|
||||
/* Whether the shader writes memory, including transform feedback. */
|
||||
bool writes_memory:1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue