glsl/linker: add DisableTransformFeedbackPacking workaround
[mesa.git] / src / compiler / glsl / ir.h
index 6d79d42af45d974b8a6e0c8f73bac11070752e28..cd1c53c29e7a94dafc3ca915e13d744537f77d35 100644 (file)
@@ -766,6 +766,13 @@ public:
        */
       unsigned is_unmatched_generic_inout:1;
 
+      /**
+       * Is this varying used by transform feedback?
+       *
+       * This is used by the linker to decide if it's safe to pack the varying.
+       */
+      unsigned is_xfb:1;
+
       /**
        * Is this varying used only by transform feedback?
        *