summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-06-03 15:07:34 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-06-09 11:14:57 -0700
commit56d3f6ad782e9819b40544494826954d3fcf978b (patch)
tree8a20d5ca82e423d6d775aa358288c1655610f2ef /ir.h
parentdd5b4a544bd53f192cc86441f4e7e95d93707382 (diff)
Set the type of ir_texture properly; infer it from the sampler type.
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.
*/