summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_tree_grafting.cpp
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2013-09-26 19:37:30 +1200
committerChris Forbes <[email protected]>2013-10-05 19:16:32 +1300
commit7a4754d7d961b06652cc940c37c4f87a9111dc2a (patch)
tree54e3d8cdf02806dc1502babd4e41ec4878ad2d24 /src/glsl/opt_tree_grafting.cpp
parent6ce4e7672ed4ca2afe47ca5236f3444d4bc83a4e (diff)
glsl: add plumbing for GL_ARB_texture_query_levels
Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Matt Turner <[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 03b920d8a2f..bbdc4375983 100644
--- a/src/glsl/opt_tree_grafting.cpp
+++ b/src/glsl/opt_tree_grafting.cpp
@@ -276,6 +276,7 @@ ir_tree_grafting_visitor::visit_enter(ir_texture *ir)
case ir_tex:
case ir_lod:
case ir_tg4:
+ case ir_query_levels:
break;
case ir_txb:
if (do_graft(&ir->lod_info.bias))