summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index 7db617d65b..bbf53540db 100644
--- a/ir.h
+++ b/ir.h
@@ -398,6 +398,13 @@ public:
v->visit(this);
}
+ /**
+ * Setting the swizzle of a derefernce
+ */
+ void set_swizzle(unsigned x, unsigned y, unsigned z, unsigned w,
+ unsigned count);
+
+
enum {
ir_reference_variable,
ir_reference_array,