summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_tree_grafting.cpp
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-08-27 23:03:46 -0400
committerIlia Mirkin <[email protected]>2015-09-10 17:38:29 -0400
commitf9052914e979228d28502a7f7953f98ff4731f99 (patch)
tree5e7025e5de5eb58f93e6ab9f0df9dae16e4521bc /src/glsl/opt_tree_grafting.cpp
parent6efae687b7ef46eb1f738f1bc2acbde1805e364b (diff)
glsl: add ir_texture_samples texture opcode
Will be used for textureSamples() Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/opt_tree_grafting.cpp')
-rw-r--r--src/glsl/opt_tree_grafting.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/opt_tree_grafting.cpp b/src/glsl/opt_tree_grafting.cpp
index 7f2ee6cee34..a7a219c55ca 100644
--- a/src/glsl/opt_tree_grafting.cpp
+++ b/src/glsl/opt_tree_grafting.cpp
@@ -274,6 +274,7 @@ ir_tree_grafting_visitor::visit_enter(ir_texture *ir)
case ir_tex:
case ir_lod:
case ir_query_levels:
+ case ir_texture_samples:
break;
case ir_txb:
if (do_graft(&ir->lod_info.bias))