nir: add and gather shader_info::writes_memory
[mesa.git] / src / compiler / shader_info.h
index 19a963d62f3a5fc87396ad62f68485fbee9d2a4a..fcd235112a06c5b7a2a8b5208702bb6687842c88 100644 (file)
@@ -179,6 +179,9 @@ typedef struct shader_info {
    /* Whether flrp has been lowered. */
    bool flrp_lowered:1;
 
+   /* Whether the shader writes memory, including transform feedback. */
+   bool writes_memory:1;
+
    union {
       struct {
          /* Which inputs are doubles */