summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index a04b688894..04ecb582e4 100644
--- a/ir.h
+++ b/ir.h
@@ -177,6 +177,16 @@ public:
return var;
}
+ /**
+ * Get the string value for the interpolation qualifier
+ *
+ * \return
+ * If none of \c shader_in or \c shader_out is set, an empty string will
+ * be returned. Otherwise the string that would be used in a shader to
+ * specify \c mode will be returned.
+ */
+ const char *interpolation_string() const;
+
const char *name;
/**