summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index a286e7b932..33ce4a04c3 100644
--- a/ir.h
+++ b/ir.h
@@ -787,6 +787,9 @@ public:
*/
const char *opcode_string();
+ /** Set the sampler and infer the type. */
+ void set_sampler(ir_dereference *sampler);
+
/**
* Do a reverse-lookup to translate a string into an ir_texture_opcode.
*/