summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index 471e19b43d..cb153be77d 100644
--- a/ir.h
+++ b/ir.h
@@ -151,6 +151,12 @@ public:
unsigned read_only:1;
unsigned centroid:1;
unsigned invariant:1;
+ /** If the variable is initialized outside of the scope of the shader */
+ unsigned shader_in:1;
+ /**
+ * If the variable value is later used outside of the scope of the shader.
+ */
+ unsigned shader_out:1;
unsigned mode:3;
unsigned interpolation:2;